Contents

dictionary(forKey:)

Returns the dictionary object associated with the specified key.

Declaration

func dictionary(forKey aKey: String) -> [String : Any]?

Parameters

  • aKey:

    The key to retrieve from the iCloud key-value store.

Return Value

The dictionary object associated with aKey, or nil if the key isn’t present. This method also returns nil if the retrieved value isn’t a dictionary object.

See Also

Getting values