update video downloader

This commit is contained in:
Jungpyo Hong
2021-05-03 06:51:05 -05:00
committed by GitHub
parent 6e9ccfa47b
commit df64c76a99

View File

@ -282,9 +282,26 @@ resultTextField.text = readData
``` ```
> File Manager are wrote with singleton pattern, therefore no need to declare in side your code! > File Manager are wrote with singleton pattern, therefore no need to declare in side your code!
Good To GO 👏👏👏
## Video Downloader ## 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 ## API