Skip to content

Commit

Permalink
✨[FEAT] : #139 SNSLoginVC 연결
Browse files Browse the repository at this point in the history
  • Loading branch information
comeheredart committed Sep 13, 2021
1 parent 2cd7e97 commit 2f3a99b
Show file tree
Hide file tree
Showing 5 changed files with 61 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="17701" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="18122" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="17703"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="18093"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="System colors in document resources" minToolsVersion="11.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
Expand Down Expand Up @@ -110,6 +110,21 @@
</objects>
<point key="canvasLocation" x="-128.98550724637681" y="35.491071428571423"/>
</scene>
<!--LoginVC-->
<scene sceneID="v2F-md-1GI">
<objects>
<viewController storyboardIdentifier="SNSLoginVC" id="3Jv-cf-BbT" customClass="SNSLoginVC" customModule="ChaRo_iOS" customModuleProvider="target" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="oOG-ci-Fj3">
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<viewLayoutGuide key="safeArea" id="ng7-3D-ErC"/>
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="MYX-ef-aTk" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="672" y="35"/>
</scene>
</scenes>
<resources>
<image name="idBackgroud" width="351" height="64"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class OnBoardVC: UIViewController {

@objc func dismissAction(){
let storyboard = UIStoryboard(name: "Login", bundle: nil)
let nextVC = storyboard.instantiateViewController(identifier: LoginVC.identifier)
let nextVC = storyboard.instantiateViewController(identifier: SNSLoginVC.identifier)
nextVC.modalPresentationStyle = .fullScreen
self.present(nextVC, animated: true, completion: nil)
//self.dismiss(animated: false)
Expand Down
37 changes: 36 additions & 1 deletion ChaRo-iOS/ChaRo-iOS/Source/Views/VCs/SignScene/SNSLoginVC.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,51 @@

import UIKit
import SnapKit
import Then

class SNSLoginVC: UIViewController {

static let identifier = "SNSLoginVC"

override func viewDidLoad() {
super.viewDidLoad()

configureUI()
}

let logoImageView = UIImageView().then {
$0.image = UIImage(named: "logo")
}


func configureUI() {
view.addSubview(logoImageView)

logoImageView.snp.makeConstraints {
$0.top.leading.trailing.bottom.equalToSuperview()
}
}


// backgroundImageView.snp.makeConstraints{
// $0.top.leading.trailing.bottom.equalToSuperview()
// }
//
// backButton.snp.makeConstraints{
// $0.top.equalTo(view.safeAreaLayoutGuide).offset(1)
// $0.leading.equalTo(view.safeAreaLayoutGuide).offset(7)
// $0.height.width.equalTo(48)
// }
//
// titleLabel.snp.makeConstraints{
// $0.top.equalTo(view.safeAreaLayoutGuide).offset(14)
// $0.centerX.equalTo(view.snp.centerX)
// }
//
// userNameLabel.snp.makeConstraints{
// $0.top.equalTo(titleLabel.snp.bottom).offset(116)
// $0.leading.equalTo(view.safeAreaLayoutGuide).offset(20)
// }




Expand Down
2 changes: 2 additions & 0 deletions ChaRo-iOS/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,6 @@ target 'ChaRo-iOS' do
pod 'lottie-ios'
pod 'Kingfisher', '~> 6.0'
pod 'SwiftyJSON', '~> 4.0'
pod 'Then'

end
6 changes: 5 additions & 1 deletion ChaRo-iOS/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@ PODS:
- lottie-ios (3.2.3)
- SnapKit (5.0.1)
- SwiftyJSON (4.3.0)
- Then (2.7.0)

DEPENDENCIES:
- Alamofire (~> 5.4)
- Kingfisher (~> 6.0)
- lottie-ios
- SnapKit (~> 5.0.0)
- SwiftyJSON (~> 4.0)
- Then

SPEC REPOS:
trunk:
Expand All @@ -19,14 +21,16 @@ SPEC REPOS:
- lottie-ios
- SnapKit
- SwiftyJSON
- Then

SPEC CHECKSUMS:
Alamofire: e447a2774a40c996748296fa2c55112fdbbc42f9
Kingfisher: 6c3df386db71d82c0817a429d2c9421a77396529
lottie-ios: c058aeafa76daa4cf64d773554bccc8385d0150e
SnapKit: 97b92857e3df3a0c71833cce143274bf6ef8e5eb
SwiftyJSON: 6faa0040f8b59dead0ee07436cbf76b73c08fd08
Then: acfe0be7e98221c6204e12f8161459606d5d822d

PODFILE CHECKSUM: 2b21e385e07c07e30b4189fc8e307487dfce1903
PODFILE CHECKSUM: 0bd3d3033c8ed79274638006971de31ea7a4d041

COCOAPODS: 1.10.2

0 comments on commit 2f3a99b

Please sign in to comment.