Instance Methodswift-composable-architecture 1.18.0ComposableArchitecture
reduce(into:action:)
IfLetReducer.swift:246func reduce(into state: inout Parent.State, action: Parent.Action) -> Effect<Parent.Action>
func reduce(into state: inout Parent.State, action: Parent.Action) -> Effect<Parent.Action>
s22ComposableArchitecture13_IfLetReducerV6reduce4into6actionAA6EffectVy6ActionQzG5StateQzz_AJtF
What are these?3RSSZ
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 _IfLetReducer<Parent, Child> where Parent : Reducer, Child : Reducer
associatedtype State
A type that holds the current state of the reducer.
associatedtype Action
A type that holds all possible actions that cause the State
of the reducer to change and/or kick off a side Effect
that can communicate with the outside world.
struct Effect<Action>