Skip to content

Commit

Permalink
Clarify documentation. (#152)
Browse files Browse the repository at this point in the history
* Clarify documentation.

* wip
  • Loading branch information
mbrandonw committed Dec 4, 2023
1 parent 9783b58 commit c8f7ff7
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ external server:

```swift
private enum APIClientKey: DependencyKey {
static let liveValue = APIClient.live
static let liveValue = APIClient(/*
Construct the "live" API client that actually makes network
requests and communicates with the outside world.
*/)
}
```

Expand Down Expand Up @@ -75,7 +78,10 @@ protocol:

```swift
extension APIClient: DependencyKey {
static let liveValue = APIClient.live
static let liveValue = APIClient(/*
Construct the "live" API client that actually makes network
requests and communicates with the outside world.
*/)
}

extension DependencyValues {
Expand Down

0 comments on commit c8f7ff7

Please sign in to comment.