setValue(_:forKey:) | Apple Developer Documentation

Sets the property of the receiver specified by a given key to a given value.