Read and Write Array, Dictionary and Other Collections to Files

http://iosdevelopertips.com/data-file-management/read-and-write-array-dictionary-and-other-collections-to-files.html

 

With just a few lines of code, you can read/write collections to/from files. The code below shows examples for writing and reading back both arrays and dictionaries.

Read and Write Collections to File