subscript
TypeScriptsubscript(idx: number): unknownSwift declarationsubscript(idx: Int) -> Any { get set }class · SDK 27.1
class NSMutableArraysubscript(idx: number): unknownSwift declarationsubscript(idx: Int) -> Any { get set }add(anObject: unknown): voidSwift declarationfunc add(_ anObject: Any)addObjects(otherArray: Array<unknown>): voidSwift declarationfunc addObjects(from otherArray: [Any])exchangeObject(idx1: number, idx2: number): voidSwift declarationfunc exchangeObject(at idx1: Int, withObjectAt idx2: Int)filter(predicate: NSPredicate): voidSwift declarationfunc filter(using predicate: NSPredicate)static init(): NSMutableArraySwift declarationinit()static initCapacity(numItems: number): NSMutableArraySwift declarationinit(capacity numItems: Int)static initCoder(coder: NSCoder): (NSMutableArray) | nullSwift declarationinit?(coder: NSCoder)insertAt(anObject: unknown, index: number): voidSwift declarationfunc insert(_ anObject: Any, at index: Int)insertAt99530(objects: Array<unknown>, indexes: IndexSet): voidSwift declarationfunc insert(_ objects: [Any], at indexes: IndexSet)removeAllObjects(): voidSwift declarationfunc removeAllObjects()removeLastObject(): voidSwift declarationfunc removeLastObject()remove(anObject: unknown): voidSwift declarationfunc remove(_ anObject: Any)removeIn(anObject: unknown, range: SDKHandle): voidSwift declarationfunc remove(_ anObject: Any, in range: NSRange)removeObjectAt(index: number): voidSwift declarationfunc removeObject(at index: Int)removeObjectIdenticalTo(anObject: unknown): voidSwift declarationfunc removeObject(identicalTo anObject: Any)removeObjectIdenticalToIn(anObject: unknown, range: SDKHandle): voidSwift declarationfunc removeObject(identicalTo anObject: Any, in range: NSRange)removeObjectsAt(indexes: IndexSet): voidSwift declarationfunc removeObjects(at indexes: IndexSet)removeObjectsIn(otherArray: Array<unknown>): voidSwift declarationfunc removeObjects(in otherArray: [Any])removeObjectsIn42144(range: SDKHandle): voidSwift declarationfunc removeObjects(in range: NSRange)replaceObject(index: number, anObject: unknown): voidSwift declarationfunc replaceObject(at index: Int, with anObject: Any)replaceObjectsAtWith(indexes: IndexSet, objects: Array<unknown>): voidSwift declarationfunc replaceObjects(at indexes: IndexSet, with objects: [Any])replaceObjectsInWithObjectsFrom(range: SDKHandle, otherArray: Array<unknown>): voidSwift declarationfunc replaceObjects(in range: NSRange, withObjectsFrom otherArray: [Any])replaceObjectsInWithObjectsFromRange(range: SDKHandle, otherArray: Array<unknown>, otherRange: SDKHandle): voidSwift declarationfunc replaceObjects(in range: NSRange, withObjectsFrom otherArray: [Any], range otherRange: NSRange)setArray(otherArray: Array<unknown>): voidSwift declarationfunc setArray(_ otherArray: [Any])sort(sortDescriptors: Array<NSSortDescriptor>): voidSwift declarationfunc sort(using sortDescriptors: [NSSortDescriptor])4 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
NSMutableArray.sort(_:context:)
callback cannot propagate synchronous failure
NSMutableArray.sort(using:)
Objective-C selectors cannot cross the bridge.
NSMutableArray.sort(comparator:)
callback cannot propagate synchronous failure
NSMutableArray.sort(options:usingComparator:)
callback cannot propagate synchronous failure