Skip to content

Commit

Permalink
✨[FEAT] : #139 이메일 로그인 뷰와 연결
Browse files Browse the repository at this point in the history
  • Loading branch information
comeheredart committed Sep 13, 2021
1 parent 2a873aa commit bd9ef5c
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 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 @@ -78,6 +78,7 @@ class SNSLoginVC: UIViewController {
$0.setTitle("이메일 로그인", for: .normal)
$0.setTitleColor(.gray30, for: .normal)
$0.titleLabel?.font = UIFont.notoSansMediumFont(ofSize: 14)
$0.addTarget(self, action: #selector(goToEmailLoginVC), for: .touchUpInside)
}

let emailJoinBtn = UIButton().then {
Expand All @@ -87,7 +88,19 @@ class SNSLoginVC: UIViewController {
}


func configureUI() {
@objc func goToEmailLoginVC() {
let storyboard = UIStoryboard(name: "Login", bundle: nil)
let nextVC = storyboard.instantiateViewController(identifier: LoginVC.identifier)
nextVC.modalPresentationStyle = .fullScreen
self.present(nextVC, animated: true, completion: nil)
}

@objc func goToEmailJoinVC() {

}


private func configureUI() {

view.addSubviews([lookAroundBtn,
logoImageView,
Expand Down

0 comments on commit bd9ef5c

Please sign in to comment.