Einhugur macOS Bridge plugin. |

# EinhugurCoreBridge.NSDictionary Class

An object representing a static read only collection of key-value pairs, containing Cocoa objects.

EinhugurCoreBridge.NSObject
NSDictionary

class EinhugurCoreBridge.NSDictionary

#### Constructors

NSDictionary (private) | This constructor is private since you cannot create instance of this class directly.

#### Properties

ClassName (Inherited) (desktop - console) | Returns the name of the Cocoa class under the hood as String.
Count | 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 NSDictionary
DoubleForKey | Returns Double for a given key.
shared FromIntegerPtr | Constructs NSDictionary object from Integer handle coming from declares or 3rd party plugin.
GetKeys | Returns a new NSArray containing the dictionary’s keys, or an empty array if the dictionary has no entries.
GetValues | Returns a new NSArray containing the dictionary’s values, or an empty array if the dictionary has no entries.
IntegerForKey | Returns Integer for a given key.
shared IsNSDictionary | Returns true if the NSObject under the hood is NSDictionary or derived from NSDictionary.
ObjectForKey | Returns NSObject for a given key, or nil if key was not found.
ObjectForKey | Returns NSObject for a given string key, or nil if key was not found.
Release (Inherited) | Releases the NSObject.
Retain (Inherited) | Retains the NSObject
StringForKey | Returns String for a given key.

#### Constants

Version = 5.0 (Inherited) |

#### Examples

Note when you take out of NSDictionary 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