Skip to content

Commit c432a76

Browse files
stephencelismbrandonwBerhtulfJager-yooJacksonUtsch
authored
Navigation (#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 (#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 (#2062) * wip * fix isDetailLink on non-iOS platforms * Correct some comments in Effect.swift (#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 (#2086) * wip * swift-format * wip * wip * docs * wip * wip * Catch some typos in Articles (#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 (#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 (#2121) * Add TestStore.assert. (#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

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 8 additions & 0 deletions
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>

.github/package.xcworkspace/xcshareddata/swiftpm/Package.resolved

Lines changed: 122 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 92 additions & 0 deletions
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>
Lines changed: 104 additions & 0 deletions
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

Lines changed: 4 additions & 17 deletions
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

Lines changed: 1 addition & 0 deletions
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)