xpc_array_get_dictionary(_:_:)
Returns the dictionary at the specified index in the array.
Declaration
func xpc_array_get_dictionary(_ 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 a dictionary.
See Also
Array objects
XPCArrayxpc_array_create(_:_:)xpc_array_create_empty()xpc_array_create_connection(_:_:)xpc_array_set_value(_:_:_:)xpc_array_get_value(_:_:)xpc_array_append_value(_:_:)xpc_array_get_count(_:)xpc_array_apply(_:_:)xpc_array_dup_fd(_:_:)xpc_array_get_array(_:_:)xpc_array_get_bool(_:_:)xpc_array_get_data(_:_:_:)xpc_array_get_date(_:_:)xpc_array_get_double(_:_:)