On 5 Feb 2011, at 6:33 AM, Philip Vallone wrote:

> After some reading I understand that when creating a Settings Bundle for by 
> iOS app, that I need to explicitly set the defaults. I was wondering if 
> anyone had a preference for where you are setting the defaults. For example 
> in the App Delegate.

I don't suppose it much matters where you register defaults, so long as it is 
guaranteed to happen, and before any attempt is made to read them. I put 
registerDefaults: in the +initialize class method of my application delegate.

You might care to put your defaults into a .plist file in the application 
bundle, and read the file as an NSDictionary.

        — F

_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to