mirror of
https://github.com/pointfreeco/swift-composable-architecture.git
synced 2025-12-14 20:35:56 +01:00
Use SPI docs instead of self-hosted (#3791)
* Use SPI docs instead of self-hosted Fixes #3785. * wip
This commit is contained in:
74
.github/workflows/documentation.yml
vendored
74
.github/workflows/documentation.yml
vendored
@@ -1,74 +0,0 @@
|
||||
# Build and deploy DocC to GitHub pages. Based off of @karwa's work here:
|
||||
# https://github.com/karwa/swift-url/blob/main/.github/workflows/docs.yml
|
||||
name: Documentation
|
||||
|
||||
on:
|
||||
release:
|
||||
types:
|
||||
- published
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
workflow_dispatch:
|
||||
|
||||
concurrency:
|
||||
group: docs-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: macos-15
|
||||
steps:
|
||||
- name: Select Xcode 16.2
|
||||
run: sudo xcode-select -s /Applications/Xcode_16.2.app
|
||||
|
||||
- name: Checkout Package
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Checkout gh-pages Branch
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: gh-pages
|
||||
path: docs-out
|
||||
|
||||
- name: Build documentation
|
||||
run: >
|
||||
rm -rf docs-out/.git;
|
||||
rm -rf docs-out/main;
|
||||
git tag -l --sort=-v:refname | grep -e "\d\+\.\d\+.0" | tail -n +6 | xargs -I {} rm -rf {};
|
||||
|
||||
for tag in $(echo "main"; git tag -l --sort=-v:refname | grep -e "\d\+\.\d\+.0" | head -6);
|
||||
do
|
||||
if [ -d "docs-out/$tag/data/documentation/composablearchitecture" ]
|
||||
then
|
||||
echo "✅ Documentation for "$tag" already exists.";
|
||||
else
|
||||
echo "⏳ Generating documentation for ComposableArchitecture @ "$tag" release.";
|
||||
rm -rf "docs-out/$tag";
|
||||
|
||||
git checkout .;
|
||||
git checkout "$tag";
|
||||
|
||||
swift package \
|
||||
--allow-writing-to-directory docs-out/"$tag" \
|
||||
generate-documentation \
|
||||
--target ComposableArchitecture \
|
||||
--output-path docs-out/"$tag" \
|
||||
--transform-for-static-hosting \
|
||||
--hosting-base-path /swift-composable-architecture/"$tag" \
|
||||
&& echo "✅ Documentation generated for ComposableArchitecture @ "$tag" release." \
|
||||
|| echo "⚠️ Documentation skipped for ComposableArchitecture @ "$tag".";
|
||||
fi;
|
||||
done
|
||||
|
||||
- name: Fix permissions
|
||||
run: 'sudo chown -R $USER docs-out'
|
||||
|
||||
- name: Publish documentation to GitHub Pages
|
||||
uses: JamesIves/github-pages-deploy-action@4.1.7
|
||||
with:
|
||||
branch: gh-pages
|
||||
folder: docs-out
|
||||
single-commit: true
|
||||
57
README.md
57
README.md
@@ -532,41 +532,8 @@ advanced usages.
|
||||
|
||||
The documentation for releases and `main` are available here:
|
||||
|
||||
* [`main`](https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/)
|
||||
* [1.22.0](https://pointfreeco.github.io/swift-composable-architecture/1.22.0/documentation/composablearchitecture/)
|
||||
|
||||
<details>
|
||||
<summary>
|
||||
Other versions
|
||||
</summary>
|
||||
|
||||
* [1.21.0](https://pointfreeco.github.io/swift-composable-architecture/1.21.0/documentation/composablearchitecture/)
|
||||
* [1.19.0](https://pointfreeco.github.io/swift-composable-architecture/1.19.0/documentation/composablearchitecture/) ([migration guide](https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.19))
|
||||
* [1.18.0](https://pointfreeco.github.io/swift-composable-architecture/1.18.0/documentation/composablearchitecture/) ([migration guide](https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.18))
|
||||
* [1.17.0](https://pointfreeco.github.io/swift-composable-architecture/1.17.0/documentation/composablearchitecture/) ([migration guide](https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.17))
|
||||
* [1.16.0](https://pointfreeco.github.io/swift-composable-architecture/1.16.0/documentation/composablearchitecture/) ([migration guide](https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.16))
|
||||
* [1.15.0](https://pointfreeco.github.io/swift-composable-architecture/1.15.0/documentation/composablearchitecture/) ([migration guide](https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.15))
|
||||
* [1.14.0](https://pointfreeco.github.io/swift-composable-architecture/1.14.0/documentation/composablearchitecture/) ([migration guide](https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.14))
|
||||
* [1.13.0](https://pointfreeco.github.io/swift-composable-architecture/1.13.0/documentation/composablearchitecture/) ([migration guide](https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.13))
|
||||
* [1.12.0](https://pointfreeco.github.io/swift-composable-architecture/1.12.0/documentation/composablearchitecture/) ([migration guide](https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.12))
|
||||
* [1.11.0](https://pointfreeco.github.io/swift-composable-architecture/1.11.0/documentation/composablearchitecture/) ([migration guide](https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.11))
|
||||
* [1.10.0](https://pointfreeco.github.io/swift-composable-architecture/1.10.0/documentation/composablearchitecture/) ([migration guide](https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.10))
|
||||
* [1.9.0](https://pointfreeco.github.io/swift-composable-architecture/1.9.0/documentation/composablearchitecture/) ([migration guide](https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.9))
|
||||
* [1.8.0](https://pointfreeco.github.io/swift-composable-architecture/1.8.0/documentation/composablearchitecture/) ([migration guide](https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.8))
|
||||
* [1.7.0](https://pointfreeco.github.io/swift-composable-architecture/1.7.0/documentation/composablearchitecture/) ([migration guide](https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7))
|
||||
* [1.6.0](https://pointfreeco.github.io/swift-composable-architecture/1.6.0/documentation/composablearchitecture/) ([migration guide](https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.6))
|
||||
* [1.5.0](https://pointfreeco.github.io/swift-composable-architecture/1.5.0/documentation/composablearchitecture/) ([migration guide](https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5))
|
||||
* [1.4.0](https://pointfreeco.github.io/swift-composable-architecture/1.4.0/documentation/composablearchitecture/) ([migration guide](https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4))
|
||||
* [1.3.0](https://pointfreeco.github.io/swift-composable-architecture/1.3.0/documentation/composablearchitecture/)
|
||||
* [1.2.0](https://pointfreeco.github.io/swift-composable-architecture/1.2.0/documentation/composablearchitecture/)
|
||||
* [1.1.0](https://pointfreeco.github.io/swift-composable-architecture/1.1.0/documentation/composablearchitecture/)
|
||||
* [1.0.0](https://pointfreeco.github.io/swift-composable-architecture/1.0.0/documentation/composablearchitecture/)
|
||||
* [0.59.0](https://pointfreeco.github.io/swift-composable-architecture/0.59.0/documentation/composablearchitecture/)
|
||||
* [0.58.0](https://pointfreeco.github.io/swift-composable-architecture/0.58.0/documentation/composablearchitecture/)
|
||||
* [0.57.0](https://pointfreeco.github.io/swift-composable-architecture/0.57.0/documentation/composablearchitecture/)
|
||||
</details>
|
||||
|
||||
<br>
|
||||
* [`main`](https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture)
|
||||
* [1.x.x](https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/~/documentation/composablearchitecture)
|
||||
|
||||
There are a number of articles in the documentation that you may find helpful as you become more
|
||||
comfortable with the library:
|
||||
@@ -703,13 +670,13 @@ This library is released under the MIT license. See [LICENSE](LICENSE) for detai
|
||||
[gh-isowords]: https://github.com/pointfreeco/isowords
|
||||
[gh-discussions]: https://github.com/pointfreeco/swift-composable-architecture/discussions
|
||||
[swift-forum]: https://forums.swift.org/c/related-projects/swift-composable-architecture
|
||||
[testing-article]: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/testingtca
|
||||
[faq-article]: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/faq
|
||||
[dependencies-article]: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/dependencymanagement
|
||||
[getting-started-article]: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/gettingstarted
|
||||
[navigation-article]: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/navigation
|
||||
[performance-article]: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/performance
|
||||
[concurrency-article]: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/swiftconcurrency
|
||||
[bindings-article]: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/bindings
|
||||
[sharing-state-article]: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/sharingstate
|
||||
[meet-tca]: https://pointfreeco.github.io/swift-composable-architecture/main/tutorials/meetcomposablearchitecture
|
||||
[testing-article]: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/testingtca
|
||||
[faq-article]: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/faq
|
||||
[dependencies-article]: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/dependencymanagement
|
||||
[getting-started-article]: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/gettingstarted
|
||||
[navigation-article]: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/navigation
|
||||
[performance-article]: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/performance
|
||||
[concurrency-article]: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/swiftconcurrency
|
||||
[bindings-article]: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/bindings
|
||||
[sharing-state-article]: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/sharingstate
|
||||
[meet-tca]: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/tutorials/meetcomposablearchitecture
|
||||
|
||||
@@ -56,4 +56,4 @@ as any reducer `Feature` uses under the hood, _and_ any effects produced by `Fea
|
||||
[environment-values-docs]: https://developer.apple.com/documentation/swiftui/environmentvalues
|
||||
[xctest-dynamic-overlay-gh]: http://github.com/pointfreeco/xctest-dynamic-overlay
|
||||
[swift-dependencies-gh]: http://github.com/pointfreeco/swift-dependencies
|
||||
[swift-deps-docs]: https://pointfreeco.github.io/swift-dependencies/main/documentation/dependencies/
|
||||
[swift-deps-docs]: https://swiftpackageindex.com/pointfreeco/swift-dependencies/main/documentation/dependencies
|
||||
|
||||
@@ -64,10 +64,10 @@
|
||||
- [Voice memos](https://github.com/pointfreeco/swift-composable-architecture/tree/main/Examples/VoiceMemos)
|
||||
}
|
||||
|
||||
@Documentation(destination: "https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/") {
|
||||
@Documentation(destination: "https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/") {
|
||||
Browse the full documentation online.
|
||||
|
||||
- [GitHub](https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture)
|
||||
- [GitHub](https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -104,25 +104,25 @@
|
||||
iOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use 'Result', instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Moving-off-of-TaskResult"
|
||||
"Use 'Result', instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Moving-off-of-TaskResult"
|
||||
)
|
||||
@available(
|
||||
macOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use 'Result', instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Moving-off-of-TaskResult"
|
||||
"Use 'Result', instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Moving-off-of-TaskResult"
|
||||
)
|
||||
@available(
|
||||
tvOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use 'Result', instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Moving-off-of-TaskResult"
|
||||
"Use 'Result', instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Moving-off-of-TaskResult"
|
||||
)
|
||||
@available(
|
||||
watchOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use 'Result', instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Moving-off-of-TaskResult"
|
||||
"Use 'Result', instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Moving-off-of-TaskResult"
|
||||
)
|
||||
public enum TaskResult<Success: Sendable>: Sendable {
|
||||
/// A success, storing a `Success` value.
|
||||
|
||||
@@ -30,25 +30,25 @@
|
||||
iOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use '@ObservableState' and the 'scope' operation on bindable stores. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.13"
|
||||
"Use '@ObservableState' and the 'scope' operation on bindable stores. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.13"
|
||||
)
|
||||
@available(
|
||||
macOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use '@ObservableState' and the 'scope' operation on bindable stores. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.13"
|
||||
"Use '@ObservableState' and the 'scope' operation on bindable stores. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.13"
|
||||
)
|
||||
@available(
|
||||
tvOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use '@ObservableState' and the 'scope' operation on bindable stores. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.13"
|
||||
"Use '@ObservableState' and the 'scope' operation on bindable stores. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.13"
|
||||
)
|
||||
@available(
|
||||
watchOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use '@ObservableState' and the 'scope' operation on bindable stores. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.13"
|
||||
"Use '@ObservableState' and the 'scope' operation on bindable stores. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.13"
|
||||
)
|
||||
public convenience init<Action>(
|
||||
store: Store<AlertState<Action>, PresentationAction<Action>>
|
||||
@@ -76,25 +76,25 @@
|
||||
iOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use '@ObservableState' and the 'scope' operation on bindable stores. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.13"
|
||||
"Use '@ObservableState' and the 'scope' operation on bindable stores. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.13"
|
||||
)
|
||||
@available(
|
||||
macOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use '@ObservableState' and the 'scope' operation on bindable stores. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.13"
|
||||
"Use '@ObservableState' and the 'scope' operation on bindable stores. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.13"
|
||||
)
|
||||
@available(
|
||||
tvOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use '@ObservableState' and the 'scope' operation on bindable stores. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.13"
|
||||
"Use '@ObservableState' and the 'scope' operation on bindable stores. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.13"
|
||||
)
|
||||
@available(
|
||||
watchOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use '@ObservableState' and the 'scope' operation on bindable stores. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.13"
|
||||
"Use '@ObservableState' and the 'scope' operation on bindable stores. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.13"
|
||||
)
|
||||
public convenience init<Action>(
|
||||
store: Store<ConfirmationDialogState<Action>, PresentationAction<Action>>
|
||||
|
||||
@@ -506,13 +506,12 @@ func uncachedStoreWarning<State, Action>(_ store: Store<State, Action>) -> Strin
|
||||
|
||||
• A parent view scopes on a store using transform functions, which has been \
|
||||
deprecated, instead of with key paths and case paths. Read the migration guide for 1.5 \
|
||||
to update these scopes: https://pointfreeco.github.io/swift-composable-architecture/\
|
||||
main/documentation/composablearchitecture/migratingto1.5
|
||||
to update these scopes: \
|
||||
https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5
|
||||
|
||||
• A parent feature is using deprecated navigation APIs, such as 'IfLetStore', \
|
||||
'SwitchStore', 'ForEachStore', or any navigation view modifiers taking stores instead of \
|
||||
bindings. Read the migration guide for 1.7 to update those APIs: \
|
||||
https://pointfreeco.github.io/swift-composable-architecture/main/documentation/\
|
||||
composablearchitecture/migratingto1.7
|
||||
https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7
|
||||
"""
|
||||
}
|
||||
|
||||
@@ -144,25 +144,25 @@ extension Reducer {
|
||||
iOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use a case key path to an 'IdentifiedAction', instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4"
|
||||
"Use a case key path to an 'IdentifiedAction', instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4"
|
||||
)
|
||||
@available(
|
||||
macOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use a case key path to an 'IdentifiedAction', instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4"
|
||||
"Use a case key path to an 'IdentifiedAction', instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4"
|
||||
)
|
||||
@available(
|
||||
tvOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use a case key path to an 'IdentifiedAction', instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4"
|
||||
"Use a case key path to an 'IdentifiedAction', instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4"
|
||||
)
|
||||
@available(
|
||||
watchOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use a case key path to an 'IdentifiedAction', instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4"
|
||||
"Use a case key path to an 'IdentifiedAction', instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4"
|
||||
)
|
||||
@inlinable
|
||||
@warn_unqualified_access
|
||||
|
||||
@@ -87,25 +87,25 @@ extension Reducer {
|
||||
iOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
)
|
||||
@available(
|
||||
macOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
)
|
||||
@available(
|
||||
tvOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
)
|
||||
@available(
|
||||
watchOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
)
|
||||
@inlinable
|
||||
@warn_unqualified_access
|
||||
|
||||
@@ -105,25 +105,25 @@ extension Reducer {
|
||||
iOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
)
|
||||
@available(
|
||||
macOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
)
|
||||
@available(
|
||||
tvOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
)
|
||||
@available(
|
||||
watchOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
)
|
||||
@inlinable
|
||||
@warn_unqualified_access
|
||||
@@ -152,25 +152,25 @@ extension Reducer {
|
||||
iOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
)
|
||||
@available(
|
||||
macOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
)
|
||||
@available(
|
||||
tvOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
)
|
||||
@available(
|
||||
watchOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
)
|
||||
@inlinable
|
||||
@warn_unqualified_access
|
||||
|
||||
@@ -125,25 +125,25 @@ public struct PresentationState<State> {
|
||||
iOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use the version of this subscript with case key paths, instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
"Use the version of this subscript with case key paths, instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
)
|
||||
@available(
|
||||
macOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use the version of this subscript with case key paths, instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
"Use the version of this subscript with case key paths, instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
)
|
||||
@available(
|
||||
tvOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use the version of this subscript with case key paths, instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
"Use the version of this subscript with case key paths, instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
)
|
||||
@available(
|
||||
watchOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use the version of this subscript with case key paths, instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
"Use the version of this subscript with case key paths, instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
)
|
||||
public subscript<Case>(
|
||||
case path: AnyCasePath<State, Case>,
|
||||
@@ -457,25 +457,25 @@ extension Reducer {
|
||||
iOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
)
|
||||
@available(
|
||||
macOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
)
|
||||
@available(
|
||||
tvOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
)
|
||||
@available(
|
||||
watchOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
)
|
||||
@warn_unqualified_access
|
||||
@inlinable
|
||||
@@ -506,25 +506,25 @@ extension Reducer {
|
||||
iOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
)
|
||||
@available(
|
||||
macOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
)
|
||||
@available(
|
||||
tvOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
)
|
||||
@available(
|
||||
watchOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
)
|
||||
@warn_unqualified_access
|
||||
@inlinable
|
||||
|
||||
@@ -255,25 +255,25 @@ public struct Scope<ParentState, ParentAction, Child: Reducer>: Reducer {
|
||||
iOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
)
|
||||
@available(
|
||||
macOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
)
|
||||
@available(
|
||||
tvOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
)
|
||||
@available(
|
||||
watchOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
)
|
||||
@inlinable
|
||||
public init<ChildState, ChildAction>(
|
||||
@@ -292,25 +292,25 @@ public struct Scope<ParentState, ParentAction, Child: Reducer>: Reducer {
|
||||
iOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
)
|
||||
@available(
|
||||
macOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
)
|
||||
@available(
|
||||
tvOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
)
|
||||
@available(
|
||||
watchOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
)
|
||||
@inlinable
|
||||
public init<ChildState, ChildAction>(
|
||||
|
||||
@@ -97,25 +97,25 @@ public struct StackState<Element> {
|
||||
iOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use the version of this subscript with case key paths, instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
"Use the version of this subscript with case key paths, instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
)
|
||||
@available(
|
||||
macOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use the version of this subscript with case key paths, instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
"Use the version of this subscript with case key paths, instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
)
|
||||
@available(
|
||||
tvOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use the version of this subscript with case key paths, instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
"Use the version of this subscript with case key paths, instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
)
|
||||
@available(
|
||||
watchOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use the version of this subscript with case key paths, instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
"Use the version of this subscript with case key paths, instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
)
|
||||
public subscript<Case>(
|
||||
id id: StackElementID,
|
||||
@@ -403,25 +403,25 @@ extension Reducer {
|
||||
iOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
)
|
||||
@available(
|
||||
macOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
)
|
||||
@available(
|
||||
tvOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
)
|
||||
@available(
|
||||
watchOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
)
|
||||
@inlinable
|
||||
@warn_unqualified_access
|
||||
|
||||
@@ -293,7 +293,7 @@ public final class Store<State, Action>: _Store {
|
||||
*,
|
||||
deprecated,
|
||||
message:
|
||||
"Pass 'state' a key path to child state and 'action' a case key path to child action, instead. For more information see the following migration guide: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Store-scoping-with-key-paths"
|
||||
"Pass 'state' a key path to child state and 'action' a case key path to child action, instead. For more information see the following migration guide: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Store-scoping-with-key-paths"
|
||||
)
|
||||
public func scope<ChildState, ChildAction>(
|
||||
state toChildState: @escaping (_ state: State) -> ChildState,
|
||||
|
||||
@@ -31,22 +31,22 @@ extension View {
|
||||
@available(
|
||||
iOS, deprecated: 9999,
|
||||
message:
|
||||
"Further scope the store into the 'state' and 'action' cases, instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
"Further scope the store into the 'state' and 'action' cases, instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
)
|
||||
@available(
|
||||
macOS, deprecated: 9999,
|
||||
message:
|
||||
"Further scope the store into the 'state' and 'action' cases, instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
"Further scope the store into the 'state' and 'action' cases, instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
)
|
||||
@available(
|
||||
tvOS, deprecated: 9999,
|
||||
message:
|
||||
"Further scope the store into the 'state' and 'action' cases, instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
"Further scope the store into the 'state' and 'action' cases, instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
)
|
||||
@available(
|
||||
watchOS, deprecated: 9999,
|
||||
message:
|
||||
"Further scope the store into the 'state' and 'action' cases, instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
"Further scope the store into the 'state' and 'action' cases, instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
)
|
||||
#if swift(<5.10)
|
||||
@MainActor(unsafe)
|
||||
|
||||
@@ -19,25 +19,25 @@ import SwiftUI
|
||||
iOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Deriving bindings directly from stores using '@ObservableState'. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#BindingState"
|
||||
"Deriving bindings directly from stores using '@ObservableState'. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#BindingState"
|
||||
)
|
||||
@available(
|
||||
macOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Deriving bindings directly from stores using '@ObservableState'. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#BindingState"
|
||||
"Deriving bindings directly from stores using '@ObservableState'. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#BindingState"
|
||||
)
|
||||
@available(
|
||||
tvOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Deriving bindings directly from stores using '@ObservableState'. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#BindingState"
|
||||
"Deriving bindings directly from stores using '@ObservableState'. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#BindingState"
|
||||
)
|
||||
@available(
|
||||
watchOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Deriving bindings directly from stores using '@ObservableState'. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#BindingState"
|
||||
"Deriving bindings directly from stores using '@ObservableState'. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#BindingState"
|
||||
)
|
||||
@propertyWrapper
|
||||
public struct BindingState<Value> {
|
||||
|
||||
@@ -34,22 +34,22 @@ extension View {
|
||||
@available(
|
||||
iOS, deprecated: 9999,
|
||||
message:
|
||||
"Further scope the store into the 'state' and 'action' cases, instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
"Further scope the store into the 'state' and 'action' cases, instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
)
|
||||
@available(
|
||||
macOS, deprecated: 9999,
|
||||
message:
|
||||
"Further scope the store into the 'state' and 'action' cases, instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
"Further scope the store into the 'state' and 'action' cases, instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
)
|
||||
@available(
|
||||
tvOS, deprecated: 9999,
|
||||
message:
|
||||
"Further scope the store into the 'state' and 'action' cases, instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
"Further scope the store into the 'state' and 'action' cases, instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
)
|
||||
@available(
|
||||
watchOS, deprecated: 9999,
|
||||
message:
|
||||
"Further scope the store into the 'state' and 'action' cases, instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
"Further scope the store into the 'state' and 'action' cases, instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
)
|
||||
#if swift(<5.10)
|
||||
@MainActor(unsafe)
|
||||
|
||||
@@ -87,22 +87,22 @@ import SwiftUI
|
||||
@available(
|
||||
iOS, deprecated: 9999,
|
||||
message:
|
||||
"Pass 'ForEach' a store scoped to an identified array and identified action, instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-ForEachStore-with-ForEach]"
|
||||
"Pass 'ForEach' a store scoped to an identified array and identified action, instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-ForEachStore-with-ForEach]"
|
||||
)
|
||||
@available(
|
||||
macOS, deprecated: 9999,
|
||||
message:
|
||||
"Pass 'ForEach' a store scoped to an identified array and identified action, instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-ForEachStore-with-ForEach]"
|
||||
"Pass 'ForEach' a store scoped to an identified array and identified action, instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-ForEachStore-with-ForEach]"
|
||||
)
|
||||
@available(
|
||||
tvOS, deprecated: 9999,
|
||||
message:
|
||||
"Pass 'ForEach' a store scoped to an identified array and identified action, instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-ForEachStore-with-ForEach]"
|
||||
"Pass 'ForEach' a store scoped to an identified array and identified action, instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-ForEachStore-with-ForEach]"
|
||||
)
|
||||
@available(
|
||||
watchOS, deprecated: 9999,
|
||||
message:
|
||||
"Pass 'ForEach' a store scoped to an identified array and identified action, instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-ForEachStore-with-ForEach]"
|
||||
"Pass 'ForEach' a store scoped to an identified array and identified action, instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-ForEachStore-with-ForEach]"
|
||||
)
|
||||
public struct ForEachStore<
|
||||
EachState, EachAction, Data: Collection, ID: Hashable & Sendable, Content: View
|
||||
@@ -168,25 +168,25 @@ public struct ForEachStore<
|
||||
iOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use an 'IdentifiedAction', instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Identified-actions"
|
||||
"Use an 'IdentifiedAction', instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Identified-actions"
|
||||
)
|
||||
@available(
|
||||
macOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use an 'IdentifiedAction', instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Identified-actions"
|
||||
"Use an 'IdentifiedAction', instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Identified-actions"
|
||||
)
|
||||
@available(
|
||||
tvOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use an 'IdentifiedAction', instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Identified-actions"
|
||||
"Use an 'IdentifiedAction', instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Identified-actions"
|
||||
)
|
||||
@available(
|
||||
watchOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use an 'IdentifiedAction', instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Identified-actions"
|
||||
"Use an 'IdentifiedAction', instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Identified-actions"
|
||||
)
|
||||
#if swift(<5.10)
|
||||
@MainActor(unsafe)
|
||||
|
||||
@@ -21,22 +21,22 @@ import SwiftUI
|
||||
@available(
|
||||
iOS, deprecated: 9999,
|
||||
message:
|
||||
"Pass a binding of a store to 'fullScreenCover(item:)' instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-navigation-view-modifiers-with-SwiftUI-modifiers]"
|
||||
"Pass a binding of a store to 'fullScreenCover(item:)' instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-navigation-view-modifiers-with-SwiftUI-modifiers]"
|
||||
)
|
||||
@available(
|
||||
macOS, deprecated: 9999,
|
||||
message:
|
||||
"Pass a binding of a store to 'fullScreenCover(item:)' instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-navigation-view-modifiers-with-SwiftUI-modifiers]"
|
||||
"Pass a binding of a store to 'fullScreenCover(item:)' instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-navigation-view-modifiers-with-SwiftUI-modifiers]"
|
||||
)
|
||||
@available(
|
||||
tvOS, deprecated: 9999,
|
||||
message:
|
||||
"Pass a binding of a store to 'fullScreenCover(item:)' instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-navigation-view-modifiers-with-SwiftUI-modifiers]"
|
||||
"Pass a binding of a store to 'fullScreenCover(item:)' instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-navigation-view-modifiers-with-SwiftUI-modifiers]"
|
||||
)
|
||||
@available(
|
||||
watchOS, deprecated: 9999,
|
||||
message:
|
||||
"Pass a binding of a store to 'fullScreenCover(item:)' instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-navigation-view-modifiers-with-SwiftUI-modifiers]"
|
||||
"Pass a binding of a store to 'fullScreenCover(item:)' instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-navigation-view-modifiers-with-SwiftUI-modifiers]"
|
||||
)
|
||||
public func fullScreenCover<State, Action, Content: View>(
|
||||
store: Store<PresentationState<State>, PresentationAction<Action>>,
|
||||
@@ -70,22 +70,22 @@ import SwiftUI
|
||||
@available(
|
||||
iOS, deprecated: 9999,
|
||||
message:
|
||||
"Further scope the store into the 'state' and 'action' cases, instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
"Further scope the store into the 'state' and 'action' cases, instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
)
|
||||
@available(
|
||||
macOS, deprecated: 9999,
|
||||
message:
|
||||
"Further scope the store into the 'state' and 'action' cases, instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
"Further scope the store into the 'state' and 'action' cases, instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
)
|
||||
@available(
|
||||
tvOS, deprecated: 9999,
|
||||
message:
|
||||
"Further scope the store into the 'state' and 'action' cases, instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
"Further scope the store into the 'state' and 'action' cases, instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
)
|
||||
@available(
|
||||
watchOS, deprecated: 9999,
|
||||
message:
|
||||
"Further scope the store into the 'state' and 'action' cases, instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
"Further scope the store into the 'state' and 'action' cases, instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
)
|
||||
public func fullScreenCover<State, Action, DestinationState, DestinationAction, Content: View>(
|
||||
store: Store<PresentationState<State>, PresentationAction<Action>>,
|
||||
|
||||
@@ -21,22 +21,22 @@ import SwiftUI
|
||||
@available(
|
||||
iOS, deprecated: 9999,
|
||||
message:
|
||||
"Use 'if let' with a store of observable state, instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-IfLetStore-with-if-let]"
|
||||
"Use 'if let' with a store of observable state, instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-IfLetStore-with-if-let]"
|
||||
)
|
||||
@available(
|
||||
macOS, deprecated: 9999,
|
||||
message:
|
||||
"Use 'if let' with a store of observable state, instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-IfLetStore-with-if-let]"
|
||||
"Use 'if let' with a store of observable state, instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-IfLetStore-with-if-let]"
|
||||
)
|
||||
@available(
|
||||
tvOS, deprecated: 9999,
|
||||
message:
|
||||
"Use 'if let' with a store of observable state, instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-IfLetStore-with-if-let]"
|
||||
"Use 'if let' with a store of observable state, instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-IfLetStore-with-if-let]"
|
||||
)
|
||||
@available(
|
||||
watchOS, deprecated: 9999,
|
||||
message:
|
||||
"Use 'if let' with a store of observable state, instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-IfLetStore-with-if-let]"
|
||||
"Use 'if let' with a store of observable state, instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-IfLetStore-with-if-let]"
|
||||
)
|
||||
public struct IfLetStore<State, Action, Content: View>: View {
|
||||
private let content: (ViewStore<State?, Action>) -> Content
|
||||
@@ -142,22 +142,22 @@ public struct IfLetStore<State, Action, Content: View>: View {
|
||||
@available(
|
||||
iOS, deprecated: 9999,
|
||||
message:
|
||||
"Scope the store into the destination's wrapped 'state' and presented 'action', instead: 'store.scope(state: \\.destination, action: \\.destination.presented)'. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
"Scope the store into the destination's wrapped 'state' and presented 'action', instead: 'store.scope(state: \\.destination, action: \\.destination.presented)'. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
)
|
||||
@available(
|
||||
macOS, deprecated: 9999,
|
||||
message:
|
||||
"Scope the store into the destination's wrapped 'state' and presented 'action', instead: 'store.scope(state: \\.destination, action: \\.destination.presented)'. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
"Scope the store into the destination's wrapped 'state' and presented 'action', instead: 'store.scope(state: \\.destination, action: \\.destination.presented)'. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
)
|
||||
@available(
|
||||
tvOS, deprecated: 9999,
|
||||
message:
|
||||
"Scope the store into the destination's wrapped 'state' and presented 'action', instead: 'store.scope(state: \\.destination, action: \\.destination.presented)'. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
"Scope the store into the destination's wrapped 'state' and presented 'action', instead: 'store.scope(state: \\.destination, action: \\.destination.presented)'. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
)
|
||||
@available(
|
||||
watchOS, deprecated: 9999,
|
||||
message:
|
||||
"Scope the store into the destination's wrapped 'state' and presented 'action', instead: 'store.scope(state: \\.destination, action: \\.destination.presented)'. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
"Scope the store into the destination's wrapped 'state' and presented 'action', instead: 'store.scope(state: \\.destination, action: \\.destination.presented)'. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
)
|
||||
#if swift(<5.10)
|
||||
@MainActor(unsafe)
|
||||
@@ -186,22 +186,22 @@ public struct IfLetStore<State, Action, Content: View>: View {
|
||||
@available(
|
||||
iOS, deprecated: 9999,
|
||||
message:
|
||||
"Scope the store into the destination's wrapped 'state' and presented 'action', instead: 'store.scope(state: \\.destination, action: \\.destination.presented)'. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
"Scope the store into the destination's wrapped 'state' and presented 'action', instead: 'store.scope(state: \\.destination, action: \\.destination.presented)'. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
)
|
||||
@available(
|
||||
macOS, deprecated: 9999,
|
||||
message:
|
||||
"Scope the store into the destination's wrapped 'state' and presented 'action', instead: 'store.scope(state: \\.destination, action: \\.destination.presented)'. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
"Scope the store into the destination's wrapped 'state' and presented 'action', instead: 'store.scope(state: \\.destination, action: \\.destination.presented)'. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
)
|
||||
@available(
|
||||
tvOS, deprecated: 9999,
|
||||
message:
|
||||
"Scope the store into the destination's wrapped 'state' and presented 'action', instead: 'store.scope(state: \\.destination, action: \\.destination.presented)'. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
"Scope the store into the destination's wrapped 'state' and presented 'action', instead: 'store.scope(state: \\.destination, action: \\.destination.presented)'. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
)
|
||||
@available(
|
||||
watchOS, deprecated: 9999,
|
||||
message:
|
||||
"Scope the store into the destination's wrapped 'state' and presented 'action', instead: 'store.scope(state: \\.destination, action: \\.destination.presented)'. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
"Scope the store into the destination's wrapped 'state' and presented 'action', instead: 'store.scope(state: \\.destination, action: \\.destination.presented)'. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
)
|
||||
#if swift(<5.10)
|
||||
@MainActor(unsafe)
|
||||
@@ -235,7 +235,7 @@ public struct IfLetStore<State, Action, Content: View>: View {
|
||||
@available(
|
||||
*, deprecated,
|
||||
message:
|
||||
"Further scope the store into the 'state' and 'action' cases, instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
"Further scope the store into the 'state' and 'action' cases, instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
)
|
||||
#if swift(<5.10)
|
||||
@MainActor(unsafe)
|
||||
@@ -274,7 +274,7 @@ public struct IfLetStore<State, Action, Content: View>: View {
|
||||
@available(
|
||||
*, deprecated,
|
||||
message:
|
||||
"Further scope the store into the 'state' and 'action' cases, instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
"Further scope the store into the 'state' and 'action' cases, instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
)
|
||||
#if swift(<5.10)
|
||||
@MainActor(unsafe)
|
||||
|
||||
@@ -19,22 +19,22 @@ extension View {
|
||||
@available(
|
||||
iOS, deprecated: 9999,
|
||||
message:
|
||||
"Pass a binding of a store to 'navigationDestination(item:)' instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-navigation-view-modifiers-with-SwiftUI-modifiers]"
|
||||
"Pass a binding of a store to 'navigationDestination(item:)' instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-navigation-view-modifiers-with-SwiftUI-modifiers]"
|
||||
)
|
||||
@available(
|
||||
macOS, deprecated: 9999,
|
||||
message:
|
||||
"Pass a binding of a store to 'navigationDestination(item:)' instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-navigation-view-modifiers-with-SwiftUI-modifiers]"
|
||||
"Pass a binding of a store to 'navigationDestination(item:)' instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-navigation-view-modifiers-with-SwiftUI-modifiers]"
|
||||
)
|
||||
@available(
|
||||
tvOS, deprecated: 9999,
|
||||
message:
|
||||
"Pass a binding of a store to 'navigationDestination(item:)' instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-navigation-view-modifiers-with-SwiftUI-modifiers]"
|
||||
"Pass a binding of a store to 'navigationDestination(item:)' instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-navigation-view-modifiers-with-SwiftUI-modifiers]"
|
||||
)
|
||||
@available(
|
||||
watchOS, deprecated: 9999,
|
||||
message:
|
||||
"Pass a binding of a store to 'navigationDestination(item:)' instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-navigation-view-modifiers-with-SwiftUI-modifiers]"
|
||||
"Pass a binding of a store to 'navigationDestination(item:)' instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-navigation-view-modifiers-with-SwiftUI-modifiers]"
|
||||
)
|
||||
#if swift(<5.10)
|
||||
@MainActor(unsafe)
|
||||
@@ -75,22 +75,22 @@ extension View {
|
||||
@available(
|
||||
iOS, deprecated: 9999,
|
||||
message:
|
||||
"Further scope the store into the 'state' and 'action' cases, instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
"Further scope the store into the 'state' and 'action' cases, instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
)
|
||||
@available(
|
||||
macOS, deprecated: 9999,
|
||||
message:
|
||||
"Further scope the store into the 'state' and 'action' cases, instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
"Further scope the store into the 'state' and 'action' cases, instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
)
|
||||
@available(
|
||||
tvOS, deprecated: 9999,
|
||||
message:
|
||||
"Further scope the store into the 'state' and 'action' cases, instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
"Further scope the store into the 'state' and 'action' cases, instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
)
|
||||
@available(
|
||||
watchOS, deprecated: 9999,
|
||||
message:
|
||||
"Further scope the store into the 'state' and 'action' cases, instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
"Further scope the store into the 'state' and 'action' cases, instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
)
|
||||
#if swift(<5.10)
|
||||
@MainActor(unsafe)
|
||||
|
||||
@@ -11,22 +11,22 @@ import SwiftUI
|
||||
@available(
|
||||
iOS, deprecated: 9999,
|
||||
message:
|
||||
"Use 'NavigationStack.init(path:)' with a store scoped from observable state, instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-NavigationStackStore-with-NavigationStack]"
|
||||
"Use 'NavigationStack.init(path:)' with a store scoped from observable state, instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-NavigationStackStore-with-NavigationStack]"
|
||||
)
|
||||
@available(
|
||||
macOS, deprecated: 9999,
|
||||
message:
|
||||
"Use 'NavigationStack.init(path:)' with a store scoped from observable state, instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-NavigationStackStore-with-NavigationStack]"
|
||||
"Use 'NavigationStack.init(path:)' with a store scoped from observable state, instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-NavigationStackStore-with-NavigationStack]"
|
||||
)
|
||||
@available(
|
||||
tvOS, deprecated: 9999,
|
||||
message:
|
||||
"Use 'NavigationStack.init(path:)' with a store scoped from observable state, instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-NavigationStackStore-with-NavigationStack]"
|
||||
"Use 'NavigationStack.init(path:)' with a store scoped from observable state, instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-NavigationStackStore-with-NavigationStack]"
|
||||
)
|
||||
@available(
|
||||
watchOS, deprecated: 9999,
|
||||
message:
|
||||
"Use 'NavigationStack.init(path:)' with a store scoped from observable state, instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-NavigationStackStore-with-NavigationStack]"
|
||||
"Use 'NavigationStack.init(path:)' with a store scoped from observable state, instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-NavigationStackStore-with-NavigationStack]"
|
||||
)
|
||||
@available(iOS 16, macOS 13, tvOS 16, watchOS 9, *)
|
||||
public struct NavigationStackStore<State, Action, Root: View, Destination: View>: View {
|
||||
|
||||
@@ -20,22 +20,22 @@ extension View {
|
||||
@available(
|
||||
iOS, deprecated: 9999,
|
||||
message:
|
||||
"Pass a binding of a store to 'popover(item:)' instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-navigation-view-modifiers-with-SwiftUI-modifiers]"
|
||||
"Pass a binding of a store to 'popover(item:)' instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-navigation-view-modifiers-with-SwiftUI-modifiers]"
|
||||
)
|
||||
@available(
|
||||
macOS, deprecated: 9999,
|
||||
message:
|
||||
"Pass a binding of a store to 'popover(item:)' instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-navigation-view-modifiers-with-SwiftUI-modifiers]"
|
||||
"Pass a binding of a store to 'popover(item:)' instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-navigation-view-modifiers-with-SwiftUI-modifiers]"
|
||||
)
|
||||
@available(
|
||||
tvOS, deprecated: 9999,
|
||||
message:
|
||||
"Pass a binding of a store to 'popover(item:)' instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-navigation-view-modifiers-with-SwiftUI-modifiers]"
|
||||
"Pass a binding of a store to 'popover(item:)' instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-navigation-view-modifiers-with-SwiftUI-modifiers]"
|
||||
)
|
||||
@available(
|
||||
watchOS, deprecated: 9999,
|
||||
message:
|
||||
"Pass a binding of a store to 'popover(item:)' instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-navigation-view-modifiers-with-SwiftUI-modifiers]"
|
||||
"Pass a binding of a store to 'popover(item:)' instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-navigation-view-modifiers-with-SwiftUI-modifiers]"
|
||||
)
|
||||
#if swift(<5.10)
|
||||
@MainActor(unsafe)
|
||||
@@ -75,22 +75,22 @@ extension View {
|
||||
@available(
|
||||
iOS, deprecated: 9999,
|
||||
message:
|
||||
"Further scope the store into the 'state' and 'action' cases, instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
"Further scope the store into the 'state' and 'action' cases, instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
)
|
||||
@available(
|
||||
macOS, deprecated: 9999,
|
||||
message:
|
||||
"Further scope the store into the 'state' and 'action' cases, instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
"Further scope the store into the 'state' and 'action' cases, instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
)
|
||||
@available(
|
||||
tvOS, deprecated: 9999,
|
||||
message:
|
||||
"Further scope the store into the 'state' and 'action' cases, instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
"Further scope the store into the 'state' and 'action' cases, instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
)
|
||||
@available(
|
||||
watchOS, deprecated: 9999,
|
||||
message:
|
||||
"Further scope the store into the 'state' and 'action' cases, instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
"Further scope the store into the 'state' and 'action' cases, instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
)
|
||||
#if swift(<5.10)
|
||||
@MainActor(unsafe)
|
||||
|
||||
@@ -16,22 +16,22 @@ extension View {
|
||||
@available(
|
||||
iOS, deprecated: 9999,
|
||||
message:
|
||||
"Pass a binding of a store to 'sheet(item:)' instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-navigation-view-modifiers-with-SwiftUI-modifiers]"
|
||||
"Pass a binding of a store to 'sheet(item:)' instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-navigation-view-modifiers-with-SwiftUI-modifiers]"
|
||||
)
|
||||
@available(
|
||||
macOS, deprecated: 9999,
|
||||
message:
|
||||
"Pass a binding of a store to 'sheet(item:)' instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-navigation-view-modifiers-with-SwiftUI-modifiers]"
|
||||
"Pass a binding of a store to 'sheet(item:)' instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-navigation-view-modifiers-with-SwiftUI-modifiers]"
|
||||
)
|
||||
@available(
|
||||
tvOS, deprecated: 9999,
|
||||
message:
|
||||
"Pass a binding of a store to 'sheet(item:)' instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-navigation-view-modifiers-with-SwiftUI-modifiers]"
|
||||
"Pass a binding of a store to 'sheet(item:)' instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-navigation-view-modifiers-with-SwiftUI-modifiers]"
|
||||
)
|
||||
@available(
|
||||
watchOS, deprecated: 9999,
|
||||
message:
|
||||
"Pass a binding of a store to 'sheet(item:)' instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-navigation-view-modifiers-with-SwiftUI-modifiers]"
|
||||
"Pass a binding of a store to 'sheet(item:)' instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-navigation-view-modifiers-with-SwiftUI-modifiers]"
|
||||
)
|
||||
#if swift(<5.10)
|
||||
@MainActor(unsafe)
|
||||
@@ -68,22 +68,22 @@ extension View {
|
||||
@available(
|
||||
iOS, deprecated: 9999,
|
||||
message:
|
||||
"Further scope the store into the 'state' and 'action' cases, instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
"Further scope the store into the 'state' and 'action' cases, instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
)
|
||||
@available(
|
||||
macOS, deprecated: 9999,
|
||||
message:
|
||||
"Further scope the store into the 'state' and 'action' cases, instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
"Further scope the store into the 'state' and 'action' cases, instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
)
|
||||
@available(
|
||||
tvOS, deprecated: 9999,
|
||||
message:
|
||||
"Further scope the store into the 'state' and 'action' cases, instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
"Further scope the store into the 'state' and 'action' cases, instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
)
|
||||
@available(
|
||||
watchOS, deprecated: 9999,
|
||||
message:
|
||||
"Further scope the store into the 'state' and 'action' cases, instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
"Further scope the store into the 'state' and 'action' cases, instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5#Enum-driven-navigation-APIs"
|
||||
)
|
||||
#if swift(<5.10)
|
||||
@MainActor(unsafe)
|
||||
|
||||
@@ -56,22 +56,22 @@ import SwiftUI
|
||||
@available(
|
||||
iOS, deprecated: 9999,
|
||||
message:
|
||||
"Use 'switch' with a store of observable state, instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-SwitchStore-and-CaseLet-with-switch-and-case]"
|
||||
"Use 'switch' with a store of observable state, instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-SwitchStore-and-CaseLet-with-switch-and-case]"
|
||||
)
|
||||
@available(
|
||||
macOS, deprecated: 9999,
|
||||
message:
|
||||
"Use 'switch' with a store of observable state, instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-SwitchStore-and-CaseLet-with-switch-and-case]"
|
||||
"Use 'switch' with a store of observable state, instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-SwitchStore-and-CaseLet-with-switch-and-case]"
|
||||
)
|
||||
@available(
|
||||
tvOS, deprecated: 9999,
|
||||
message:
|
||||
"Use 'switch' with a store of observable state, instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-SwitchStore-and-CaseLet-with-switch-and-case]"
|
||||
"Use 'switch' with a store of observable state, instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-SwitchStore-and-CaseLet-with-switch-and-case]"
|
||||
)
|
||||
@available(
|
||||
watchOS, deprecated: 9999,
|
||||
message:
|
||||
"Use 'switch' with a store of observable state, instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-SwitchStore-and-CaseLet-with-switch-and-case]"
|
||||
"Use 'switch' with a store of observable state, instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-SwitchStore-and-CaseLet-with-switch-and-case]"
|
||||
)
|
||||
public struct SwitchStore<State, Action, Content: View>: View {
|
||||
public let store: Store<State, Action>
|
||||
@@ -99,22 +99,22 @@ public struct SwitchStore<State, Action, Content: View>: View {
|
||||
@available(
|
||||
iOS, deprecated: 9999,
|
||||
message:
|
||||
"Use 'switch' with a store of observable state, instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-SwitchStore-and-CaseLet-with-switch-and-case]"
|
||||
"Use 'switch' with a store of observable state, instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-SwitchStore-and-CaseLet-with-switch-and-case]"
|
||||
)
|
||||
@available(
|
||||
macOS, deprecated: 9999,
|
||||
message:
|
||||
"Use 'switch' with a store of observable state, instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-SwitchStore-and-CaseLet-with-switch-and-case]"
|
||||
"Use 'switch' with a store of observable state, instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-SwitchStore-and-CaseLet-with-switch-and-case]"
|
||||
)
|
||||
@available(
|
||||
tvOS, deprecated: 9999,
|
||||
message:
|
||||
"Use 'switch' with a store of observable state, instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-SwitchStore-and-CaseLet-with-switch-and-case]"
|
||||
"Use 'switch' with a store of observable state, instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-SwitchStore-and-CaseLet-with-switch-and-case]"
|
||||
)
|
||||
@available(
|
||||
watchOS, deprecated: 9999,
|
||||
message:
|
||||
"Use 'switch' with a store of observable state, instead. For more information, see the following article: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-SwitchStore-and-CaseLet-with-switch-and-case]"
|
||||
"Use 'switch' with a store of observable state, instead. For more information, see the following article: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Replacing-SwitchStore-and-CaseLet-with-switch-and-case]"
|
||||
)
|
||||
public struct CaseLet<EnumState, EnumAction, CaseState, CaseAction, Content: View>: View {
|
||||
public let toCaseState: (EnumState) -> CaseState?
|
||||
|
||||
@@ -318,25 +318,25 @@ import SwiftUI
|
||||
iOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use '@ObservableState', instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Using-ObservableState"
|
||||
"Use '@ObservableState', instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Using-ObservableState"
|
||||
)
|
||||
@available(
|
||||
macOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use '@ObservableState', instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Using-ObservableState"
|
||||
"Use '@ObservableState', instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Using-ObservableState"
|
||||
)
|
||||
@available(
|
||||
tvOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use '@ObservableState', instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Using-ObservableState"
|
||||
"Use '@ObservableState', instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Using-ObservableState"
|
||||
)
|
||||
@available(
|
||||
watchOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use '@ObservableState', instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Using-ObservableState"
|
||||
"Use '@ObservableState', instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Using-ObservableState"
|
||||
)
|
||||
public struct WithViewStore<ViewState, ViewAction, Content: View>: View {
|
||||
private let content: (ViewStore<ViewState, ViewAction>) -> Content
|
||||
|
||||
@@ -1810,25 +1810,25 @@ extension TestStore {
|
||||
iOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
)
|
||||
@available(
|
||||
macOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
)
|
||||
@available(
|
||||
tvOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
)
|
||||
@available(
|
||||
watchOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
)
|
||||
@_disfavoredOverload
|
||||
public func receive<Value>(
|
||||
@@ -1997,28 +1997,28 @@ extension TestStore {
|
||||
introduced: 16,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
)
|
||||
@available(
|
||||
macOS,
|
||||
introduced: 13,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
)
|
||||
@available(
|
||||
tvOS,
|
||||
introduced: 16,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
)
|
||||
@available(
|
||||
watchOS,
|
||||
introduced: 9,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
)
|
||||
public func receive<Value>(
|
||||
_ actionCase: AnyCasePath<Action, Value>,
|
||||
@@ -2590,25 +2590,25 @@ extension TestStore {
|
||||
iOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
)
|
||||
@available(
|
||||
macOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
)
|
||||
@available(
|
||||
tvOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
)
|
||||
@available(
|
||||
watchOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
"Use the version of this operator with case key paths, instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.4#Using-case-key-paths"
|
||||
)
|
||||
public func bindings<ViewAction: BindableAction>(
|
||||
action toViewAction: AnyCasePath<Action, ViewAction>
|
||||
|
||||
@@ -60,25 +60,25 @@ import SwiftUI
|
||||
iOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use '@ObservableState', instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Using-ObservableState"
|
||||
"Use '@ObservableState', instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Using-ObservableState"
|
||||
)
|
||||
@available(
|
||||
macOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use '@ObservableState', instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Using-ObservableState"
|
||||
"Use '@ObservableState', instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Using-ObservableState"
|
||||
)
|
||||
@available(
|
||||
tvOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use '@ObservableState', instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Using-ObservableState"
|
||||
"Use '@ObservableState', instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Using-ObservableState"
|
||||
)
|
||||
@available(
|
||||
watchOS,
|
||||
deprecated: 9999,
|
||||
message:
|
||||
"Use '@ObservableState', instead. See the following migration guide for more information: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Using-ObservableState"
|
||||
"Use '@ObservableState', instead. See the following migration guide for more information: https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7#Using-ObservableState"
|
||||
)
|
||||
@dynamicMemberLookup
|
||||
#if swift(<5.10)
|
||||
|
||||
@@ -22,14 +22,13 @@ final class ScopeCacheTests: BaseTCATestCase {
|
||||
|
||||
• A parent view scopes on a store using transform functions, which has been deprecated, \
|
||||
instead of with key paths and case paths. Read the migration guide for 1.5 to update these \
|
||||
scopes: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/\
|
||||
composablearchitecture/migratingto1.5
|
||||
scopes: \
|
||||
https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5
|
||||
|
||||
• A parent feature is using deprecated navigation APIs, such as 'IfLetStore', \
|
||||
'SwitchStore', 'ForEachStore', or any navigation view modifiers taking stores instead of \
|
||||
bindings. Read the migration guide for 1.7 to update those APIs: \
|
||||
https://pointfreeco.github.io/swift-composable-architecture/main/documentation/\
|
||||
composablearchitecture/migratingto1.7
|
||||
https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7
|
||||
"""
|
||||
}
|
||||
store.send(.child(.dismiss))
|
||||
@@ -84,14 +83,13 @@ final class ScopeCacheTests: BaseTCATestCase {
|
||||
|
||||
• A parent view scopes on a store using transform functions, which has been deprecated, \
|
||||
instead of with key paths and case paths. Read the migration guide for 1.5 to update these \
|
||||
scopes: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/\
|
||||
composablearchitecture/migratingto1.5
|
||||
scopes: \
|
||||
https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5
|
||||
|
||||
• A parent feature is using deprecated navigation APIs, such as 'IfLetStore', \
|
||||
'SwitchStore', 'ForEachStore', or any navigation view modifiers taking stores instead of \
|
||||
bindings. Read the migration guide for 1.7 to update those APIs: \
|
||||
https://pointfreeco.github.io/swift-composable-architecture/main/documentation/\
|
||||
composablearchitecture/migratingto1.7
|
||||
https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7
|
||||
"""
|
||||
}
|
||||
}
|
||||
@@ -131,14 +129,13 @@ final class ScopeCacheTests: BaseTCATestCase {
|
||||
|
||||
• A parent view scopes on a store using transform functions, which has been deprecated, \
|
||||
instead of with key paths and case paths. Read the migration guide for 1.5 to update these \
|
||||
scopes: https://pointfreeco.github.io/swift-composable-architecture/main/documentation/\
|
||||
composablearchitecture/migratingto1.5
|
||||
scopes: \
|
||||
https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.5
|
||||
|
||||
• A parent feature is using deprecated navigation APIs, such as 'IfLetStore', \
|
||||
'SwitchStore', 'ForEachStore', or any navigation view modifiers taking stores instead of \
|
||||
bindings. Read the migration guide for 1.7 to update those APIs: \
|
||||
https://pointfreeco.github.io/swift-composable-architecture/main/documentation/\
|
||||
composablearchitecture/migratingto1.7
|
||||
https://swiftpackageindex.com/pointfreeco/swift-composable-architecture/main/documentation/composablearchitecture/migratingto1.7
|
||||
"""
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user