-
Notifications
You must be signed in to change notification settings - Fork 1
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수고하셨습니다람쥐
override func clearButtonRect(forBounds bounds: CGRect) -> CGRect { | ||
let originalRect = super.clearButtonRect(forBounds: bounds) | ||
return originalRect.offsetBy(dx: -8, dy: 0) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
오 이거 좋네요 ... 쇽샥 ...
view.addSubviews([logoImgView, userNameTextField, passwordTextField, forgetBtn, signInBtn, noAccountLabel, signUpBtn]) | ||
view.addSubviews([logoImgView, userNameTextField, passwordTextField, passwordShowBtn, forgetBtn, signInBtn, noAccountLabel, signUpBtn]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
저랑 이름 같은 커스텀 메서드인데 배열로 넣어준다는 점이 달라서 신기하네요~!
주로 어떻게 활용하세요? 아니면 명시해주기 위한 목적?!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@EunHee-Jeong 배열에 쌓이는 순서라든가... 그리고 한줄에 정리된다는 점에서 의미가 있다고 생각합니돠 ㅎ
🌱 작업한 내용
도전 과제
UITextField
clear btn 추가UITextField
입력 여부에 따라 다음 버튼 활성화/비활성화심화 과제
TextFieldShowBtn
커스텀 Button 생성textfield
에 show/hide 기능 적용하는 함수 작성Button
을 뷰에 올려서 적용🌱 PR Point
📸 스크린샷
📮 관련 이슈