Possible Duplicate:
iOS: store two NSMutableArray in a .plist file
In the app I'm working on I have a bunch of "Registration" objects that contain some strings,dates and integers. All of these objects are stored in a NSMutableArray when they're created, and I now want to save this array in someway, so that when the user closes the app etc., the content can be stored and restored when app opens again.
I've read that plist is probably the best way to do so, but I can't seem to find any examples, posts etc. that show how to do it?
So basicly: How to I save my NSMutableArray to a plist file when app closes, and how to restore it again?