saoudrizwan / Disk

Easily persist structs, images, and data on iOS
MIT License
3.1k stars 170 forks source link

Video persistence support #23

Closed Aragunz closed 6 years ago

Aragunz commented 6 years ago

Hello there, will you support videos ?

saoudrizwan commented 6 years ago

You can convert any video file to Data and then use something like try Disk.save(videoData, to: .caches, as: "my-video.mp4") to save the the video to a file on disk.