Re: Options to defaults or commandline
Re: Options to defaults or commandline
- Subject: Re: Options to defaults or commandline
- From: Jens Alfke <email@hidden>
- Date: Tue, 16 Aug 2011 12:57:24 -0700
On Aug 16, 2011, at 12:46 PM, Abdul Sowayan wrote:
> My question is regarding options such as ApplePersistenceIgnoreState. Where
> did this come from? Is there some documentation that lists similar options I
> can use?
Any code can use the NSUserDefaults API to check the existence/values of values like these. So there’s just a lot of code all over the system (and inside apps) that checks for various options, whenever it was useful for debugging/testing/compatibility.
Some of these are documented, but not in any central place, and the majority of them are probably just passed around as folklore. In general you can’t depend on undocumented ones, since they could change or be removed at any time.
—Jens_______________________________________________
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