Replaces the label at the given index.


func ABMultiValueReplaceLabel(_ multiValue: ABMutableMultiValueRef!, _ label: CFString!, _ index: CFIndex) -> Bool



The multi-value list you wish to modify.


The new label at index—it need not be unique. If label is NULL, this function raises an exception.


The index of the entry to be modified. If index is out of bounds, this function raises an exception.

Return Value

true if successfully, false otherwise.

See Also

Multi Values

func ABMultiValueCount(ABMultiValueRef!) -> CFIndex

Returns the number of entries in a multi-value list.

func ABMultiValueCreateMutable(ABPropertyType) -> Unmanaged<ABMutableMultiValue>!

Returns a newly created mutable multi-value list object.

func ABMultiValuePropertyType(ABMultiValueRef!) -> ABPropertyType

Returns the type for the values in a multi-value list.

func ABMultiValueRemove(ABMutableMultiValueRef!, CFIndex) -> Bool

Removes the value and label at the given index.

func ABMultiValueSetPrimaryIdentifier(ABMutableMultiValueRef!, CFString!) -> Bool

Sets the primary value to be the value for the given identifier.