์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
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
- SwiftUI
- Lv2
- ํ๋ก๊ทธ๋๋จธ์ค
- ios
- TCA
- Flutter
- RxSwift
- tableView
- ํจ์คํธ์บ ํผ์ค
- Swfit
- XCTest
- BFS
- node.js
- rxcocoa
- designpattern
- reactorkit
- visionOS
- CollectionView
- realm
- SnapKit
- combine
- raywenderlich
- ๋ฐฑ์ค
- Xcode
- arkit
- MVVM
- UIKit
- swift
- BOJ
- Kuring
Archives
- Today
- Total
๋ชฉ๋ก์ฝ๋๋ฐ (1)
lgvv98
[ReactorKit] ReactorKit ๊ณต๋ถํ๊ธฐ #7 View (programming)
ReactorKit ๊ณต๋ถํ๊ธฐ #7 View (programming) ReactorKit์ ๋ง์ ์์ ๋ค์ด ์คํ ๋ฆฌ๋ณด๋ ๊ธฐ๋ฐ์ผ๋ก ์์ฑ๋์ด ์๊ธฐ์ ์ฝ๋ ๊ธฐ๋ฐ์ ์์ ๋ฅผ ์์ฑํด ๋ด. ์์ฝ 1. ์์ฃผํ๋ ์ค์ - ReactorKit ์ฌ์ฉํ ๋ : ๋ฆฌ์กํฐ reference๋ฅผ ์๋ฌด๋ฐ๋ ์์ก์์ค์ deinit ๋์ด์ ๊ฒฐ๊ตญ ์๋ํ์ง ์๋ ์ค์ 2. ์์ฃผํ๋ ์ค์ - bind ๋ด๋ถ์ ์ผ๋ก ํธ์ถ๋๋๋ฐ ๋ช ์์ ์ผ๋ก ๋ ํธ์ถํ๋๊ฑฐ : init์ผ๋ก ํ ์ ์์. ์ฐ์ ReactorKit์ ์ ์ธ๋ ํ๋กํ ์ฝ View๋ฅผ ์ด์ด๋ณด์. extension ๋ถ๋ถ์ ๋ณด๋ฉด ์๊ฒ ์ง๋ง, bind๊ฐ ํธ์ถ๋๊ณ ์์. bind๋ฅผ ViewDidLoad()์์ ๋ช ์์ ์ผ๋ก ํธ์ถํ์ง ์์๋ ๋๋ค. โ ViewController โ import UIKit import R..
apple/๐ฆ UIKit & ReactiveX
2022. 10. 1. 11:42