Function

ABMultiValueCreateMutableCopy(_:)

Returns a mutable copy of a multi-value object.

Declaration

iOS
func ABMultiValueCreateMutableCopy(_ multiValue: ABMultiValue!) -> Unmanaged<ABMutableMultiValue>!
macOS, Mac Catalyst
func ABMultiValueCreateMutableCopy(_ multiValue: ABMultiValueRef!) -> Unmanaged<ABMutableMultiValueRef>!

Parameters

multiValue

The multi-value object you wish to copy.

Return Value

A mutable copy of multiValue. You are responsible for releasing this object.

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.