Skip to content

Commit c432a76

Browse files
stephencelismbrandonwBerhtulfJager-yooJacksonUtsch
authored
Navigation (pointfreeco#1945)
* wip * fix * wip * wip * move * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Fix * wip * wip * Renamed action to onTap in NavigationLinkStore (pointfreeco#2043) Renamed the `action` parameter to mirror other inits and differentiate itself from `action fromDestinationAction` * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Tie view identity to stack element identity * Tie item identity to case * wip * wip * cleanup * fix * fix * Add warning to nav link * wip * wip * Rename FullscreenCover.swift to FullScreenCover.swift (pointfreeco#2062) * wip * fix isDetailLink on non-iOS platforms * Correct some comments in Effect.swift (pointfreeco#2081) * add integration tests for showing alert/dialog from alert/dialog. * copy StackElementIDGenerator dependency before running TestStore receive closure. * Removed some unneeded delegate actions. * wip * clean up * lots of clean up * Converted voice memos back to identified array * update deps * update docs for DismissEffect * wip * Add Sendable conformance to PresentationState (pointfreeco#2086) * wip * swift-format * wip * wip * docs * wip * wip * Catch some typos in Articles (pointfreeco#2088) * wip * wip * wip * wip * wip * docs * wip * wip * docs * wip * wip * wip * wip * docs * docs * wip * wip * wip * wip * wip * wip * wip * Fix invalid states count for 3 optionals and typos (pointfreeco#2094) * wip * wip * more dismisseffect docs * fixed some references * navigation doc corrections * more nav docs * fix cancellation tests in release mode * wrap some tests in #if DEBUG since they are testing expected failures * update UUIDs in tests to use shorter initializer * fixed a todo * wip * fix merge errors * wip * fix * wip * wip * fixing a bunch of todos * get rid of rawvalue in StackElementID * more todos * NavLinkStore docs * fix swift 5.6 stuff * fix some standups tests * fix * clean up * docs fix * fixes * wip * 5.6 fix * wip * wip * dont parallelize tests * updated demo readmes * wip * Use ObservedObject instead of StateObject for alert/dialog modifiers. * integration tests for bad dismissal behavior * check for runtime warnings in every integration test * wip * wip * fix * wip * wip * wip * wip * wip * Drop a bunch of Hashables. * some nav bug fixes * wip * wip * wip * fix * fix * wip * wip * Simplify recording test. * add concurrent async test * fix * wip * Refact how detail dismisses itself. * fix * 5.6 fix * wip * wip * Add TestStore.assert. * Revert "Add TestStore.assert." This reverts commit a892ccc. * add Ukrainian Readme.md (pointfreeco#2121) * Add TestStore.assert. (pointfreeco#2123) * Add TestStore.assert. * wip * Update Sources/ComposableArchitecture/TestStore.swift Co-authored-by: Stephen Celis <[email protected]> * Update Sources/ComposableArchitecture/Documentation.docc/Extensions/TestStore.md Co-authored-by: Stephen Celis <[email protected]> * fix tests --------- Co-authored-by: Stephen Celis <[email protected]> * Run swift-format * push for store.finish and presentation * move docs around * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Add case subscripts * wip * wip * 5.7-only * wip * wip * wip * wip * revert store.finish task cancellation * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * add test for presentation scope * wip * wip * wip * wip * wip * cleanup * updated presentation scope test * sytnax update * clean up * fix test * wip * wip * wip * wip * wip --------- Co-authored-by: Brandon Williams <[email protected]> Co-authored-by: Martin Václavík <[email protected]> Co-authored-by: 유재호 <[email protected]> Co-authored-by: Jackson Utsch <[email protected]> Co-authored-by: Dmytro <[email protected]> Co-authored-by: Brandon Williams <[email protected]> Co-authored-by: mbrandonw <[email protected]>
1 parent c6cad7e commit c432a76

File tree

410 files changed

+22879
-2937
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

410 files changed

+22879
-2937
lines changed

.github/package.xcworkspace/contents.xcworkspacedata

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>IDEDidComputeMac32BitWarning</key>
6+
<true/>
7+
</dict>
8+
</plist>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
{
2+
"pins" : [
3+
{
4+
"identity" : "combine-schedulers",
5+
"kind" : "remoteSourceControl",
6+
"location" : "https://github.com/pointfreeco/combine-schedulers",
7+
"state" : {
8+
"revision" : "0625932976b3ae23949f6b816d13bd97f3b40b7c",
9+
"version" : "0.10.0"
10+
}
11+
},
12+
{
13+
"identity" : "swift-argument-parser",
14+
"kind" : "remoteSourceControl",
15+
"location" : "https://github.com/apple/swift-argument-parser",
16+
"state" : {
17+
"revision" : "fee6933f37fde9a5e12a1e4aeaa93fe60116ff2a",
18+
"version" : "1.2.2"
19+
}
20+
},
21+
{
22+
"identity" : "swift-benchmark",
23+
"kind" : "remoteSourceControl",
24+
"location" : "https://github.com/google/swift-benchmark",
25+
"state" : {
26+
"revision" : "8163295f6fe82356b0bcf8e1ab991645de17d096",
27+
"version" : "0.1.2"
28+
}
29+
},
30+
{
31+
"identity" : "swift-case-paths",
32+
"kind" : "remoteSourceControl",
33+
"location" : "https://github.com/pointfreeco/swift-case-paths",
34+
"state" : {
35+
"revision" : "fc45e7b2cfece9dd80b5a45e6469ffe67fe67984",
36+
"version" : "0.14.1"
37+
}
38+
},
39+
{
40+
"identity" : "swift-clocks",
41+
"kind" : "remoteSourceControl",
42+
"location" : "https://github.com/pointfreeco/swift-clocks",
43+
"state" : {
44+
"revision" : "f9acfa1a45f4483fe0f2c434a74e6f68f865d12d",
45+
"version" : "0.3.0"
46+
}
47+
},
48+
{
49+
"identity" : "swift-collections",
50+
"kind" : "remoteSourceControl",
51+
"location" : "https://github.com/apple/swift-collections",
52+
"state" : {
53+
"revision" : "937e904258d22af6e447a0b72c0bc67583ef64a2",
54+
"version" : "1.0.4"
55+
}
56+
},
57+
{
58+
"identity" : "swift-custom-dump",
59+
"kind" : "remoteSourceControl",
60+
"location" : "https://github.com/pointfreeco/swift-custom-dump",
61+
"state" : {
62+
"revision" : "505aa98716275fbd045d8f934fee3337c82ffbd3",
63+
"version" : "0.10.3"
64+
}
65+
},
66+
{
67+
"identity" : "swift-dependencies",
68+
"kind" : "remoteSourceControl",
69+
"location" : "https://github.com/pointfreeco/swift-dependencies",
70+
"state" : {
71+
"revision" : "25c9b6789b4b7ada649a3808e6d8de1489082a33",
72+
"version" : "0.5.0"
73+
}
74+
},
75+
{
76+
"identity" : "swift-docc-plugin",
77+
"kind" : "remoteSourceControl",
78+
"location" : "https://github.com/apple/swift-docc-plugin",
79+
"state" : {
80+
"revision" : "10bc670db657d11bdd561e07de30a9041311b2b1",
81+
"version" : "1.1.0"
82+
}
83+
},
84+
{
85+
"identity" : "swift-docc-symbolkit",
86+
"kind" : "remoteSourceControl",
87+
"location" : "https://github.com/apple/swift-docc-symbolkit",
88+
"state" : {
89+
"revision" : "b45d1f2ed151d057b54504d653e0da5552844e34",
90+
"version" : "1.0.0"
91+
}
92+
},
93+
{
94+
"identity" : "swift-identified-collections",
95+
"kind" : "remoteSourceControl",
96+
"location" : "https://github.com/pointfreeco/swift-identified-collections",
97+
"state" : {
98+
"revision" : "ad3932d28c2e0a009a0167089619526709ef6497",
99+
"version" : "0.7.0"
100+
}
101+
},
102+
{
103+
"identity" : "swiftui-navigation",
104+
"kind" : "remoteSourceControl",
105+
"location" : "https://github.com/pointfreeco/swiftui-navigation",
106+
"state" : {
107+
"revision" : "47dd574b900ba5ba679f56ea00d4d282fc7305a6",
108+
"version" : "0.7.1"
109+
}
110+
},
111+
{
112+
"identity" : "xctest-dynamic-overlay",
113+
"kind" : "remoteSourceControl",
114+
"location" : "https://github.com/pointfreeco/xctest-dynamic-overlay",
115+
"state" : {
116+
"revision" : "4af50b38daf0037cfbab15514a241224c3f62f98",
117+
"version" : "0.8.5"
118+
}
119+
}
120+
],
121+
"version" : 2
122+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "1430"
4+
version = "1.7">
5+
<BuildAction
6+
parallelizeBuildables = "YES"
7+
buildImplicitDependencies = "YES">
8+
<BuildActionEntries>
9+
<BuildActionEntry
10+
buildForTesting = "YES"
11+
buildForRunning = "YES"
12+
buildForProfiling = "YES"
13+
buildForArchiving = "YES"
14+
buildForAnalyzing = "YES">
15+
<BuildableReference
16+
BuildableIdentifier = "primary"
17+
BlueprintIdentifier = "ComposableArchitecture"
18+
BuildableName = "ComposableArchitecture"
19+
BlueprintName = "ComposableArchitecture"
20+
ReferencedContainer = "container:..">
21+
</BuildableReference>
22+
</BuildActionEntry>
23+
<BuildActionEntry
24+
buildForTesting = "YES"
25+
buildForRunning = "YES"
26+
buildForProfiling = "YES"
27+
buildForArchiving = "YES"
28+
buildForAnalyzing = "YES">
29+
<BuildableReference
30+
BuildableIdentifier = "primary"
31+
BlueprintIdentifier = "ComposableArchitectureTests"
32+
BuildableName = "ComposableArchitectureTests"
33+
BlueprintName = "ComposableArchitectureTests"
34+
ReferencedContainer = "container:..">
35+
</BuildableReference>
36+
</BuildActionEntry>
37+
</BuildActionEntries>
38+
</BuildAction>
39+
<TestAction
40+
buildConfiguration = "Debug"
41+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
42+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
43+
shouldUseLaunchSchemeArgsEnv = "YES"
44+
shouldAutocreateTestPlan = "YES">
45+
<Testables>
46+
<TestableReference
47+
skipped = "NO">
48+
<BuildableReference
49+
BuildableIdentifier = "primary"
50+
BlueprintIdentifier = "ComposableArchitectureTests"
51+
BuildableName = "ComposableArchitectureTests"
52+
BlueprintName = "ComposableArchitectureTests"
53+
ReferencedContainer = "container:..">
54+
</BuildableReference>
55+
</TestableReference>
56+
</Testables>
57+
</TestAction>
58+
<LaunchAction
59+
buildConfiguration = "Debug"
60+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
61+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
62+
launchStyle = "0"
63+
useCustomWorkingDirectory = "NO"
64+
ignoresPersistentStateOnLaunch = "NO"
65+
debugDocumentVersioning = "YES"
66+
debugServiceExtension = "internal"
67+
allowLocationSimulation = "YES">
68+
</LaunchAction>
69+
<ProfileAction
70+
buildConfiguration = "Release"
71+
shouldUseLaunchSchemeArgsEnv = "YES"
72+
savedToolIdentifier = ""
73+
useCustomWorkingDirectory = "NO"
74+
debugDocumentVersioning = "YES">
75+
<MacroExpansion>
76+
<BuildableReference
77+
BuildableIdentifier = "primary"
78+
BlueprintIdentifier = "ComposableArchitecture"
79+
BuildableName = "ComposableArchitecture"
80+
BlueprintName = "ComposableArchitecture"
81+
ReferencedContainer = "container:..">
82+
</BuildableReference>
83+
</MacroExpansion>
84+
</ProfileAction>
85+
<AnalyzeAction
86+
buildConfiguration = "Debug">
87+
</AnalyzeAction>
88+
<ArchiveAction
89+
buildConfiguration = "Release"
90+
revealArchiveInOrganizer = "YES">
91+
</ArchiveAction>
92+
</Scheme>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "1430"
4+
version = "1.7">
5+
<BuildAction
6+
parallelizeBuildables = "YES"
7+
buildImplicitDependencies = "YES">
8+
<BuildActionEntries>
9+
<BuildActionEntry
10+
buildForTesting = "YES"
11+
buildForRunning = "YES"
12+
buildForProfiling = "YES"
13+
buildForArchiving = "YES"
14+
buildForAnalyzing = "YES">
15+
<BuildableReference
16+
BuildableIdentifier = "primary"
17+
BlueprintIdentifier = "swift-composable-architecture-benchmark"
18+
BuildableName = "swift-composable-architecture-benchmark"
19+
BlueprintName = "swift-composable-architecture-benchmark"
20+
ReferencedContainer = "container:..">
21+
</BuildableReference>
22+
</BuildActionEntry>
23+
<BuildActionEntry
24+
buildForTesting = "YES"
25+
buildForRunning = "YES"
26+
buildForProfiling = "NO"
27+
buildForArchiving = "NO"
28+
buildForAnalyzing = "YES">
29+
<BuildableReference
30+
BuildableIdentifier = "primary"
31+
BlueprintIdentifier = "ComposableArchitectureTests"
32+
BuildableName = "ComposableArchitectureTests"
33+
BlueprintName = "ComposableArchitectureTests"
34+
ReferencedContainer = "container:..">
35+
</BuildableReference>
36+
</BuildActionEntry>
37+
</BuildActionEntries>
38+
</BuildAction>
39+
<TestAction
40+
buildConfiguration = "Debug"
41+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
42+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
43+
shouldUseLaunchSchemeArgsEnv = "YES"
44+
shouldAutocreateTestPlan = "YES">
45+
<Testables>
46+
<TestableReference
47+
skipped = "NO">
48+
<BuildableReference
49+
BuildableIdentifier = "primary"
50+
BlueprintIdentifier = "ComposableArchitectureTests"
51+
BuildableName = "ComposableArchitectureTests"
52+
BlueprintName = "ComposableArchitectureTests"
53+
ReferencedContainer = "container:..">
54+
</BuildableReference>
55+
</TestableReference>
56+
</Testables>
57+
</TestAction>
58+
<LaunchAction
59+
buildConfiguration = "Debug"
60+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
61+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
62+
launchStyle = "0"
63+
useCustomWorkingDirectory = "NO"
64+
ignoresPersistentStateOnLaunch = "NO"
65+
debugDocumentVersioning = "YES"
66+
debugServiceExtension = "internal"
67+
allowLocationSimulation = "YES"
68+
viewDebuggingEnabled = "No">
69+
<BuildableProductRunnable
70+
runnableDebuggingMode = "0">
71+
<BuildableReference
72+
BuildableIdentifier = "primary"
73+
BlueprintIdentifier = "swift-composable-architecture-benchmark"
74+
BuildableName = "swift-composable-architecture-benchmark"
75+
BlueprintName = "swift-composable-architecture-benchmark"
76+
ReferencedContainer = "container:..">
77+
</BuildableReference>
78+
</BuildableProductRunnable>
79+
</LaunchAction>
80+
<ProfileAction
81+
buildConfiguration = "Release"
82+
shouldUseLaunchSchemeArgsEnv = "YES"
83+
savedToolIdentifier = ""
84+
useCustomWorkingDirectory = "NO"
85+
debugDocumentVersioning = "YES">
86+
<BuildableProductRunnable
87+
runnableDebuggingMode = "0">
88+
<BuildableReference
89+
BuildableIdentifier = "primary"
90+
BlueprintIdentifier = "swift-composable-architecture-benchmark"
91+
BuildableName = "swift-composable-architecture-benchmark"
92+
BlueprintName = "swift-composable-architecture-benchmark"
93+
ReferencedContainer = "container:..">
94+
</BuildableReference>
95+
</BuildableProductRunnable>
96+
</ProfileAction>
97+
<AnalyzeAction
98+
buildConfiguration = "Debug">
99+
</AnalyzeAction>
100+
<ArchiveAction
101+
buildConfiguration = "Release"
102+
revealArchiveInOrganizer = "YES">
103+
</ArchiveAction>
104+
</Scheme>

.github/workflows/ci.yml

+4-17
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ concurrency:
1515

1616
jobs:
1717
library-swift-latest:
18-
name: Library (swift-latest)
18+
name: Library
1919
runs-on: macos-13
2020
strategy:
2121
matrix:
@@ -29,21 +29,6 @@ jobs:
2929
- name: Run ${{ matrix.config }} tests
3030
run: make CONFIG=${{ matrix.config }} test-library
3131

32-
library-swift-5-6:
33-
name: Library (swift-5.6)
34-
runs-on: macos-12
35-
strategy:
36-
matrix:
37-
config:
38-
- debug
39-
- release
40-
steps:
41-
- uses: actions/checkout@v3
42-
- name: Select Xcode 13.4.1
43-
run: sudo xcode-select -s /Applications/Xcode_13.4.1.app
44-
- name: Run ${{ matrix.config }} tests
45-
run: make CONFIG=${{ matrix.config }} test-library
46-
4732
library-evolution:
4833
name: Library (evolution)
4934
runs-on: macos-13
@@ -55,6 +40,7 @@ jobs:
5540
run: make build-for-library-evolution
5641

5742
benchmarks:
43+
name: Benchmarks
5844
runs-on: macos-13
5945
steps:
6046
- uses: actions/checkout@v3
@@ -64,10 +50,11 @@ jobs:
6450
run: make benchmark
6551

6652
examples:
53+
name: Examples
6754
runs-on: macos-13
6855
steps:
6956
- uses: actions/checkout@v3
70-
- name: Select Xcode ${{ matrix.xcode }}
57+
- name: Select Xcode 14.3
7158
run: sudo xcode-select -s /Applications/Xcode_14.3.app
7259
- name: Run tests
7360
run: make test-examples

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
/.build
33
/.swiftpm
44
/Packages
5+
/*.swiftinterface
56
/*.xcodeproj
67
xcuserdata/

0 commit comments

Comments
 (0)