> On Jul 20, 2015, at 1:45 PM, John Richardson <[email protected]> wrote:
> 
> Is there a manual on the developer website that gives all the options for the 
> defaults command?
> Example: defaults write com.apple.doc ?????? where the question marks are the 
> options and their values/parameters.

The documentation for the ‘defaults’ command can be viewed by running the shell 
command:
        man defaults

If you mean all the different keys, there isn’t any canonical list. Every 
application makes up its own keys.

> Is it simply a matter of looking at the plist file for the dock? [and the 
> plist file for mail,…]

User defaults don’t have anything to do with the plist. The keys an app 
recognizes are simply the keys that it passes to NSUserDefaults to read and 
write values. You’d have to disassemble the app’s code and find all the calls 
to NSUserDefaults and the string constants given to those calls as keys — good 
luck!

—Jens
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to