Required Associated Typeswift-composable-architecture 1.18.0ComposableArchitecture
State
The root state type that contains bindable fields.
associatedtype State
The root state type that contains bindable fields.
associatedtype State
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
.
static func binding(_ action: BindingAction<State>) -> Self
Embeds a binding action in this action type.
var binding: BindingAction<State>? { get }
Extracts a binding action from this action type.