Instance Propertyswift-composable-architecture 1.18.0ComposableArchitecture
case
A destructurable view of a store on a collection of cases.
@MainActor var `case`: State.StateReducer.CaseScope { get }
A destructurable view of a store on a collection of cases.
@MainActor var `case`: State.StateReducer.CaseScope { get }
s22ComposableArchitecture5StoreCA2A16CaseReducerStateRz0fE0_6ActionQZRs_rlE4caseAE_0D5ScopeQZvp
What are these?3XDH4
where Action == State.StateReducer.Action, State:CaseReducerState
import ComposableArchitecture
The Composable Architecture (TCA, for short) is a library for building applications in a consistent and understandable way, with composition, testing, and ergonomics in mind. It can be used in SwiftUI, UIKit, and more, and on any Apple platform (iOS, macOS, tvOS, and watchOS).
@dynamicMemberLookup @preconcurrency @MainActor final class Store<State, Action>
A store represents the runtime that powers the application. It is the object that you will pass around to views that need to interact with the application.
@globalActor final actor MainActor
A singleton actor whose executor is equivalent to the main dispatch queue.
associatedtype StateReducer : CaseReducer where Self == Self.StateReducer.State
associatedtype CaseScope
protocol CaseReducerState
A state type that is associated with a CaseReducer
.