์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
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 |
- designpattern
- TCA
- visionOS
- BOJ
- Swfit
- node.js
- realm
- Xcode
- Flutter
- ํจ์คํธ์บ ํผ์ค
- SnapKit
- tableView
- SwiftUI
- rxcocoa
- arkit
- swift
- Kuring
- UIKit
- MVVM
- XCTest
- RxSwift
- CollectionView
- raywenderlich
- ํ๋ก๊ทธ๋๋จธ์ค
- reactorkit
- Lv2
- combine
- ios
- BFS
- ๋ฐฑ์ค
- Today
- Total
๋ชฉ๋ก2024/04 (2)
lgvv98
[iOS] infinite carousel DiffableDataSource + CompositionalLayout UIKit์์ DiffableDataSource๊ณผ compositonalLayout์ ์ฌ์ฉํ์ฌ ๊ตฌํํด๋ณด์. ์ ์ฒด ์์ค์ฝ๋์ ํด๋น ์ฝ๋์ ๋ํ ์ฃผ์์ ํฌ์คํ ์ ์ผ ํ๋จ์ ์ ๋ถ ๋ฃ์ด๋์์. ์์ ์์ ๋ฌดํํ ํ์ ํ๋ ์คํฌ๋กค ๋ทฐ์ ๋ํ ๊ตฌํ ์์ด๋์ด๋ ์ด๋ฏธ ๋ง์ด ์กด์ฌํ๋, ํด๋น ํฌ์คํ ์์๋ diffableDataSource์ ํน์ฑ์ ๋ง๊ฒ๋ ์ ์ฉ (๊ตฌํ ๋ฐฉ์) [์์ ๋ถ๋ id๋ง ๋ค๋ฅธ ์๋ณธ] + [์๋ณธ] + [๋ค์ ๋ถ๋ id๋ง ๋ค๋ฅธ ์๋ณธ]์ ๋จผ์ ๊ตฌ์ฑํ ํ ํ๋ฒ์ apply diffable์ ๊ฒฝ์ฐ์๋ ๋ฐ์ดํฐ๊ฐ ๋ณ๊ฒฝ๋์์ ๋, snapshot์ ์์ ํ๋๊ฒ ์๋ ๋ค์ ์ฐ์. ํด๋น ๋ถ๋ถ์ iOS 13,..
New access modifier: package Introduction ํ์ฌ ๋ค๋ฅธ ๋ชจ๋์์ ํน์ ์ฌ๋ณผ์ ์ ๊ทผํ๊ธฐ ์ํด์๋ public์ผ๋ก ์ ์๋์ด์ผ ํจ. public ํจํค์ง ๋ด์ธ๋ถ ๋ชจ๋์์ ์ ๊ทผ ๊ฐ๋ฅํ๊ธฐ์ ๋ฐ๋์งํ์ง ์์. ๋ฐ๋ผ์ ์๋ก์ด ์ ๊ทผ์ ์ด์๋ฅผ ๋ง๋ค์ด ์ฌ๋ณผ์ ๋ฒ์๋ฅผ ๋ ๋ช ํํ๊ฒ ํ๊ณ ์ ํจ. Swift 5.9์์ ๋์ Motivation Module Engine in gamePkg: public struct MainEngine { public init() { ... } // `public`์ผ๋ก ์๋๋ ํ๋กํผํฐ public var stats: String { ... } // ๋์ผํ ํจํค์ง์ `Game`์์๋ง ์ ๊ทผํ ์ ์๋ `run` ํจ์ public func run() { ... } } Modul..