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

[Refactor] #196 - 디테일 성취 UI 로직 변경 #201

Merged
merged 10 commits into from
Jan 27, 2024
Merged

Conversation

jeongdung-eo
Copy link
Member

@jeongdung-eo jeongdung-eo commented Nov 19, 2023

🫧 작업한 내용

  • 디테일 성취 UI 로직 변경했습니다.
  • text가 길어 셀이 늘어나던 부분을 수정했습니다 .
  • 마지막 index의 seperator는 보이지 않도록 수정했습니다.

🔫 PR Point

기존 뷰는 VC -> background 뷰 -> title label과 collectionview로 구현하였습니다.
리팩토링하면서 background 뷰를 구현하지 않고 collectionview를 이용해서 기존의 title label을 collectionview의 header뷰로 구현했습니다.

📸 스크린샷

기존 화면 수정된 화면 seperator 수정

📮 관련 이슈

guard let missionDailtData = self.missionDailyData else { return completion(nil) }
completion(missionDailtData)
} catch let err {
print(err.localizedDescription, 500)
Copy link
Member

Choose a reason for hiding this comment

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

여기두 completion 있으면 좋을 것 같네여!

Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Member

@hyesuuou hyesuuou left a comment

Choose a reason for hiding this comment

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

고생하셨습니당 ㅎㅎ

HomeAPI.shared.getDailyMission(date: date) { response in
guard let response = response else { return }
guard let data = response.data else { return }
self.updateData(item: data)
Copy link
Member

Choose a reason for hiding this comment

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

escaping 클로저 내부 self라서 weak self 함 해줘야 할듯합니다!

Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

수정했슴도ㅏㅇ~,~

@jeongdung-eo jeongdung-eo merged commit cba0bc0 into develop Jan 27, 2024
1 check passed
@jeongdung-eo jeongdung-eo deleted the feat/#196 branch January 27, 2024 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Refactor] 디테일 성취 UI 로직 변경
2 participants