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:
Wendy Liga
2021-06-15 01:10:08 +07:00
committed by GitHub
parent c99a2f9636
commit 1a8bccc62e
20 changed files with 300 additions and 132 deletions

View File

@@ -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