One Logo Pool Ball
Foundation · IOS API REFERENCE

NSMutableSet

class · SDK 27.1

class NSMutableSet

Members (12)

method

add

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

addObjects

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

filter

TypeScript
filter(predicate: NSPredicate): void
Swift declaration
func filter(using predicate: NSPredicate)
init

init

TypeScript
static init(): NSMutableSet
Swift declaration
init()
init

init

TypeScript
static initCapacity(numItems: number): NSMutableSet
Swift declaration
init(capacity numItems: Int)
init

init

TypeScript
static initCoder(coder: NSCoder): (NSMutableSet) | null
Swift declaration
init?(coder: NSCoder)
method

intersect

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

minus

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

removeAllObjects

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

remove

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

setSet

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

union

TypeScript
union(otherSet: Array<unknown>): void
Swift declaration
func union(_ otherSet: Set<AnyHashable>)

Skipped declarations

No declarations were skipped in this snapshot.

All Foundation types →