Skip to content

Commit

Permalink
모달 애니메이션 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ena-isme committed Jul 30, 2023
1 parent 4b79ea5 commit 93cd990
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
Binary file modified 1stWeek/.DS_Store
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion 2ndWeek/Assignment/Assignment/ThirdViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class ThirdViewController: UIViewController {
guard let nickname = nicknameTextField.text else { return }
firstVC.nickname = nickname

self.present(firstVC, animated: true)
self.present(firstVC, animated: false)
}

@objc func textFieldStartChange() {
Expand Down
5 changes: 4 additions & 1 deletion 2ndWeek/Assignment/Assignment/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ class ViewController: UIViewController, UIViewControllerTransitioningDelegate {
clearButton.isHidden = false
eyeButton.isHidden = false
}
else if !passwordTextField.hasText {
else {
clearButton.isHidden = true
eyeButton.isHidden = true
}
Expand All @@ -224,6 +224,9 @@ class ViewController: UIViewController, UIViewControllerTransitioningDelegate {
self.passwordTextField.text = ""
clearButton.isHidden.toggle()
eyeButton.isHidden.toggle()
loginButton.layer.backgroundColor = UIColor.label.cgColor
loginButton.layer.borderColor = UIColor.tvingGray4.cgColor
loginButton.setTitleColor(.tvingGray2, for: .normal)
}

@objc func eyeBtnTapped() {
Expand Down

0 comments on commit 93cd990

Please sign in to comment.