Question one: iOS or Mac? --Kyle Sluder (Sent from the road)
On May 6, 2011, at 7:12 PM, Martin Batholdy <batho...@googlemail.com> wrote: > Hi, > > I have a program that saves its data (an array of dictionaries) as a plist in > the application support folder > with the writeToFile method from NSFileManager. > > Now this array gets manipulated a lot while working with the program. > And currently I save the array to disk every time something in the array get > changed. > > Now is that bad practice? > > Can I also just write the array only once to the disk, that is when the app > gets terminated? > > But then, what happens when the program crashes or get forced to quit? > > > thanks for any advice!_______________________________________________ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > Please do not post admin requests or moderator comments to the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/cocoa-dev/kyle.sluder%40gmail.com > > This email sent to kyle.slu...@gmail.com _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com