Contents

xpc_array_get_array(_:_:)

Returns the array at the specified index in the array.

Declaration

func xpc_array_get_array(_ 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 or NULL if the given object was not an XPC array or if the the value at the specified index was not an array.

Discussion

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

See Also

Array objects