So when importing, it creates a copy of my video in the caches directory, then I have to make another copy of it.
What if I'm importing a big video file. In line 8 of your example, do we then have 3 instances of the same video file on the hard disk wasting space (original, copy 1, copy 2)?
Or is it no problem thanks to copy-on-write capabilities of the file system?
Topic:
Programming Languages
SubTopic:
Swift
Tags: