update docs and spec

This commit is contained in:
Shelley Vohr 2017-12-11 13:06:23 -05:00
parent c5aeda1fdd
commit 765f223fef
No known key found for this signature in database
GPG key ID: F13993A75599653C
2 changed files with 22 additions and 11 deletions

View file

@ -110,10 +110,9 @@ Same as `unsubscribeNotification`, but removes the subscriber from `NSNotificati
* `defaults` Object - a dictionary of (`key: value`) user defaults
* `key` String
* `value` (String | Boolean | Number) - object of type `string`, `boolean`, `integer`, `float`, `double`,
`url`, `array`, or `dictionary`.
* `value` (String | Boolean | Int | Float | Double | Array | Dictionary)
Allows for registering of your application's preference defaults in `NSUserDefaults`.
Add the specified defaults to your application's `NSUserDefaults`.
### `systemPreferences.getUserDefault(key, type)` _macOS_