Skip to content

Commit c7891de

Browse files
Fix typos in Articles (pointfreeco#60)
* Fix typos in Articles * Update Sources/SwiftUINavigation/Documentation.docc/Articles/DestructuringViews.md Co-authored-by: Stephen Celis <[email protected]>
1 parent 46acf5e commit c7891de

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ it's as simple as adding it to a `dependencies` clause in your `Package.swift`:
9696

9797
``` swift
9898
dependencies: [
99-
.package(url: "https://github.com/pointfreeco/swiftui-navigation", from: "0.4.1")
99+
.package(url: "https://github.com/pointfreeco/swiftui-navigation", from: "0.4.5")
100100
]
101101
```
102102

Sources/SwiftUINavigation/Documentation.docc/Articles/AlertsDialogs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class FeatureModel: ObservableObject {
2525
}
2626
```
2727

28-
Then, when you need to show an alert you can hydate the alert state with a title, message and
28+
Then, when you need to show an alert you can update the alert state with a title, message and
2929
buttons:
3030

3131
```swift
@@ -107,7 +107,7 @@ This works because all of the types for describing an alert are `Equatable`, inc
107107
Sometimes it is not optimal to model the alert as an optional. In particular, if a feature can
108108
navigate to multiple, mutually exclusive screens, then an enum is more appropriate.
109109

110-
In such a case
110+
In such a case:
111111

112112

113113
```swift

Sources/SwiftUINavigation/Documentation.docc/Articles/DestructuringViews.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ The "pattern" for the ``IfCaseLet`` is expressed by what is known as a "[case pa
117117
A case path is like a key path, except it is specifically tuned for abstracting over the
118118
shape of enums rather than structs. A key path abstractly bundles up the functionality of getting
119119
and setting a property on a struct, whereas a case path bundles up the functionality of "extracting"
120-
a value from an enum and "embedding" a value into an enum. They are an indispensible tool for
120+
a value from an enum and "embedding" a value into an enum. They are an indispensable tool for
121121
transforming bindings.
122122

123123
### Switch and CaseLet

Sources/SwiftUINavigation/Documentation.docc/Articles/WhatIsNavigation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ In order to isolate a specific case of an enum we must make use of our [CasePath
214214
library. A case path is like a key path, except it is specifically tuned for abstracting over the
215215
shape of enums rather than structs. A key path abstractly bundles up the functionality of getting
216216
and setting a property on a struct, whereas a case path bundles up the functionality of "extracting"
217-
a value from an enum and "embedding" a value into an enum. They are an indispensible tool for
217+
a value from an enum and "embedding" a value into an enum. They are an indispensable tool for
218218
transforming bindings.
219219

220220
Similar APIs are defined for popovers, covers, and more.

0 commit comments

Comments
 (0)