• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Options to defaults or commandline
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Options to defaults or commandline (From: Abdul Sowayan <email@hidden>)

  • Prev by Date: Re: Is it possible to traverse dictionaries and arrays using KVC?
  • Next by Date: Re: How can I prevent drag-and-drop initiation in an NSTextField
  • Previous by thread: Options to defaults or commandline
  • Next by thread: Re: Options to defaults or commandline
  • Index(es):
    • Date
    • Thread