Instance Property (Default implementation)swift-composable-architecture 1.18.0ComposableArchitecture
body
CaseReducer.swift:24var body: Body { get }
var body: Body { get }
s22ComposableArchitecture11CaseReducerPAAE4body4BodyQzvp
What are these?9NEL7
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 CaseReducer<State, Action> : Reducer where Self.Action == Self.Body.Action, Self.Body : Reducer, Self.State : CaseReducerState, Self.State == Self.Body.State
A reducer represented by multiple enum cases.
associatedtype Body = Self.Body
@ReducerBuilder<Self.State, Self.Action> static var body: Body { get }
@ReducerBuilder<Self.State, Self.Action> var body: Body { get }
The content and behavior of a reducer that is composed from other reducers.