Instance Propertyswift-composable-architecture 1.18.0ComposableArchitecture
projectedValue
Binding.swift:450@MainActor var projectedValue: Self { get set }
@MainActor var projectedValue: Self { get set }
s22ComposableArchitecture16BindingViewStoreV14projectedValueACyxGvp
What are these?607O8
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 @propertyWrapper @preconcurrency @MainActor struct BindingViewStore<State>
A property wrapper type that can derive BindingViewState
values for a ViewStore
.
@globalActor final actor MainActor
A singleton actor whose executor is equivalent to the main dispatch queue.
@MainActor init(projectedValue: Self)
@MainActor var wrappedValue: State { get }
@MainActor subscript<Value>(dynamicMember keyPath: WritableKeyPath<State, BindingState<Value>>) -> BindingViewState<Value> where Value : Equatable, Value : Sendable { get }
@MainActor subscript<Value>(dynamicMember keyPath: KeyPath<State, Value>) -> Value { get }