array(forKey:)
Returns the array associated with the specified key.
Declaration
func array(forKey aKey: String) -> [Any]?Parameters
- aKey:
The key to retrieve from the iCloud key-value store.
Return Value
The array associated with aKey, or nil if the key isn’t present. This method also returns nil if the retrieved value isn’t an array.