Revert "Add systemPreferences.registerDefaults()"

This commit is contained in:
Alexey Kuzmin
2017-12-12 13:59:15 +03:00
committed by GitHub
parent 19f1fef040
commit 1caa04c0bf
5 changed files with 0 additions and 63 deletions

View File

@@ -106,14 +106,6 @@ 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