Contents

init(object:forKey:)

Creates a dictionary containing a given key and value.

Declaration

convenience init(object: Any, forKey key: any NSCopying)

Parameters

Return Value

A new dictionary containing a single object, object, for a single key, aKey.

See Also

Creating a Dictionary from Objects and Keys