-
Notifications
You must be signed in to change notification settings - Fork 6
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] #43 - CourseStorageVC UI 구현 #47
[Feat] #43 - CourseStorageVC UI 구현 #47
Conversation
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.
코드가 너무 어려워요... 리뷰가 어려워요.. 리드 멋지다!!!!!!!!!
private let courseImageView = UIImageView().then { | ||
$0.backgroundColor = .g3 | ||
$0.contentMode = .scaleToFill | ||
$0.layer.cornerRadius = 5 |
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.
.scaleToFill을 하면 모가 다른가요?
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.
https://sujinnaljin.medium.com/ios-%EC%82%AC%EC%A7%84%EC%9C%BC%EB%A1%9C-%EB%B3%B4%EB%8A%94-aspectfit-aspectfit-scaletofill-f41470d0191f
이거 한번 읽어보세요~! ImageView에는 다양한 contentMode가 있습니다!
// MARK: - Methods | ||
|
||
public func moveToPage(at index: Int) { | ||
self.collectionView.scrollToItem(at: IndexPath(item: index, section: 0), at: .centeredHorizontally, animated: true) |
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
CourseListCVC를 구현하였습니다
📸 스크린샷
📮 관련 이슈