Skip to content

Commit 41a4504

Browse files
committed
format signin screen implementstion
1 parent 1485147 commit 41a4504

160 files changed

Lines changed: 10 additions & 9430 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 10 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# YTLiveStreaming
22

3-
YTLiveStreaming is an iOS framework which can be used for creating live broadcasts and video streams on YouTube using YouTube Live Streaming API
3+
YTLiveStreaming is an open source iOS framework to create live broadcasts and video streams on YouTube using YouTube Live Streaming API
44
(YouTube Data API v3)
55

66
## Requirements
77

8-
- Xcode 12+
8+
- Xcode 13+
99
- Swift 5.0
1010

1111
## Introduction
@@ -60,33 +60,6 @@ Then, run the following command:
6060
$ pod install
6161
```
6262

63-
## Prepare and launch an example
64-
65-
As an example used iOS app Live Events
66-
67-
<img src="https://user-images.githubusercontent.com/2775621/80704225-e826e700-8aec-11ea-875a-7971b76e40da.png" alt="Live Events Logo" style="width: 690px;" />
68-
69-
70-
- Download or clone the repository.
71-
72-
- Select Sample folder
73-
74-
- Launch `pod install`
75-
76-
- Open LiveEvents.xcworkspace.
77-
78-
- Change current bundle id on your
79-
80-
- Create Config.plist. Copy content Config.plist.example.plist into new Config.plist. Change current values of the client ID and API key on yours.
81-
82-
- Put [CLIENT_ID](https://developers.google.com/identity/sign-in/ios/start-integrating#get_an_oauth_client_id) and API_KEY into the plist.info:
83-
84-
<img src="https://user-images.githubusercontent.com/2775621/173193901-cbdc8653-76c8-4aea-b0d9-0f9d4391fba3.png" alt="Config.plist" style="width: 690px;" />
85-
86-
- In Sample/Info.plist edit the CFBundleURLSchemes. Change the value that starts with "com.googleusercontent.apps." based on your API key. It should be set to the reversed API key. The API key has the format XXXXXXXX.apps.googleusercontent.com and the allowed URL should be com.googleusercontent.apps.XXXXXXXX :
87-
88-
<img src="https://user-images.githubusercontent.com/2775621/173220142-003b05e9-3903-4959-b88a-7f1181c1c010.png" alt="Info.plist Example" style="width: 690px;" />
89-
9063
## User guide
9164

9265
import YTLiveStreaming
@@ -172,6 +145,10 @@ As an example used iOS app Live Events
172145

173146
And some other public methods of the YTLiveStreaming class
174147

148+
## Example of using YTLiveStreaming Framework
149+
150+
[LiveEvents](https://github.com/SKrotkih/LiveEvents) is an example of using the framework
151+
175152
## Libraries Used
176153

177154
- GoogleSignIn
@@ -199,9 +176,11 @@ The project was created
199176
11-11-2016
200177

201178
Changes history:
179+
29-06-2022 Example project (LiveEvents) was removed from the project into separate repo
202180
14-06-2022
203-
- update Google Sign-In according actual framework version
204-
- implement Google SignIn screen with using SwiftUI
181+
- added Combine based method apart from RxSwift publisher subject to handle Google Sign-in results;
182+
- updated Google Sign-In according actual framework version;
183+
- implemented Google SignIn screen with using SwiftUI.
205184
18-05-2021
206185
- added SwuftUI based content view for the YouTube video player
207186
04-05-2021

Sample/.swiftlint.yml

Lines changed: 0 additions & 7 deletions
This file was deleted.

Sample/AppDelegate.swift

Lines changed: 0 additions & 56 deletions
This file was deleted.

Sample/Appearance/Appearance.swift

Lines changed: 0 additions & 56 deletions
This file was deleted.

Sample/Appearance/BaseViewController.swift

Lines changed: 0 additions & 47 deletions
This file was deleted.

Sample/Appearance/MainNavController.swift

Lines changed: 0 additions & 14 deletions
This file was deleted.

Sample/Config.plist.example.plist

Lines changed: 0 additions & 10 deletions
This file was deleted.

Sample/Constants.swift

Lines changed: 0 additions & 27 deletions
This file was deleted.

Sample/Extensions/Color+Ext.swift

Lines changed: 0 additions & 15 deletions
This file was deleted.

Sample/Extensions/Date+Ext.swift

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)