Einhugur macOS Bridge plugin. |

# EinhugurCoreBridge.NSUserDefaults Class

An interface to the user’s defaults database, where you store key-value pairs persistently across launches of your app.

EinhugurCoreBridge.NSObject
NSUserDefaults

class EinhugurCoreBridge.NSUserDefaults

#### Constructors

NSUserDefaults | Creates a user defaults object initialized with the defaults for the app and current user.

#### Properties

ClassName (Inherited) (desktop - console) | Returns the name of the Cocoa class under the hood as String.
Handle (Inherited) | Returns Integer handle to the native NSObject structure.

#### Methods

ArrayForKey | Returns the array associated with the specified key.
BooleanForKey | Gets or sets Boolean value for given key.
DictionaryForKey | Returns the dictionary associated with the specified key.
DoubleForKey | Gets or sets Double value for given key.
IntegerForKey | Gets or sets Integer value for given key.
ObjectForKey | Gets or sets NSObject value for given key.
RegisterDefaults | Adds the contents of the specified dictionary to the registration domain.
Release (Inherited) | Releases the NSObject.
RemoveObjectForKey | Removes the value of the specified default key.
Retain (Inherited) | Retains the NSObject
SingleForKey | Gets or sets Single value for given key.
shared StandardUserDefaults | Creates instance of the NSUserDefaults class with the shared defaults object.
StringForKey | Gets or sets String value for given key.
Synchronize | Force commits changes.

#### Constants

Version = 5.0 (Inherited) |

#### Supported Platforms:

- macOS Intel 64 bit
- macOS Apple Silicon
- iOS

#### Unsupported Platforms:

- Windows 32 bit
- Windows 64 bit
- Windows ARM 64 bit
- Linux 32 bit
- Linux 64 bit
- Linux ARM 32 bit
- Linux ARM 64 bit