One Logo Pool Ball
Foundation · IOS API REFERENCE

NSMutableDictionary

class · SDK 27.1

class NSMutableDictionary

Members (13)

subscript

subscript

TypeScript
subscript(key: SDKHandle): (unknown) | null
Swift declaration
subscript(key: any NSCopying) -> Any? { get set }
init · iOS 6.0+

init

TypeScript
static initSharedKeySet(keyset: unknown): NSMutableDictionary
Swift declaration
init(sharedKeySet keyset: Any)
method

addEntries

TypeScript
addEntries(otherDictionary: NativeMap<unknown, unknown>): void
Swift declaration
func addEntries(from otherDictionary: [AnyHashable : Any])
init

init

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

init

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

init

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

removeAllObjects

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

removeObject

TypeScript
removeObject(aKey: unknown): void
Swift declaration
func removeObject(forKey aKey: Any)
method

removeObjects

TypeScript
removeObjects(keyArray: Array<unknown>): void
Swift declaration
func removeObjects(forKeys keyArray: [Any])
method

setDictionary

TypeScript
setDictionary(otherDictionary: NativeMap<unknown, unknown>): void
Swift declaration
func setDictionary(_ otherDictionary: [AnyHashable : Any])
method

setObject

TypeScript
setObject(anObject: unknown, aKey: SDKHandle): void
Swift declaration
func setObject(_ anObject: Any, forKey aKey: any NSCopying)
method

setValue

TypeScript
setValue(value: (unknown) | null, key: string): void
Swift declaration
func setValue(_ value: Any?, forKey key: String)
subscript · iOS 8.0+

subscript

TypeScript
subscript7656(key: unknown): (unknown) | null
Swift declaration
@objc override dynamic subscript(key: Any) -> Any? { get set }

Accesses the value associated with a given key. - Parameter key: The key whose value you want to retrieve. - Returns: The value associated with the key, or `nil` if no value is associated with the key.

Skipped declarations

No declarations were skipped in this snapshot.

All Foundation types →