Skip to content

Commit

Permalink
Merge pull request #96 from mash-up-kr/qa/sign
Browse files Browse the repository at this point in the history
QA/sign
  • Loading branch information
julia0926 authored Sep 1, 2022
2 parents 7b60ef3 + d3bc13b commit a5d9ba6
Show file tree
Hide file tree
Showing 8 changed files with 166 additions and 166 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ extension NicknameSettingViewController {
}

@objc func keyboardWillShow(_ sender: Notification) {
let keyboardButtonSpace: Int = 20
let keyboardButtonSpace: Int = 10
if let keyboardSize = (sender.userInfo?[UIResponder.keyboardFrameEndUserInfoKey] as? NSValue)?.cgRectValue {
UIView.animate(withDuration: 0.3, animations: {
self.buttomBottomConstraint.constant = CGFloat(keyboardButtonSpace) + keyboardSize.height
Expand Down
138 changes: 69 additions & 69 deletions DoriDori_iOS/DoriDori_iOS/Scene/Profile/Profile.storyboard

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ extension ProfileIntroViewController {
}

@objc func keyboardWillShow(_ sender: Notification) {
let keyboardButtonSpace: Int = 20
let keyboardButtonSpace: Int = 10
if let keyboardSize = (sender.userInfo?[UIResponder.keyboardFrameEndUserInfoKey] as? NSValue)?.cgRectValue {
UIView.animate(withDuration: 0.3, animations: {
self.buttonBottomConstraint.constant = CGFloat(keyboardButtonSpace) + keyboardSize.height
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ final class ProfileKeywordSettingViewController: UIViewController {
@IBOutlet private weak var navigationBackButton: UIButton!

private let keywordLimit: Int = 3
private let keyboardUpButtomConstraint: CGFloat = 20
private let keyboardUpButtomConstraint: CGFloat = 10
private let keyboardDownButtomConstraint: CGFloat = 54
private let keywordCount: BehaviorRelay<Int> = .init(value: 1)
private let buttonIsEnable: BehaviorRelay<Bool> = .init(value: false)
Expand Down Expand Up @@ -97,7 +97,7 @@ final class ProfileKeywordSettingViewController: UIViewController {

output.profileOutput.drive(onNext: { [weak self] _ in
// TODO: 위치정보 허락 여부
self?.keywordTextField.textField.resignFirstResponder()
self?.navigationController?.navigationBar.isHidden = true
guard let sceneDelegate = UIApplication.shared.connectedScenes.first?.delegate as? SceneDelegate,
var window = sceneDelegate.window else { return }
window = CompositionRoot.resolve(window: window, appStart: .home).window
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ extension EmailSignInViewController {
@objc func keyboardWillShow(_ sender: Notification) {
if let keyboardSize = (sender.userInfo?[UIResponder.keyboardFrameEndUserInfoKey] as? NSValue)?.cgRectValue {
UIView.animate(withDuration: 0.3, animations: {
self.loginButtomConstraint.constant = 28 + keyboardSize.height
self.loginButtomConstraint.constant = 10 + keyboardSize.height
self.view.layoutIfNeeded()
})
}
Expand Down
180 changes: 90 additions & 90 deletions DoriDori_iOS/DoriDori_iOS/Scene/Sign/SignIn.storyboard

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ extension EmailSignUpViewController {
}

@objc func keyboardWillShow(_ sender: Notification) {
let keyboardButtonSpace: Int = 20
let keyboardButtonSpace: Int = 10
if let keyboardSize = (sender.userInfo?[UIResponder.keyboardFrameEndUserInfoKey] as? NSValue)?.cgRectValue {
UIView.animate(withDuration: 0.3, animations: {
self.sendButtonButtomConstraint.constant = CGFloat(keyboardButtonSpace) + keyboardSize.height
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ extension PasswordViewController {
}

@objc func keyboardWillShow(_ sender: Notification) {
let keyboardButtonSpace: Int = 20
let keyboardButtonSpace: Int = 10
if let keyboardSize = (sender.userInfo?[UIResponder.keyboardFrameEndUserInfoKey] as? NSValue)?.cgRectValue {
UIView.animate(withDuration: 0.3, animations: {
self.confirmButtonButtomConstraint.constant = CGFloat(keyboardButtonSpace) + keyboardSize.height
Expand Down

0 comments on commit a5d9ba6

Please sign in to comment.