mirror of
https://github.com/pointfreeco/swift-composable-architecture.git
synced 2025-12-24 12:14:25 +01:00
Support DocC Xcode 13 (#591)
* wip * finish * revert back code snippet identation to 5 * Update Sources/ComposableArchitecture/Effect.swift Co-authored-by: Brandon Williams <135203+mbrandonw@users.noreply.github.com> Co-authored-by: Brandon Williams <135203+mbrandonw@users.noreply.github.com>
This commit is contained in:
@@ -12,6 +12,7 @@ extension Store {
|
||||
/// to navigate to can be held as an optional value in the parent, and when that value goes from
|
||||
/// `nil` to non-`nil`, or non-`nil` to `nil`, you can update the navigation stack accordingly:
|
||||
///
|
||||
/// ```swift
|
||||
/// class ParentViewController: UIViewController {
|
||||
/// let store: Store<ParentState, ParentAction>
|
||||
/// var cancellables: Set<AnyCancellable> = []
|
||||
@@ -35,6 +36,7 @@ extension Store {
|
||||
/// .store(in: &self.cancellables)
|
||||
/// }
|
||||
/// }
|
||||
/// ```
|
||||
///
|
||||
/// - Parameters:
|
||||
/// - unwrap: A function that is called with a store of non-optional state when the store's
|
||||
|
||||
Reference in New Issue
Block a user