File Sharing and NSArchiver

So, with iOS 4, you can now enable your apps to transfer files back and forth from your computer. This is great because it could potentially let you, say, create something cool with a certain Holograms app and then share it with your friends.

There’s just one hitch, the current file sharing system only lets you share individual files, not entire folders. And it just so happens that I stored my holograms as folders. So there are two options:

  1. compress and decompress your folders as zip files
  2. use NSArchiver

As it happens, I tried both. I’m not totally sure which way I’m going to end up using, but I’m leaning towards NSArchiver.

Comments are closed.