set(_:forKey:)
Sets the value of the specified key to a 64-bit integer value.
Declaration
func set(_ value: Int64, forKey aKey: String)Parameters
- value:
The integer value to save to the iCloud key-value store.
- aKey:
The key to associate with the value.
Discussion
This method places the integer value in an NSNumber type before writing the key and value to the store.