set(_:_:)
Binding+Observation.swift:152static func set<Value>(_ keyPath: _SendableWritableKeyPath<State, Value>, _ value: Value) -> Self where Value : Equatable, Value : Sendable
static func set<Value>(_ keyPath: _SendableWritableKeyPath<State, Value>, _ value: Value) -> Self where Value : Equatable, Value : Sendable
s22ComposableArchitecture14BindableActionPA2A15ObservableState0F0RpzrlE3setyxs8Sendable_s15WritableKeyPathCyAFqd__GXc_qd__tSQRd__sAHRd__lFZ
What are these?13PO5
where Self.State:ObservableState
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).
protocol BindableAction<State>
An action type that exposes a binding
case that holds a BindingAction
.
typealias _SendableWritableKeyPath<Root, Value> = any WritableKeyPath<Root, Value> & Sendable
associatedtype State
The root state type that contains bindable fields.
protocol Equatable
A type that can be compared for value equality.
protocol Sendable
protocol ObservableState : Perceptible