Einhugur macOS Bridge plugin. |

# NSUserDefaults.ObjectForKey Method

Gets or sets NSObject value for given key.

ObjectForKey(
key as String) as EinhugurCoreBridge.NSObject
ObjectForKey(
key as String
assigns value as EinhugurCoreBridge.NSObject)

#### Parameters

key
  Gets or sets NSObject value for given key.
value (assignment parameter)
  The value to set.

#### Returns

EinhugurCoreBridge.NSObject
  Returns the value for the requested key or nil if key was not found.

#### Remarks

#### See Also

NSUserDefaults Class