Initializer

init()

Initializes a newly allocated mutable dictionary.

Declaration

init()

Return Value

A mutable dictionary.

Discussion

This method is a designated initializer of NSMutableDictionary.

See Also

Creating and Initializing a Mutable Dictionary

init(capacity: Int)

Initializes a newly allocated mutable dictionary, allocating enough memory to hold numItems entries.

init(sharedKeySet: Any)

Creates a mutable dictionary which is optimized for dealing with a known set of keys.