Skip to content

Commit

Permalink
✅[CHORE] lazy var 삭제(#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
heerucan committed Oct 7, 2021
1 parent f26a7ea commit 7629329
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
//

import UIKit

import SnapKit
import Then

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
//

import UIKit

import SnapKit
import Then

Expand Down Expand Up @@ -56,15 +57,15 @@ class LoginVC: UIViewController {
$0.addTarget(self, action: #selector(textFieldDidChange(textField:)), for: .editingChanged)
}

lazy var signupButton = UIButton().then {
let signupButton = UIButton().then {
$0.setTitle("계정만들기", for: .normal)
$0.setTitleColor(.mainBlue, for: .normal)
$0.setTitleColor(.white, for: .highlighted)
$0.titleLabel?.font = .boldSystemFont(ofSize: 16)
$0.addTarget(self, action: #selector(touchupSignupButton(_:)), for: .touchUpInside)
}

lazy var signInButton = UIButton().then {
let signInButton = UIButton().then {
$0.isUserInteractionEnabled = false
$0.setTitle("다음", for: .normal)
$0.setTitleColor(.white, for: .normal)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
//

import UIKit

import SnapKit
import Then

Expand Down Expand Up @@ -36,7 +37,6 @@ class SignUpVC: UIViewController {
let nameTextField = UITextField().then {
$0.setTextField(placeholder: "이름을 입력해주세요", secure: false)
$0.addTarget(self, action: #selector(textFieldDidChange(textField:)), for: .editingChanged)

}

let emailTextField = UITextField().then {
Expand All @@ -60,7 +60,7 @@ class SignUpVC: UIViewController {
}
}

lazy var signupButton = UIButton().then {
let signupButton = UIButton().then {
$0.isUserInteractionEnabled = false
$0.setTitle("다음", for: .normal)
$0.setTitleColor(.white, for: .normal)
Expand Down

0 comments on commit 7629329

Please sign in to comment.