Instance Method
setTempData(_:forKey:) setTempData:forKey: setTempData_forKey_
Sets or removes a temporary value.
Declaration
func setTempData(_ value: Any?, forKey key: String)Declaration
- (void) setTempData:(id) value forKey:(NSString *) key;Declaration
setTempData_forKey_(value: object, key: str)Parameters
valueThe value to set, or
nilto remove the temporary value.
Discussion
Passing nil as the value removes the temporary value.
See Also
Temporary Data
Values associated with the node for transient use.
The number of temporary values.
The temporary value for a key, or
nilif no value is set.