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

[iOS] 레이블 추가 페이지 #70

Closed
5 tasks done
eeeesong opened this issue Jun 15, 2021 · 3 comments
Closed
5 tasks done

[iOS] 레이블 추가 페이지 #70

eeeesong opened this issue Jun 15, 2021 · 3 comments
Assignees
Labels
feature New feature iOS iOS related

Comments

@eeeesong
Copy link
Collaborator

eeeesong commented Jun 15, 2021

  • 레이블 속성 textFields 구성
  • 랜덤 컬러 버튼 구현
  • 레이블 미리보기 구현
  • 새 레이블 POST
  • POST 후 리스트 화면 업데이트
@eeeesong eeeesong added feature New feature iOS iOS related labels Jun 15, 2021
@eeeesong eeeesong self-assigned this Jun 15, 2021
eeeesong added a commit that referenced this issue Jun 16, 2021
@eeeesong
Copy link
Collaborator Author

eeeesong commented Jun 16, 2021

viewDidAppear 메소드를 통해 레이블 목록을 업데이트 하려고 했으나 모달 방식이라 해당 메소드가 불리지 않음

-> PresentationDelegate 활용

https://developer.apple.com/documentation/uikit/view_controllers/disabling_the_pull-down_gesture_for_a_sheet

-> dismiss 메소드로 dismiss하는 경우엔 델리게이트 메소드가 불리지 않음
-> 클로저를 넘겨서 처리하는 것으로 해결

addLabelViewController.setUpDismissOperation { [weak self] in
      self?.loadData()
 }

@eeeesong
Copy link
Collaborator Author

POST 메소드의 효율적 사용 위한 리팩토링

@eeeesong
Copy link
Collaborator Author

LoginInfo 싱글톤 고려

eeeesong added a commit that referenced this issue Jun 16, 2021
- 레이블 컬러 버튼 터치 시 레이블 컬러 변경
eeeesong added a commit that referenced this issue Jun 16, 2021
- Save 버튼 터치 시 새로 작성한 레이블을 서버에 저장
- label table 새로 로드
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature iOS iOS related
Projects
None yet
Development

No branches or pull requests

1 participant