add
TypeScriptadd(object: unknown): voidSwift declarationfunc add(_ object: Any)class · iOS 5.0+ · SDK 27.1
class NSMutableOrderedSetadd(object: unknown): voidSwift declarationfunc add(_ object: Any)addCount(objects: (SDKHandle) | null, count: number): voidSwift declarationfunc add(_ objects: UnsafePointer<AnyObject>?, count: Int)addObjects(array: Array<unknown>): voidSwift declarationfunc addObjects(from array: [Any])exchangeObject(idx1: number, idx2: number): voidSwift declarationfunc exchangeObject(at idx1: Int, withObjectAt idx2: Int)filter(p: NSPredicate): voidSwift declarationfunc filter(using p: NSPredicate)static init(): NSMutableOrderedSetSwift declarationinit()static initCapacity(numItems: number): NSMutableOrderedSetSwift declarationinit(capacity numItems: Int)static initCoder(coder: NSCoder): (NSMutableOrderedSet) | nullSwift declarationinit?(coder: NSCoder)insertAt(object: unknown, idx: number): voidSwift declarationfunc insert(_ object: Any, at idx: Int)insertAt21568(objects: Array<unknown>, indexes: IndexSet): voidSwift declarationfunc insert(_ objects: [Any], at indexes: IndexSet)intersect(other: NSOrderedSet): voidSwift declarationfunc intersect(_ other: NSOrderedSet)intersectSet(other: Array<unknown>): voidSwift declarationfunc intersectSet(_ other: Set<AnyHashable>)minus(other: NSOrderedSet): voidSwift declarationfunc minus(_ other: NSOrderedSet)minusSet(other: Array<unknown>): voidSwift declarationfunc minusSet(_ other: Set<AnyHashable>)moveObjects(indexes: IndexSet, idx: number): voidSwift declarationfunc moveObjects(at indexes: IndexSet, to idx: Int)removeAllObjects(): voidSwift declarationfunc removeAllObjects()remove(object: unknown): voidSwift declarationfunc remove(_ object: Any)removeObject(idx: number): voidSwift declarationfunc removeObject(at idx: Int)removeObjectsAt(indexes: IndexSet): voidSwift declarationfunc removeObjects(at indexes: IndexSet)removeObjectsIn(array: Array<unknown>): voidSwift declarationfunc removeObjects(in array: [Any])removeObjectsIn59326(range: SDKHandle): voidSwift declarationfunc removeObjects(in range: NSRange)replaceObject(idx: number, object: unknown): voidSwift declarationfunc replaceObject(at idx: Int, with object: Any)replaceObjectsAtWith(indexes: IndexSet, objects: Array<unknown>): voidSwift declarationfunc replaceObjects(at indexes: IndexSet, with objects: [Any])replaceObjectsInWithCount(range: SDKHandle, objects: (SDKHandle) | null, count: number): voidSwift declarationfunc replaceObjects(in range: NSRange, with objects: UnsafePointer<AnyObject>?, count: Int)setObject(obj: unknown, idx: number): voidSwift declarationfunc setObject(_ obj: Any, at idx: Int)sort(sortDescriptors: Array<NSSortDescriptor>): voidSwift declarationfunc sort(using sortDescriptors: [NSSortDescriptor])union(other: NSOrderedSet): voidSwift declarationfunc union(_ other: NSOrderedSet)unionSet(other: Array<unknown>): voidSwift declarationfunc unionSet(_ other: Set<AnyHashable>)subscript(idx: number): unknownSwift declarationsubscript(idx: Int) -> Any { get set }3 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
NSMutableOrderedSet.sort(comparator:)
callback cannot propagate synchronous failure
NSMutableOrderedSet.sort(options:usingComparator:)
callback cannot propagate synchronous failure
NSMutableOrderedSet.sortRange(_:options:usingComparator:)
callback cannot propagate synchronous failure