일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- CollectionView
- Kuring
- Flutter
- UIKit
- node.js
- Swfit
- rxcocoa
- TCA
- tableView
- realm
- swift
- Lv2
- RxSwift
- Xcode
- XCTest
- BOJ
- 백준
- 패스트캠퍼스
- ios
- raywenderlich
- SnapKit
- BFS
- SwiftUI
- combine
- MVVM
- arkit
- designpattern
- visionOS
- 프로그래머스
- reactorkit
- Today
- Total
목록apple (146)
lgvv98
[TCA] SharedState 목차 - SharedState란? - SharedState 예제 코드 알아보기 - SharedState를 통해 통합관리 vs 각각의 Reducer를 통합 - SharedState란? 여러 개의 독립된 화면이 합성 가능한 아키텍처에서 상태를 공유할 수 있는 방법을 제시. - SharedState 예제 코드 알아보기 // MARK: - Feature domain struct SharedState: Reducer { enum Tab { case counter, profile } struct State: Equatable { var counter = Counter.State() var currentTab = Tab.counter /// The Profile.State can be..
[TCA] OptionalState (IfLetCase) 목차 - OptionalState란? - OptionalState 예제 - IfLetCase 알아보기 - OptionalState란? Reducer의 State 중 optional로 선언된 state를 일컬음. - OptionalState 예제 1. optional값은 IfLetCase를 통해서 분기처리 가능 - 자세한 사항을 코드의 주석 참고 // MARK: - Feature domain struct OptionalBasics: Reducer { struct State: Equatable { var optionalCounter: Counter.State? // 1. ✅ State를 optional 상태로 보유 } enum Action: Equat..
[TCA] FocusState TCA의 FocusState 사용방법 정리 - 목차 - FocusState 사용 예제 - FocusState 사용 예제 SwiftUI의 @FocusState는 TCA 라이브러리의 `bind` view Modifier를 통해 사용 - 자세한 부분은 코드의 주석을 확인 // MARK: - Feature domain struct FocusDemo: Reducer { struct State: Equatable { @BindingState var focusedField: Field? // ✅ 2. 포커스 스테이트로 사용할 bindingState를 선언 @BindingState var password: String = "" @BindingState var username: String..
[TCA] Binding TCA의 Binding 방법 정리 목차 - TCA Binding Basic 예제 - TCA BindingState를 사용한 예제 - BidingReducer()를 가장 상단에 작성하는 이유 - TCA Binding Basic 예제 아래 코드는 TCA를 사용할 때 가장 기본적인 방법. // MARK: - Feature domain struct BindingBasics: Reducer { struct State: Equatable { var sliderValue = 5.0 var stepCount = 10 var text = "" var toggleIsOn = false } enum Action { case sliderValueChanged(Double) case stepCountC..
[TCA] Tutorial #5 (Multiple presentation destinations) // MARK: - Contact import Foundation import ComposableArchitecture struct Contact: Equatable, Identifiable { let id: UUID var name: String } struct ContactsFeature: Reducer { struct State: Equatable { var contacts: IdentifiedArrayOf = [] @PresentationState var destination: Destination.State? // 화면전환을 이렇게 묶어서 분리해서 처리 } enum Action: Equatable ..
# frameSemantics 프레임에서의 활성화된 semantic의 집합 : 쉽게 말하자면 사람이 있을때 물체를 가상 물체를 어떻게 보여질건지를 결정 var frameSemantics: ARConfiguration.FrameSemantics { get set } - ARConfiguration.FrameSemantics: 앱에서 사용할 수 있는, 선택적인 프레임 기능 - 하나의 frameSemantic은 ARKit이 프레임에서 추출하는 2D 정보를 나타냄. - 2D에서 신체(body)를 추적하는 법 static var bodyDetection: ARConfiguration.FrameSemantics // 2D에서 신체 감지가 활성화 되었음을 나태내는 옵션 카메라 영상에서 ARKit이 인식하는 신체의 ..