fixing error in registerDefaults
This commit is contained in:
parent
5720a8e7d5
commit
8b447b9291
5 changed files with 68 additions and 1 deletions
|
@ -106,6 +106,14 @@ This is necessary for events such as `NSUserDefaultsDidChangeNotification`.
|
|||
|
||||
Same as `unsubscribeNotification`, but removes the subscriber from `NSNotificationCenter`.
|
||||
|
||||
### `systemPreferences.registerDefaults(defaults)` _macOS_
|
||||
|
||||
* `defaults` Object - a dictionary of (`key: value`) user defaults
|
||||
* `key` String
|
||||
* `value` Any
|
||||
|
||||
Add the specified defaults to your application's `NSUserDefaults`.
|
||||
|
||||
### `systemPreferences.getUserDefault(key, type)` _macOS_
|
||||
|
||||
* `key` String
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue