subscript(dynamicMember:)
Binding.swift:459@MainActor subscript<Value>(dynamicMember keyPath: WritableKeyPath<State, BindingState<Value>>) -> BindingViewState<Value> where Value : Equatable, Value : Sendable { get }
@MainActor subscript<Value>(dynamicMember keyPath: WritableKeyPath<State, BindingState<Value>>) -> BindingViewState<Value> where Value : Equatable, Value : Sendable { get }
s22ComposableArchitecture16BindingViewStoreV13dynamicMemberAA0cD5StateVyqd__Gs15WritableKeyPathCyxAA0cH0Vyqd__GG_tcSQRd__luip
What are these?XXN8
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.
class WritableKeyPath<Root, Value>
A key path that supports reading from and writing to the resulting value.
@propertyWrapper struct BindingState<Value>
A property wrapper type that can designate properties of app state that can be directly bindable in SwiftUI views.
@dynamicMemberLookup @propertyWrapper struct BindingViewState<Value>
A property wrapper type that can designate properties of view state that can be directly bindable in SwiftUI views.
protocol Equatable
A type that can be compared for value equality.
protocol Sendable
@MainActor init(projectedValue: Self)
@MainActor var projectedValue: Self { get set }
@MainActor var wrappedValue: State { get }
@MainActor subscript<Value>(dynamicMember keyPath: KeyPath<State, Value>) -> Value { get }