Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Week 1 assignment - 도전, 심화 #8

Merged
merged 9 commits into from
Apr 21, 2022
Merged

Week 1 assignment - 도전, 심화 #8

merged 9 commits into from
Apr 21, 2022

Conversation

dev-jungbin
Copy link
Member

@dev-jungbin dev-jungbin commented Apr 20, 2022

🌱 작업한 내용

도전 과제

  • UITextField clear btn 추가
  • UITextField 입력 여부에 따라 다음 버튼 활성화/비활성화

심화 과제

  • TextFieldShowBtn 커스텀 Button 생성
    • 레이아웃 셋팅 함수 작성
    • target할 textfield에 show/hide 기능 적용하는 함수 작성
  • 커스텀 Button을 뷰에 올려서 적용

🌱 PR Point

  • 태현 선배... 죄송... 미래의 내가 도전 과제 할 줄 모르고 이전 Pr 머지해 버림 ㅎ

📸 스크린샷

구현 내용 스크린샷
도전 과제 Simulator Screen Recording - iPhone 13 mini - 2022-04-21 at 02 58 25
심화 과제 Simulator Screen Recording - iPhone 13 mini - 2022-04-22 at 02 13 31

📮 관련 이슈

@dev-jungbin dev-jungbin self-assigned this Apr 20, 2022
@dev-jungbin dev-jungbin changed the title Week 1 assignment - 도전 Week 1 assignment - 도전, 심화 Apr 21, 2022
Copy link

@EunHee-Jeong EunHee-Jeong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

수고하셨습니다람쥐

Comment on lines +21 to +24
override func clearButtonRect(forBounds bounds: CGRect) -> CGRect {
let originalRect = super.clearButtonRect(forBounds: bounds)
return originalRect.offsetBy(dx: -8, dy: 0)
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

오 이거 좋네요 ... 쇽샥 ...

Comment on lines -77 to +92
view.addSubviews([logoImgView, userNameTextField, passwordTextField, forgetBtn, signInBtn, noAccountLabel, signUpBtn])
view.addSubviews([logoImgView, userNameTextField, passwordTextField, passwordShowBtn, forgetBtn, signInBtn, noAccountLabel, signUpBtn])

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

저랑 이름 같은 커스텀 메서드인데 배열로 넣어준다는 점이 달라서 신기하네요~!
주로 어떻게 활용하세요? 아니면 명시해주기 위한 목적?!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@EunHee-Jeong 배열에 쌓이는 순서라든가... 그리고 한줄에 정리된다는 점에서 의미가 있다고 생각합니돠 ㅎ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEAT] iOS 1차 과제 - 심화 [FEAT] iOS 1차 과제 - 도전
2 participants