-
Notifications
You must be signed in to change notification settings - Fork 0
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
[Refactor] #197 - 미션 리스트 디테일 UI 로직 변경 #202
Conversation
guard let data = response.data else { return } | ||
self.nottodoInfoList[1] = data.title | ||
self.nottodoInfoList[2] = data.situation | ||
self.nottodoInfoList[3] = data.actions.first!.name |
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.
넹 :)
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.
🫧 작업한 내용
🔫 PR Point
리팩토링하면서 cancel버튼과 edit 버튼은 따로 headerTopview로 구현하여 스크롤 영역을 수정했습니다.
또한, 레이아웃의 속성을
UICollectionLayoutListConfiguration(appearance: .plain)
으로 주었더니 footer는 스크롤이 되지 않아서 속성을UICollectionLayoutListConfiguration(appearance: .grouped)
으로 변경했습니다.📸 스크린샷
기존 화면
Simulator.Screen.Recording.-.iPhone.SE.3rd.generation.-.2023-11-19.at.01.10.15.mp4
수정된 화면
Simulator.Screen.Recording.-.iPhone.SE.3rd.generation.-.2023-11-19.at.03.48.32.mp4
📮 관련 이슈