Einhugur macOS Bridge plugin. |

# EinhugurCoreBridge.NSMutableArray Class

Read and write array for Cocoa objects.

EinhugurCoreBridge.NSArray
NSMutableArray

class EinhugurCoreBridge.NSMutableArray

#### Constructors

NSMutableArray | Default constructor for the NSMutableArray.

#### Properties

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

#### Methods

Add | Adds NSObject to the array.
AddBoolean | Adds boolean to the array.
AddDouble | Adds double to the array.
AddFromArray | Adds all the values from an array, one by one into the array.
AddInteger | Adds integer to the array.
AddString | Adds string to the array.
BooleanValue (Inherited) | Returns Boolean value from the array at given index or false if the element at given index was not NSNumber.
shared Cast | Does deep cast on incoming NSObject to NSMutableArray
Contains (Inherited) | Returns a Boolean value that indicates whether a given object is present in the array.
Contains (Inherited) | Returns a Boolean value that indicates whether a given string is present in the array.
DoubleValue (Inherited) | Returns Double value from the array at given index or false if the element at given index was not NSNumber.
shared FromIntegerPtr | Constructs NSMutableArray object from Integer handle coming from declares or 3rd party plugin.
IndexOf (Inherited) | Returns the lowest index whose corresponding array value is equal to a given object.
IndexOf (Inherited) | Returns the lowest index whose corresponding array value is equal to a given string.
InsertAt | Inserts object at given index.
IntegerValue (Inherited) | Returns Integer value from the array at given index or false if the element at given index was not NSNumber.
shared IsNSMutableArray | Returns true if the NSObject under the hood is NSMutableArray or derived from NSMutableArray.
Operator_Subscript (Inherited) | Gets NSObject from given index in the array.
Operator_Subscript | Sets value at given index in the array.
Release (Inherited) | Releases the NSObject.
RemoveAt | Removes value from the array at given index.
Retain (Inherited) | Retains the NSObject
StringValue (Inherited) | Returns String value from the array at given index or false if the element at given index was not String.

#### Constants

Version = 5.0 (Inherited) |

#### Examples

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