Instance Subscriptswift-composable-architecture 1.18.0ComposableArchitecture
subscript(id:)
ForEachReducer.swift:26subscript(id id: ID) -> AnyCasePath<IdentifiedAction, Action> { get }
subscript(id id: ID) -> AnyCasePath<IdentifiedAction, Action> { get }
s22ComposableArchitecture16IdentifiedActionO12AllCasePathsV2id0fG4Core03AnyF4PathVyACyxq_Gq_Gx_tcip
What are these?4C2KJ
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 AllCasePaths
enum IdentifiedAction<ID, Action> where ID : Hashable, ID : Sendable
A wrapper type for actions that can be presented in a list.
@dynamicMemberLookup struct AnyCasePath<Root, Value>
A type-erased case path that supports embedding a value in a root and attempting to extract a root’s embedded value.
var element: AnyCasePath<IdentifiedAction, (id: ID, action: Action)> { get }