Skip to content

Commit 215b47a

Browse files
committed
[FEAT] : #139 비밀번호 실제로직 적용
1 parent a7d9bd5 commit 215b47a

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

ChaRo-iOS/ChaRo-iOS/Source/Views/Shared/Component/PasswordView.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ class PasswordView: UIView, UITextFieldDelegate {
1111

1212
var isFirstPassed = false
1313
var isSecondPassed = false
14+
1415
var titleLabel = UILabel().then {
1516
$0.font = .notoSansBoldFont(ofSize: 17)
1617
$0.textColor = .mainBlack

ChaRo-iOS/ChaRo-iOS/Source/Views/VCs/SignScene/JoinVC.swift

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,16 @@ class JoinVC: UIViewController {
9999
}
100100

101101
passwordView.nextButton.nextPageClosure = {
102-
self.showView(number: 3)
103-
self.moveCar(toPage: 3)
102+
if self.passwordView.passwordInputView.isFirstPassed && self.passwordView.passwordInputView.isSecondPassed {
103+
self.showView(number: 3)
104+
self.moveCar(toPage: 3)
105+
}
104106
}
105107
passwordView.stickyNextButton.nextPageClosure = {
106-
self.showView(number: 3)
107-
self.moveCar(toPage: 3)
108+
if self.passwordView.passwordInputView.isFirstPassed && self.passwordView.passwordInputView.isSecondPassed {
109+
self.showView(number: 3)
110+
self.moveCar(toPage: 3)
111+
}
108112
}
109113

110114
profileView.nextButton.nextPageClosure = {

ChaRo-iOS/ChaRo-iOS/Source/Views/VCs/SignScene/Views/JoinPasswordView.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import UIKit
99

1010
class JoinPasswordView: UIView {
1111

12+
1213
//MARK: - UI Variables
1314
let passwordInputView = PasswordView(title: "비밀번호", subTitle: "5자 이상 15자 이내의 비밀번호를 입력해주세요.")
1415
let nextButton = NextButton(isSticky: false, isTheLast: true)

0 commit comments

Comments
 (0)