Data
WithViewStore.swift:802typealias Data = ViewState
typealias Data = ViewState
s22ComposableArchitecture13WithViewStoreVAASlRz7SwiftUI07DynamicD7ContentR0_rlE4Dataa
What are these?4Z1TH
where Content:DynamicViewContent, ViewState:Collection
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 WithViewStore<ViewState, ViewAction, Content> where Content : View
A view helper that transforms a Store
into a ViewStore
so that its state can be observed by a view builder.
protocol Collection<Element> : Sequence
A sequence whose elements can be traversed multiple times, nondestructively, and accessed by an indexed subscript.
@MainActor var data: ViewState { get }