Contents

CFArrayRemoveValueAtIndex(_:_:)

Removes the value at a given index from an array.

Declaration

func CFArrayRemoveValueAtIndex(_ theArray: CFMutableArray!, _ idx: CFIndex)

Parameters

  • theArray:

    The array from which the value is removed.

  • idx:

    The index of the value to remove. The index must be in the range 0 to N-1 inclusive, where N is the count of theArray before the operation.

Discussion

All values in theArray with indices larger than idx have their indices decreased by one.

See Also

CFMutableArray Miscellaneous Functions