Skip to content

Commit c8c97a4

Browse files
authored
Add Import modules on NavigationStack tutorial source codes. (#3409)
1 parent 85417e0 commit c8c97a4

15 files changed

+29
-0
lines changed

Sources/ComposableArchitecture/Documentation.docc/Tutorials/MeetTheComposableArchitecture/02-Navigation/04-NavigationStacks/02-04-01-code-0005.swift

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import ComposableArchitecture
12
import SwiftUI
23

34
struct ContactDetailView: View {

Sources/ComposableArchitecture/Documentation.docc/Tutorials/MeetTheComposableArchitecture/02-Navigation/04-NavigationStacks/02-04-01-code-0006.swift

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import ComposableArchitecture
12
import SwiftUI
23

34
struct ContactDetailView: View {

Sources/ComposableArchitecture/Documentation.docc/Tutorials/MeetTheComposableArchitecture/02-Navigation/04-NavigationStacks/02-04-01-code-0007.swift

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import ComposableArchitecture
12
import SwiftUI
23

34
struct ContactDetailView: View {

Sources/ComposableArchitecture/Documentation.docc/Tutorials/MeetTheComposableArchitecture/02-Navigation/04-NavigationStacks/02-04-02-code-0000-previous.swift

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import ComposableArchitecture
2+
13
@Reducer
24
struct ContactsFeature {
35
@ObservableState

Sources/ComposableArchitecture/Documentation.docc/Tutorials/MeetTheComposableArchitecture/02-Navigation/04-NavigationStacks/02-04-02-code-0000.swift

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import ComposableArchitecture
2+
13
@Reducer
24
struct ContactsFeature {
35
@ObservableState

Sources/ComposableArchitecture/Documentation.docc/Tutorials/MeetTheComposableArchitecture/02-Navigation/04-NavigationStacks/02-04-02-code-0001.swift

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import ComposableArchitecture
2+
13
@Reducer
24
struct ContactsFeature {
35
@ObservableState

Sources/ComposableArchitecture/Documentation.docc/Tutorials/MeetTheComposableArchitecture/02-Navigation/04-NavigationStacks/02-04-02-code-0002.swift

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import ComposableArchitecture
2+
13
@Reducer
24
struct ContactsFeature {
35
@ObservableState

Sources/ComposableArchitecture/Documentation.docc/Tutorials/MeetTheComposableArchitecture/02-Navigation/04-NavigationStacks/02-04-02-code-0003-previous.swift

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
import ComposableArchitecture
2+
import SwiftUI
3+
14
struct ContactsView: View {
25
@Bindable var store: StoreOf<ContactsFeature>
36

Sources/ComposableArchitecture/Documentation.docc/Tutorials/MeetTheComposableArchitecture/02-Navigation/04-NavigationStacks/02-04-02-code-0003.swift

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
import ComposableArchitecture
2+
import SwiftUI
3+
14
struct ContactsView: View {
25
@Bindable var store: StoreOf<ContactsFeature>
36

Sources/ComposableArchitecture/Documentation.docc/Tutorials/MeetTheComposableArchitecture/02-Navigation/04-NavigationStacks/02-04-02-code-0004.swift

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
import ComposableArchitecture
2+
import SwiftUI
3+
14
struct ContactsView: View {
25
@Bindable var store: StoreOf<ContactsFeature>
36

Sources/ComposableArchitecture/Documentation.docc/Tutorials/MeetTheComposableArchitecture/02-Navigation/04-NavigationStacks/02-04-02-code-0005-previous.swift

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
import ComposableArchitecture
2+
import SwiftUI
3+
14
struct ContactsView: View {
25
@Bindable var store: StoreOf<ContactsFeature>
36

Sources/ComposableArchitecture/Documentation.docc/Tutorials/MeetTheComposableArchitecture/02-Navigation/04-NavigationStacks/02-04-03-code-0003-previous.swift

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import ComposableArchitecture
12
import SwiftUI
23

34
struct ContactDetailView: View {

Sources/ComposableArchitecture/Documentation.docc/Tutorials/MeetTheComposableArchitecture/02-Navigation/04-NavigationStacks/02-04-03-code-0003.swift

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import ComposableArchitecture
12
import SwiftUI
23

34
struct ContactDetailView: View {

Sources/ComposableArchitecture/Documentation.docc/Tutorials/MeetTheComposableArchitecture/02-Navigation/04-NavigationStacks/02-04-03-code-0004-previous.swift

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import ComposableArchitecture
2+
13
@Reducer
24
struct ContactsFeature {
35
@ObservableState

Sources/ComposableArchitecture/Documentation.docc/Tutorials/MeetTheComposableArchitecture/02-Navigation/04-NavigationStacks/02-04-03-code-0004.swift

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import ComposableArchitecture
2+
13
@Reducer
24
struct ContactsFeature {
35
@ObservableState

0 commit comments

Comments
 (0)