-
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
Feat/3차과제 #4
base: main
Are you sure you want to change the base?
The head ref may contain hidden characters: "feat/3\uCC28\uACFC\uC81C"
Feat/3차과제 #4
Conversation
class FriendListViewController: UIViewController{ | ||
let list : [FriendList] = FriendList.list | ||
var dataSource : UICollectionViewDiffableDataSource<Sections, Item>! | ||
typealias Item = AnyHashable |
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.
typealias를 사용해서 간결하게 나타나는 법이 있었군요 한 수 배워갑니다,,,,
$0.delegate = self | ||
$0.allowsMultipleSelection = true | ||
} | ||
private lazy var safeArea = self.view.safeAreaLayoutGuide |
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.
safeArea 선언해서 간결성 높이는것도 좋네용,,. 굳굳
return header | ||
} | ||
} | ||
func createLayout() -> UICollectionViewCompositionalLayout { |
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.
Compositional 한 수 배웁니다,,,
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.
CompositionalLayout
!!! 저도 꼭 써 보고 싶어여 배우고 갑니다!
와..대박...왤케 잘하시나요..추후에 구현하신거 보면서 공부 해야겠습니다!! |
🔥 Pull requests
⛳️ 작업한 브랜치
👷 작업한 내용
chat view collectionview구현
friend view collectionview 구현
photo collectionview 구현
🚨 참고 사항
compositional layout
Diffable DataSource
friendView tableview로 바꿀 예정
photoview 셀 데이터 전달 구현 못함
freindView swipe 액션 구현 안함
📸 스크린샷
📟 관련 이슈