@@ -16,7 +16,7 @@ YTLiveStreaming is an open source iOS framework to create live broadcasts and vi
1616- Go to the new application
1717- Select Library
1818- Select "YouTube Data API v3"
19- - Select Credetials
19+ - Select Credentials
2020- Create Api key (API_KEY) ; In Key restriction select iOS, enter your iOS app bundle id; Save
2121- Create Oauth 2.0 Cient ID (CLIENT_ID)
2222
@@ -54,11 +54,17 @@ target '<Your Target Name>' do
5454end
5555```
5656
57+ Then, run the following command:
58+
59+ ``` bash
60+ $ pod install
61+ ```
62+
5763### Swift Package Manager
5864
5965To integrate YTLiveStreaming package using Apple's Swift package manager
60- - open your Xcode project for iOS
61- - select File- Add packages...
66+ - open your Xcode project
67+ - select File - Add packages...
6268- in the Apple Swift Packages screen select 'Search or Enter Package URL'
6369- enter https://github.com/SKrotkih/YTLiveStreaming.git
6470- make sure YTLiveStreaming is opened
@@ -67,12 +73,6 @@ To integrate YTLiveStreaming package using Apple's Swift package manager
6773- open your Xcode project settings - PROJECT section on the Package Dependencies tab
6874- make sure the YTLiveStreaming package name is presented there
6975
70- Then, run the following command:
71-
72- ``` bash
73- $ pod install
74- ```
75-
7676## User guide
7777
7878 import YTLiveStreaming
@@ -164,33 +164,22 @@ And some other public methods of the YTLiveStreaming class
164164
165165## Libraries Used
166166
167- - GoogleSignIn
168- - LFLiveKit (https://github.com/LaiFengiOS/LFLiveKit )
169- - Alamofire
170167- SwiftyJSON
171168- Moya
169+ - KeychainAccess
172170
173171Note. Here were used the following things:
174- - Goggle Sign-In for iOS ( https://developers.google.com/identity/sign-in/ios/start-integrating )
175- - VIPER architect (Clean for iOS) ( https://www.objc.io/issues/13-architecture/viper/ )
176- - Moya 10
177- - Alamofire
178- - RxSwift
179172- Podspec ( https://guides.cocoapods.org/syntax/podspec.html )
180173- Swiftlint
181174- Xcode unit tests
182175- Objective-C + Swift code example
183- - SwiftUI used for the sample project
184-
185- Author
186- Serhii Krotkykh
187176
188177The project was created
18917811-11-2016
190179
191180Changes history:
19218108-07-2022 Make ability to integrate the framework using Applw's Swift package manager, not just Cocoapods
193- 29-06-2022 Example project (LiveEvents) was removed from the project into separate repo
182+ 29-06-2022 Example project (LiveEvents) was removed from the project into a separate repo
19418314-06-2022
195184 - added Combine based method apart from RxSwift publisher subject to handle Google Sign-in results;
196185 - updated Google Sign-In according actual framework version;
0 commit comments