-
Notifications
You must be signed in to change notification settings - Fork 6
[Feat] #49 - CourseUploadVC UI 구현 #53
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
Conversation
lsj8706
left a comment
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.
점점 코드도 깔끔해지고 좋네요 🏅
함수가 길어서 발생하는 린트에러는 해당 함수를 분리해서 해결하면 됩니다...!
예를 들어 setLayout() 함수가 길다면 이 함수 안에서 scrollView 안에 있는 뷰들의 레이아웃을 잡는 코드들 만 때로 빼서 setScrollViewLayout() 이런 식으로 함수를 만들어서 분리하는 식으로요!
|
|
||
| extension CourseDiscoveryVC { | ||
| @objc private func presentToSearchVC() { | ||
| @objc private func pushToSearchVC() { |
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.
👍👍
| } | ||
|
|
||
| func textViewDidChange(_ textView: UITextView) { | ||
| if activityTextView.text.count > 150 { |
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.
글자수 제한 좋습니다~~!
|
|
||
| extension CourseUploadVC: UITextViewDelegate { | ||
| func textViewDidBeginEditing(_ textView: UITextView) { | ||
| if textView.text.trimmingCharacters(in: .whitespacesAndNewlines).isEmpty { |
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.
오호 UITextView Placeholder까지 깔끔하게 넣었네요 !
🌱 작업한 내용
🌱 PR Point
📸 스크린샷
📮 관련 이슈