Skip to content

Commit

Permalink
Update ViewStore.swift (pointfreeco#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrandonw authored May 19, 2020
1 parent 0d2b624 commit 6f3749b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Sources/ComposableArchitecture/SwiftUI/ViewStore.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import Combine
import SwiftUI

/// 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
/// commonly used in views, such as SwiftUI views, UIView or UIViewController, but they can be
/// used anywhere it makes sense to observe state and send actions.
///
/// In SwiftUI applications, a `ViewStore` is accessed most commonly using the `WithViewStore` view.
/// It can be initialized with a store and a closure that is handed a view store and must return a
Expand Down

0 comments on commit 6f3749b

Please sign in to comment.