File tree Expand file tree Collapse file tree 2 files changed +26
-20
lines changed
Sources/ComposableArchitecture/Documentation.docc/Tutorials Expand file tree Collapse file tree 2 files changed +26
-20
lines changed Original file line number Diff line number Diff line change @@ -85,6 +85,10 @@ iOS word search game built in SwiftUI and the Composable Architecture.
8585
8686## Basic Usage
8787
88+ > ** Note**
89+ > For a step-by-step interactive tutorial, be sure to check out [ Meet the Composable
90+ > Architecture] [ meet-tca ] .
91+
8892To build a feature using the Composable Architecture you define some types and values that model
8993your domain:
9094
@@ -548,13 +552,14 @@ advanced usages.
548552The documentation for releases and ` main ` are available here:
549553
550554* [ ` main ` ] ( https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture )
551- * [ 0.51 .0] ( https://pointfreeco.github.io/swift-composable-architecture/0.51 .0/documentation/composablearchitecture/ )
555+ * [ 0.53 .0] ( https://pointfreeco.github.io/swift-composable-architecture/0.53 .0/documentation/composablearchitecture/ )
552556
553557<details >
554558 <summary >
555559 Other versions
556560 </summary >
557561
562+ * [ 0.52.0] ( https://pointfreeco.github.io/swift-composable-architecture/0.52.0/documentation/composablearchitecture/ )
558563 * [ 0.50.0] ( https://pointfreeco.github.io/swift-composable-architecture/0.50.0/documentation/composablearchitecture/ )
559564 * [ 0.49.0] ( https://pointfreeco.github.io/swift-composable-architecture/0.49.0/documentation/composablearchitecture/ )
560565 * [ 0.48.0] ( https://pointfreeco.github.io/swift-composable-architecture/0.48.0/documentation/composablearchitecture/ )
@@ -714,3 +719,4 @@ This library is released under the MIT license. See [LICENSE](LICENSE) for detai
714719[ concurrency-article ] : https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/swiftconcurrency
715720[ bindings-article ] : https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/bindings
716721[ migrating-article ] : https://pointfreeco.github.io/swift-composable-architecture/main/documentation/composablearchitecture/migratingtothereducerprotocol
722+ [ meet-tca ] : https://pointfreeco.github.io/swift-composable-architecture/main/tutorials/meetcomposablearchitecture
Original file line number Diff line number Diff line change @@ -2,27 +2,27 @@ struct CounterView: View {
22 let store : StoreOf < CounterFeature >
33
44 var body : some View {
5- VStack {
6- Text ( " 0 " )
7- . font ( . largeTitle)
8- . padding ( )
9- . background ( Color . black. opacity ( 0.1 ) )
10- . cornerRadius ( 10 )
11- HStack {
12- Button ( " - " ) {
13- }
14- . font ( . largeTitle)
15- . padding ( )
16- . background ( Color . black. opacity ( 0.1 ) )
17- . cornerRadius ( 10 )
5+ VStack {
6+ Text ( " 0 " )
7+ . font ( . largeTitle)
8+ . padding ( )
9+ . background ( Color . black. opacity ( 0.1 ) )
10+ . cornerRadius ( 10 )
11+ HStack {
12+ Button ( " - " ) {
13+ }
14+ . font ( . largeTitle)
15+ . padding ( )
16+ . background ( Color . black. opacity ( 0.1 ) )
17+ . cornerRadius ( 10 )
1818
19- Button ( " + " ) {
19+ Button ( " + " ) {
20+ }
21+ . font ( . largeTitle)
22+ . padding ( )
23+ . background ( Color . black. opacity ( 0.1 ) )
24+ . cornerRadius ( 10 )
2025 }
21- . font ( . largeTitle)
22- . padding ( )
23- . background ( Color . black. opacity ( 0.1 ) )
24- . cornerRadius ( 10 )
2526 }
26- }
2727 }
2828}
You can’t perform that action at this time.
0 commit comments