Contents

xpc_array_get_value(_:_:)

Returns the value at the specified index in the array.

Declaration

func xpc_array_get_value(_ xarray: xpc_object_t, _ index: Int) -> xpc_object_t

Parameters

  • xarray:

    The array object which is to be examined.

  • index:

    The index of the value to obtain. This value must lie within the range of indexes as specified in Xpc_array_set_value(_:_:_:).

Return Value

The object at the specified index within the array.

Discussion

This method does not grant the caller a reference to the underlying object, and thus the caller is not responsible for releasing the object.

See Also

Array objects