Re: what is the proper place to store application settings
Re: what is the proper place to store application settings
- Subject: Re: what is the proper place to store application settings
- From: "I. Savant" <email@hidden>
- Date: Wed, 9 Apr 2008 15:41:39 -0400
On Wed, Apr 9, 2008 at 2:41 PM, Jeff LaMarche <email@hidden> wrote:
> I'm assuming that these will change, but should not be changed by the user,
> correct?
>
> It seems to me that you'd want to avoid compiling them into your classes
> using #define, I think a property list included as bundle resource is the
> way to go.
>
>
> http://developer.apple.com/documentation/Cocoa/Conceptual/PropertyLists/PropertyLists.html
I really think the user preferences system is the best choice here.
That way, a software update isn't necessary if the URL changes and
users can change it themselves if necessary.
Search the documentation for NSUserDefaults.
--
I.S.
_______________________________________________
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