We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d2b624 commit 6f3749bCopy full SHA for 6f3749b
Sources/ComposableArchitecture/SwiftUI/ViewStore.swift
@@ -1,7 +1,9 @@
1
import Combine
2
import SwiftUI
3
4
-/// A `ViewStore` is an object that can observe state changes and send actions from a SwiftUI view.
+/// A `ViewStore` is an object that can observe state changes and send actions. They are most
5
+/// commonly used in views, such as SwiftUI views, UIView or UIViewController, but they can be
6
+/// used anywhere it makes sense to observe state and send actions.
7
///
8
/// In SwiftUI applications, a `ViewStore` is accessed most commonly using the `WithViewStore` view.
9
/// It can be initialized with a store and a closure that is handed a view store and must return a
0 commit comments