Re: User Defaults - tables and arrays
Re: User Defaults - tables and arrays
- Subject: Re: User Defaults - tables and arrays
- From: Hal Mueller <email@hidden>
- Date: Thu, 21 Aug 2008 21:06:29 -0700
It's possible to save arrays using NSUserDefaults--technique is in the
archives, but it looked pretty daunting to me with a lot of chances
for me to screw things up. I chose to use a very simple CoreData
model for my array instead. It might be a bit of overkill, but
CoreData saved me a bunch of time on a task I didn't really want to
spend time on. My datastore for this part of the preferences lives in
Library/ApplicationSupport/<appname>.
I still use NSUserDefaults for the simple stuff.
Hal
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden