Required Associated Typeswift-composable-architecture 1.18.0ComposableArchitecture
ViewAction
ViewAction.swift:7associatedtype ViewAction
associatedtype ViewAction
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 ViewAction<ViewAction>
Defines the actions that can be sent from a view.
static func view(_ action: ViewAction) -> Self