์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
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
- Flutter
- MVVM
- Xcode
- RxSwift
- visionOS
- raywenderlich
- Swfit
- BOJ
- realm
- swift
- XCTest
- UIKit
- node.js
- rxcocoa
- arkit
- designpattern
- Lv2
- reactorkit
- ios
- combine
- SnapKit
- SwiftUI
- tableView
- TCA
- CollectionView
- ํจ์คํธ์บ ํผ์ค
- ๋ฐฑ์ค
- BFS
- ํ๋ก๊ทธ๋๋จธ์ค
- Kuring
Archives
- Today
- Total
๋ชฉ๋กUITableViewDataSource (1)
lgvv98
[iOS] DiffableDataSource n-Section n-Item (์น์
๋ง๋ค ๋ค๋ฅธ ์
)
[iOS] DiffableDataSource n-Section n-Item (์น์ ๋ง๋ค ๋ค๋ฅธ ์ ) DiffableDataSource์ ์ด์ฉํ์ฌ ๊ฐ๊ฐ์ ์น์ ๋ง๋ค ๋ค๋ฅธ ์ ์ ์ ์ฉํ๊ณ ์ ํจ. ์ฑ ํ๊ฒ์ iOS 13 iOS 14์ด์์ ๊ฒฝ์ฐ ์์ฃผ ๊ฐ๋จํ๊ฒ ์ฒ๋ฆฌํ ์ ์๋๋ฐ, UICollectionView.CellRegistration ์ด๋ ์ ํ์ ๊ณต์๋ฌธ์์๋ ๋์์์ ๋ค๋ง, iOS 14์ด์์์ ๊ฐ๋ฅ โ๏ธ๊ฐ๋ฐํ๊ฒฝโ๏ธ Xcode 14.0 iOS 13.0 ์ด์ Swift 5 SnapKit 5.6 ๐จ ์ฝ๋๋ฅผ ๋ณด๊ณ ๋ ํ ์ฃผ์ํ ์ ๐จ 1. ๊ธฐ๋ณธ์ ์ผ๋ก Item์ ๊ฒฝ์ฐ์๋ Hashableํด์ผ ํจ. ๊ฒฐ๊ณผ ์ด๋ฏธ์ง์ ์ธ๋ฒ์งธ ์ฌ์ง์ ๋ณด๋ฉด ๋ฐฐ์ด์ 1์ด 4๊ฐ๊ฐ ๋ค์ด์์์๋ ๋ถ๊ตฌํ๊ณ 1์ด ํ๋๋ง ๋ณด์ฌ์ง. ๊ทธ ์ด์ ๋ Hashableํ๊ธฐ ๋๋ฌธ..
apple/๐ Apple Docs & iOS & Swift
2022. 9. 18. 15:58