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