func setValue (Any?, forKeyPath : String)
Sets the value for the property identified by a given key path to a given value.
func setNilValueForKey (String)
Invoked by
setValue(_:forKey:)
when it’s given a nil
value for a scalar value (such as an int
or float
).func setValue (Any?, forKey : String)
Sets the property of the receiver specified by a given key to a given value.
func setValue (Any?, forUndefinedKey : String)
Invoked by
setValue(_:forKey:)
when it finds no property for a given key.