Copies the objects contained in the array that fall within the specified range to aBuffer.
Mac Catalyst 13.0+Beta
A C array of objects of size at least the length of the range specified by aRange.
A range within the bounds of the array.
If the location plus the length of the range is greater than the count of the array, this method raises an NSRangeException.
The method copies into aBuffer the objects in the array in the range specified by aRange; the size of the buffer must therefore be at least the length of the range multiplied by the size of an object reference, as shown in the following example (this is solely for illustration—you should typically not create a buffer simply to iterate over the contents of an array):
Creates and returns an array that includes a given number of objects from a given C array.
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.