Skip to content

Conversation

@lee-yeonwoo
Copy link
Collaborator

🌱 작업한 내용

  • UI View를 구현했습니다
  • 앞 뷰들의 셀들도 수정했습니다
  • 제목과 글을 입력할 수 있는 뷰를 구현했습니다

🌱 PR Point

  • PR Point 1 : 린트에러가 1개 나는데.. 함수가 너무 길어서 ..? ㅠㅠ extension으로 나눠야 하는지
  • PR Point 2 : 키보드 올라가는거 .. 내일 다시 도전해보겠습니다 ㅠㅠ

📸 스크린샷

Simulator Screen Recording - iPhone 14 - 2023-01-06 at 20 12 21

📮 관련 이슈

@lee-yeonwoo lee-yeonwoo added Feat 새로운 기능 구현 연우🐰 labels Jan 6, 2023
@lee-yeonwoo lee-yeonwoo self-assigned this Jan 6, 2023
Copy link
Collaborator

@lsj8706 lsj8706 left a 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() {
Copy link
Collaborator

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 {
Copy link
Collaborator

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 {
Copy link
Collaborator

Choose a reason for hiding this comment

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

오호 UITextView Placeholder까지 깔끔하게 넣었네요 !

@lee-yeonwoo lee-yeonwoo merged commit 405da88 into Runnect:develop Jan 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feat 새로운 기능 구현 연우🐰

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[Feat] CourseUpload VC UI 구현

3 participants