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).
@MainActor struct NavigationLinkStore<State, Action, DestinationState, DestinationAction, Destination, Label> where Destination : View, Label : View
A view that controls a navigation presentation.
@MainActor init(_ store: Store<PresentationState<State>, PresentationAction<Action>>, id: State.ID, onTap: @escaping () -> Void, @ViewBuilder destination: @escaping (_ store: Store<State, Action>) -> Destination, @ViewBuilder label: () -> Label) where State : Identifiable, State == DestinationState, Action == DestinationAction
@MainActor init(_ store: Store<PresentationState<State>, PresentationAction<Action>>, state toDestinationState: @escaping (_ state: State) -> DestinationState?, action fromDestinationAction: @escaping (_ destinationAction: DestinationAction) -> Action, id: DestinationState.ID, onTap: @escaping () -> Void, @ViewBuilder destination: @escaping (_ store: Store<DestinationState, DestinationAction>) -> Destination, @ViewBuilder label: () -> Label) where DestinationState : Identifiable
@MainActor init(_ store: Store<PresentationState<State>, PresentationAction<Action>>, state toDestinationState: @escaping (_ state: State) -> DestinationState?, action fromDestinationAction: @escaping (_ destinationAction: DestinationAction) -> Action, onTap: @escaping () -> Void, @ViewBuilder destination: @escaping (_ store: Store<DestinationState, DestinationAction>) -> Destination, @ViewBuilder label: () -> Label)