Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | |||||
| 3 | 4 | 5 | 6 | 7 | 8 | 9 |
| 10 | 11 | 12 | 13 | 14 | 15 | 16 |
| 17 | 18 | 19 | 20 | 21 | 22 | 23 |
| 24 | 25 | 26 | 27 | 28 | 29 | 30 |
| 31 |
Tags
- updatecycle
- ios바이너리분석
- 이진삽입정렬
- swift-demangle
- mainrunloop
- swift6
- applaucnchprocess
- xcrun swift-demangle
- SPM
- Swift
- 뷰의레이아웃을계산하는메서드
- task
- cgimage
- swift6.1
- ciimage
- 다이나믹링크분석
- UIKit
- Xcode
- IOS
- mangle
- WWDC24
- uicollectionview
- actor
- mach-o파일분석
- swiftconcurrency
- Architecture
- modulararchitecture
- displayscale
- 뷰를그리는메서드
- XCUITest
Archives
- Today
- Total
꾸준한 기록
[UICollectionView] Part1. DataSource와 Delegate의 역할 본문
UICollectionViewDataSource
- UICollectionView를 그릴 때 사용할 데이터 제공
UICollectionViewDiffableDataSource
- UICollectionView에 보여줄 데이터가 변경되었을 때, 이 변경을 효율적으로 처리
- UICollectionViewDataSrouce 프로토콜을 준수: 동일한 기능을 제공
- 파라미터로 받는 cell provider에서 cell에 dequeue 한 후, data를 apply.
UICollectionViewDelegate
- UICollectionView와 유저의 인터랙션을 처리하기 위해 사용
- cell 클릭 액션 처리, 하이라이트 처리, willDisplay 처리 등

'iOS' 카테고리의 다른 글
| [Modular Architecture] part2. 구성 (0) | 2024.09.08 |
|---|---|
| [Modular Architecture] part1. Basic (0) | 2024.09.08 |
| 앱이 상태 전환될 때 수행해야 하는 작업 (4) | 2024.09.06 |
| iOS 앱이 백그라운드 상태에서 가능한 작업 (6) | 2024.09.05 |
| Application State(앱 상태)별로 할 수 있는 작업 (2) | 2024.09.04 |