How to save files to a document package with a custom extension in Swift

741 Views Asked by At

I need to bundle multiple files created within my OSX app into a document package with a custom file extension that can be opened later for modification/playback/etc.

For example, I want to save the following files:

  • quicktime.mov
  • text.txt
  • info.plist

to file a called mybundle.cust

I essentially want to do what this guy is doing here:

How to create package file similar to Logic or Final Cut project

but I'm new to Swift and have struggled to find sample code addressing this. Can someone give me a bare-bones headstart?

0

There are 0 best solutions below