Preparing .plist files on a Mac before building the app
I have a large .plist file with 2000 dictionaries in an array that I need to sort alphabetically and perform other computations. It takes a lot of time to do this during runtime and the iPhone can't handle this, so I want to prepare several .plist files using the same computations before building the app.
The problem is I've never did any coding on a Mac and I have no idea how to save a file to my Documents folder, for example. The computing code is already written and I have an NSArray that is ready to be written to a file, but how do I do this in a Mac application?
I know this is an iPhone dev forum, but the question is really simple and I think that other developers might find this helpful.
|