일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- MVVM
- 프로그래머스
- TCA
- 백준
- reactorkit
- Xcode
- rxcocoa
- Lv2
- SwiftUI
- BOJ
- Kuring
- realm
- designpattern
- tableView
- combine
- swift
- raywenderlich
- UIKit
- RxSwift
- ios
- Flutter
- node.js
- XCTest
- SnapKit
- arkit
- 패스트캠퍼스
- CollectionView
- BFS
- visionOS
- Swfit
Archives
- Today
- Total
목록재귀 (1)
lgvv98
[TCA] HigherOrderReducers #1 (Recursion)
[TCA] HigherOrderReducers #1 (Recursion) 목차 - 이번 주제에 대한 간략 설명 - 예제 코드 # 이번 주제에 대한 간략 설명 이번에는 재귀를 통해 View를 관리 하는 방법을 알아볼 예정 # 예제 코드 주요하게 살펴볼 부분 1. State를 rows로 다시 들고 있음으로써 Nested 형태를 구성 2. Action에는 간접 참조를 위해 indirect enum으로 선언 3. Reducer에 forEach(...) { Self() } 형태로 참조 struct Nested: Reducer { struct State: Equatable, Identifiable { let id: UUID var name: String = "" var rows: IdentifiedArrayOf =..
apple/🦥 TCA
2023. 10. 11. 01:23