One Logo Pool Ball
Foundation · IOS API REFERENCE

NSMutableOrderedSet

class · iOS 5.0+ · SDK 27.1

class NSMutableOrderedSet

Members (29)

method

add

TypeScript
add(object: unknown): void
Swift declaration
func add(_ object: Any)
method

add

TypeScript
addCount(objects: (SDKHandle) | null, count: number): void
Swift declaration
func add(_ objects: UnsafePointer<AnyObject>?, count: Int)
method

addObjects

TypeScript
addObjects(array: Array<unknown>): void
Swift declaration
func addObjects(from array: [Any])
method

exchangeObject

TypeScript
exchangeObject(idx1: number, idx2: number): void
Swift declaration
func exchangeObject(at idx1: Int, withObjectAt idx2: Int)
method · iOS 5.0+

filter

TypeScript
filter(p: NSPredicate): void
Swift declaration
func filter(using p: NSPredicate)
init · iOS 5.0+

init

TypeScript
static init(): NSMutableOrderedSet
Swift declaration
init()
init · iOS 5.0+

init

TypeScript
static initCapacity(numItems: number): NSMutableOrderedSet
Swift declaration
init(capacity numItems: Int)
init · iOS 5.0+

init

TypeScript
static initCoder(coder: NSCoder): (NSMutableOrderedSet) | null
Swift declaration
init?(coder: NSCoder)
method · iOS 5.0+

insert

TypeScript
insertAt(object: unknown, idx: number): void
Swift declaration
func insert(_ object: Any, at idx: Int)
method

insert

TypeScript
insertAt21568(objects: Array<unknown>, indexes: IndexSet): void
Swift declaration
func insert(_ objects: [Any], at indexes: IndexSet)
method

intersect

TypeScript
intersect(other: NSOrderedSet): void
Swift declaration
func intersect(_ other: NSOrderedSet)
method

intersectSet

TypeScript
intersectSet(other: Array<unknown>): void
Swift declaration
func intersectSet(_ other: Set<AnyHashable>)
method

minus

TypeScript
minus(other: NSOrderedSet): void
Swift declaration
func minus(_ other: NSOrderedSet)
method

minusSet

TypeScript
minusSet(other: Array<unknown>): void
Swift declaration
func minusSet(_ other: Set<AnyHashable>)
method

moveObjects

TypeScript
moveObjects(indexes: IndexSet, idx: number): void
Swift declaration
func moveObjects(at indexes: IndexSet, to idx: Int)
method

removeAllObjects

TypeScript
removeAllObjects(): void
Swift declaration
func removeAllObjects()
method

remove

TypeScript
remove(object: unknown): void
Swift declaration
func remove(_ object: Any)
method · iOS 5.0+

removeObject

TypeScript
removeObject(idx: number): void
Swift declaration
func removeObject(at idx: Int)
method

removeObjects

TypeScript
removeObjectsAt(indexes: IndexSet): void
Swift declaration
func removeObjects(at indexes: IndexSet)
method

removeObjects

TypeScript
removeObjectsIn(array: Array<unknown>): void
Swift declaration
func removeObjects(in array: [Any])
method

removeObjects

TypeScript
removeObjectsIn59326(range: SDKHandle): void
Swift declaration
func removeObjects(in range: NSRange)
method · iOS 5.0+

replaceObject

TypeScript
replaceObject(idx: number, object: unknown): void
Swift declaration
func replaceObject(at idx: Int, with object: Any)
method

replaceObjects

TypeScript
replaceObjectsAtWith(indexes: IndexSet, objects: Array<unknown>): void
Swift declaration
func replaceObjects(at indexes: IndexSet, with objects: [Any])
method

replaceObjects

TypeScript
replaceObjectsInWithCount(range: SDKHandle, objects: (SDKHandle) | null, count: number): void
Swift declaration
func replaceObjects(in range: NSRange, with objects: UnsafePointer<AnyObject>?, count: Int)
method

setObject

TypeScript
setObject(obj: unknown, idx: number): void
Swift declaration
func setObject(_ obj: Any, at idx: Int)
method · iOS 5.0+

sort

TypeScript
sort(sortDescriptors: Array<NSSortDescriptor>): void
Swift declaration
func sort(using sortDescriptors: [NSSortDescriptor])
method

union

TypeScript
union(other: NSOrderedSet): void
Swift declaration
func union(_ other: NSOrderedSet)
method

unionSet

TypeScript
unionSet(other: Array<unknown>): void
Swift declaration
func unionSet(_ other: Set<AnyHashable>)
subscript

subscript

TypeScript
subscript(idx: number): unknown
Swift declaration
subscript(idx: Int) -> Any { get set }

Skipped declarations

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

All Foundation types →