You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -97,7 +97,7 @@ If `apiKey` is an empty string "", then we'll connect to a [mock server](https:/
97
97
98
98
### synchronousRequest parameter
99
99
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:
101
101
102
102
```swift
103
103
let client = PodcastAPI.Client(apiKey: apiKey, synchronousRequest: true)
@@ -171,4 +171,10 @@ You can see the code under [Sources/ExampleCommandLineApp](https://github.com/Li
171
171
172
172
#### Run the iOS example app
173
173
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