init(_:)
Store.swift:640This declaration is gated by at least one @_spi attribute.
init(_ closure: @escaping (State) -> ChildState)
This declaration is gated by at least one @_spi attribute.
init(_ closure: @escaping (State) -> ChildState)
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).
struct ToState<State, ChildState>
init(_ keyPath: KeyPath<State, ChildState>)