Skip to content

Commit

Permalink
[Feat] sopt-makers#199 - 출석 코드 초기화 메서드 구현
Browse files Browse the repository at this point in the history
  • Loading branch information
0inn committed Apr 22, 2023
1 parent 51d7a85 commit 1e3523a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@

import BaseFeatureDependency

import Domain

public protocol ShowAttendanceViewControllable: ViewControllable { }

public protocol AttendanceViewControllable: ViewControllable { }

public protocol AttendanceFeatureViewBuildable {
func makeShowAttendanceVC() -> ShowAttendanceViewControllable
func makeAttendanceVC() -> AttendanceViewControllable
func makeAttendanceVC(lectureRound: AttendanceRoundModel) -> AttendanceViewControllable
}
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,12 @@ extension AttendanceCodeView {
$0.edges.equalToSuperview()
}
}

/// 숫자 코드 초기화하는 메서드
func setCodeTextFieldEmpty() {
codeTextFields.forEach {
$0.updateUI(text: "")
}
codeTextFields[safe: 0]?.becomeFirstResponder()
}
}

0 comments on commit 1e3523a

Please sign in to comment.