Skip to content

Commit 36234b0

Browse files
authored
Catch some typos in Articles (#2088)
1 parent 057b078 commit 36234b0

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Sources/ComposableArchitecture/Documentation.docc/Articles/Navigation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ confirmation dialogs, and even custom forms of navigation that are not handed do
2626
So, for the purposes of this documentation, we will use the following loose definition of
2727
"navigation":
2828

29-
> Defintion: **Navigation**: A change of mode in the application.
29+
> Definition: **Navigation**: A change of mode in the application.
3030
3131
Each of the examples we considered above, such as drill-downs, sheets, popovers, covers, alerts,
3232
and more, are all a "change of mode" in the application.
@@ -239,7 +239,7 @@ stack. This means the features can be put into their own modules with no depende
239239
other, and can be compiled without compiling any other features.
240240

241241
* The `NavigationStack` API in SwiftUI typically has fewer bugs than `NavigationLink(isActive:)` and
242-
`navigationDestiation(isPresented:)`, which are used in tree-based navigation. There are still a
242+
`navigationDestination(isPresented:)`, which are used in tree-based navigation. There are still a
243243
few bugs in `NavigationStack`, but on average it is a lot more stable.
244244

245245
#### Cons of stack-based navigation

Sources/ComposableArchitecture/Documentation.docc/Articles/Testing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ Doing this with exhaustive testing is verbose, and there are a few problems with
471471
* We need to be intimately knowledgeable in how the login feature works so that we can assert
472472
on how its state changes and how its effects feed data back into the system.
473473
* If the login feature were to change its logic we may get test failures here even though the logic
474-
we are acutally trying to test doesn't really care about those changes.
474+
we are actually trying to test doesn't really care about those changes.
475475
* This test is very long, and so if there are other similar but slightly different flows we want to
476476
test we will be tempted to copy-and-paste the whole thing, leading to lots of duplicated, fragile
477477
tests.

Sources/ComposableArchitecture/Documentation.docc/Articles/TreeBasedNavigation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ struct InventoryFeature: ReducerProtocol {
8282

8383
> Note: The key path used with `ifLet` focuses on the `@PresentationState` projected value since it
8484
uses the `$` syntax. Also note that the action uses a [case
85-
path](http://github.com/pointfreeco/swift-case-paths), which is analagous to key paths but tuned
85+
path](http://github.com/pointfreeco/swift-case-paths), which is analogous to key paths but tuned
8686
for enums, and uses the forward slash syntax.
8787

8888
That's all that it takes to integrate the domains and logic of the parent and child features. Next

0 commit comments

Comments
 (0)