Einhugur macOS Bridge plugin. |

# EinhugurCoreBridge.NSMutableDictionary Class

An object representing read and write collection of key-value pairs, containing Cocoa objects.

EinhugurCoreBridge.NSDictionary
NSMutableDictionary

class EinhugurCoreBridge.NSMutableDictionary

#### Constructors

NSMutableDictionary | Default constructor for the NSMutableDictionary.

#### Properties

ClassName (Inherited) (desktop - console) | Returns the name of the Cocoa class under the hood as String.
Count (Inherited) | Returns number of key value pairs in the dictionary.
Handle (Inherited) | Returns Integer handle to the native NSObject structure.

#### Methods

shared Cast | Does deep cast on incoming NSObject to NSMutableDictionary
Clear | Removes all elements from the dictionary.
DoubleForKey (Inherited) | Returns Double for a given key.
shared FromIntegerPtr | Constructs NSMutableDictionary object from Integer handle coming from declares or 3rd party plugin.
GetKeys (Inherited) | Returns a new NSArray containing the dictionary’s keys, or an empty array if the dictionary has no entries.
GetValues (Inherited) | Returns a new NSArray containing the dictionary’s values, or an empty array if the dictionary has no entries.
IntegerForKey (Inherited) | Returns Integer for a given key.
shared IsNSMutableDictionary | Returns true if the NSObject under the hood is NSMutableDictionary or derived from NSMutableDictionary.
ObjectForKey (Inherited) | Returns NSObject for a given key, or nil if key was not found.
ObjectForKey (Inherited) | Returns NSObject for a given string key, or nil if key was not found.
Release (Inherited) | Releases the NSObject.
Remove | Removes item from the dictionary by given NSObject key.
Remove | Removes item from the dictionary by given string key.
Retain (Inherited) | Retains the NSObject
SetDoubleForKey | Sets double value for given string key.
SetIntegerForKey | Sets integer value for given string key.
SetObjectForKey | Sets object value for given NSObject key.
SetObjectForKey | Sets object value for given string key.
SetStringForKey | Sets string value for given string key.
StringForKey (Inherited) | Returns String for a given key.

#### Constants

Version = 5.0 (Inherited) |

#### Examples

Note when you take out of NSMutableDictionary class then you will need to do “deep cast” as in use .Cast like for example NSImage.Cast to cast the objects if you want to get them as anything but base NSObject.

#### 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