Skip to content

Commit c8198e1

Browse files
authored
Update README.md
1 parent beda9dd commit c8198e1

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ A companion library to Point-Free's [`swift-dependencies`](https://github.com/po
99
## On the menu
1010
[`Dependencies`](https://github.com/pointfreeco/swift-dependencies) is a fantastic library that helps you to manage your dependencies in a similar fashion SwiftUI handles its `Environment`. `Dependencies` already ships with many built-in fundamental dependencies, like `clock`, `uuid`, `date`, etc.
1111

12-
`Dependencies Additions` intends to extend these core dependencies, and provide coherent and testable implementations to many additional dependencies that are commonly needed when developing on Apple's platforms.
12+
"Dependencies Additions" intends to extend these core dependencies, and provide coherent and testable implementations to many additional dependencies that are commonly needed when developing on Apple's platforms.
1313

1414
The library currently proposes a few low-level dependencies to interface with:
1515
- `Application`, an abstraction over `UIApplication.shared`;
@@ -74,7 +74,7 @@ In each module you need access to these dependencies, add:
7474
We present here a few of the dependencies currently shipping with the library.
7575
If you're more interested in experimental abstractions like `AppStorage` or typed `Notification`, you can directly jump to the [Higher-level dependencies](#higher-level-dependencies) section.
7676

77-
### `Application`
77+
### Application
7878

7979
An abstraction over `UIApplication` that you can use to communicate with your app's instance.
8080

@@ -104,9 +104,9 @@ func testAlternateIconIsSet() async throws -> Void {
104104
}
105105
```
106106

107-
### `BundleInfo`
107+
### BundleInfo
108108

109-
This very simple dependency exposes a `BundleInfo` type that allows to simply retrieve a few `info.plist`-related fields, like the `bundleIdentifier` or the app's `version`.
109+
This simple dependency exposes a `BundleInfo` type that allows to simply retrieve a few `info.plist`-related fields, like the `bundleIdentifier` or the app's `version`.
110110

111111
For example:
112112
```swift
@@ -183,6 +183,7 @@ var previews: some View {
183183
SmoothieView(model: model)
184184
}
185185
```
186+
186187
### ProcessInfo
187188
A simple abstraction over `ProcessInfo` that allows to retrieve low-level information on the system.
188189
```swift
@@ -193,6 +194,7 @@ if thermalState == .critical {
193194
}
194195
```
195196
Because it's a dependency, you can test it very easily without having to modify your model.
197+
196198
### UserDefaults
197199
An abstraction over `UserDefaults`, where you can read and save from the user preferences.
198200
The library exposes the same types as SwiftUI's AppStorage, so you can simply store and retrieve

0 commit comments

Comments
 (0)