Instance Method

initWithLabel:value:

Returns a new labeled value identifier initialized with the specified label and value.

Declaration

- (instancetype)initWithLabel:(NSString *)label value:(ValueType)value;

Parameters

label

A string value for the label portion of the object, or nil if the value doesn’t have a label.

value

A value for the labeled value object. For valid values, see CNContact properties that are arrays of labeled value objects.

Return Value

A new labeled value object initialized with the specified identifier.

See Also

Creating a Labeled Value

+ labeledValueWithLabel:value:

Returns a new labeled value identifier object with the specified label and value.