mirror of
https://github.com/jphong1111/awesome-ios-developer.git
synced 2025-07-08 23:09:02 +07:00
update video downloader
This commit is contained in:
19
README.md
19
README.md
@ -282,9 +282,26 @@ resultTextField.text = readData
|
||||
```
|
||||
> File Manager are wrote with singleton pattern, therefore no need to declare in side your code!
|
||||
|
||||
Good To GO 👏👏👏
|
||||
|
||||
## Video Downloader
|
||||
|
||||
- [Video Downloader](https://github.com/jphong1111/Useful_Swift/blob/main/Helper/ImagePicker.swift)
|
||||
- [Video Downloader](https://github.com/jphong1111/Useful_Swift/blob/main/Helper/VideoManager.swift)
|
||||
|
||||
## Usage
|
||||
|
||||
Make an object of VideoManager inside your code
|
||||
|
||||
```swift
|
||||
let videoManager = VideoManager()
|
||||
```
|
||||
|
||||
use downloadVideoLinkAndCreateAsset function to start download with entering URL
|
||||
|
||||
```swift
|
||||
self.videoManager.downloadVideoLinkAndCreateAsset(text)
|
||||
```
|
||||
Good To GO 👏👏👏
|
||||
|
||||
## API
|
||||
|
||||
|
Reference in New Issue
Block a user