Instance Method

setValue:forCustomKey:

Sets the value for a custom attribute key.

Declaration

- (void)setValue:(id<NSSecureCoding>)value forCustomKey:(CSCustomAttributeKey *)key;

Parameters

value

The value of the custom attribute. Values must be common property list types, such as NSString, NSNumber, NSNull, NSData, or NSDate, or an array of property list types.

key

The custom attribute key.

See Also

Working with Custom Attributes

- valueForCustomKey:

Returns the value associated with the specified custom attribute key.