Skip to content

Commit 267cd2f

Browse files
authored
Update README.md
1 parent 80ae1f8 commit 267cd2f

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ If `apiKey` is an empty string "", then we'll connect to a [mock server](https:/
9797

9898
### synchronousRequest parameter
9999

100-
A command line executable will exit without waiting for http async requests to finish. Therefore, we have to make http requests synchronous. Please set the `synchronousRequest` parameter to true when instantiating a Client object:
100+
A command line executable will exit without waiting for http async requests to finish. Therefore, we have to make http requests synchronous. Please set the `synchronousRequest` parameter to `true` when instantiating a Client object:
101101

102102
```swift
103103
let client = PodcastAPI.Client(apiKey: apiKey, synchronousRequest: true)
@@ -171,4 +171,10 @@ You can see the code under [Sources/ExampleCommandLineApp](https://github.com/Li
171171

172172
#### Run the iOS example app
173173

174-
Just open ExampleIOSApp.xcworkspace with Xcode, from the directory of [Sources/ExampleIOSApp](https://github.com/ListenNotes/podcast-api-swift/tree/main/Sources/ExampleIOSApp).
174+
Install PodcastAPI dependency via CocoaPods
175+
```sh
176+
$ cd Sources/ExampleIOSApp
177+
$ pod install
178+
```
179+
180+
Then open ExampleIOSApp.xcworkspace with Xcode, from the directory of [Sources/ExampleIOSApp](https://github.com/ListenNotes/podcast-api-swift/tree/main/Sources/ExampleIOSApp).

0 commit comments

Comments
 (0)