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

✨ feat: HomeViewController 캐러셀 레이아웃 구현 #28

Merged
merged 3 commits into from
Nov 17, 2023

Conversation

loinsir
Copy link
Collaborator

@loinsir loinsir commented Nov 16, 2023

🧑‍🚀 PR 요약

HomeViewController 캐러셀 레이아웃을 구현했습니다.
구현하기가 좀 어려웠는데, CompositionalLayout으로 구현했습니다.
Dev Log에 기록해두었는데, 참고하시면 이해하시기 편할듯 합니다.

📸 ScreenShot

작동, 구현화면

Linked Issue

close #21

@loinsir loinsir linked an issue Nov 16, 2023 that may be closed by this pull request
1 task
Copy link
Collaborator

@chopmozzi chopmozzi left a comment

Choose a reason for hiding this comment

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

고생하셨습니다! approve해도 괜찮을 것 같아 approve 해둡니다.

Comment on lines +28 to +31
let layout = createCarouselLayout(groupWidthDimension: 314/375,
groupHeightDimension: 473/534,
maximumZoomScale: 1,
minimumZoomScale: 473/534)
Copy link
Collaborator

Choose a reason for hiding this comment

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

이 상수값들의 기준이 있을까요? 있다면 뷰마다 따로 만들어 둬도 좋을 것 같습니다.

Copy link
Collaborator Author

@loinsir loinsir Nov 17, 2023

Choose a reason for hiding this comment

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

피그마 값을 기준으로 정했는데, 이곳 처럼 함수로 입력되는 외부 인자도 따로 빼서 관리해줘야 할지 고민이네요... 다같이 논의해봅시다.

@loinsir loinsir merged commit 12bdc6a into iOS/dev Nov 17, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

feat: 홈 탭 재생 캐러셀 구현
3 participants