Returns an enumerator object that lets you access each object in the array, in reverse order.
- iOS 2.0+
- macOS 10.0+
- tvOS 9.0+
- watchOS 2.0+
- Mac Catalyst 13.0+Beta
An enumerator object that lets you access each object in the array, in order, from the element at the highest index down to the element at index
When you use this method with mutable subclasses of
NSArray, you must not modify the array during enumeration.
It is more efficient to use the fast enumeration protocol (see
NSFastEnumeration). Fast enumeration is available in macOS 10.5 and later and iOS 2.0 and later.
Querying an Array
Returns a Boolean value that indicates whether a given object is present in the array.
The number of objects in the array.
Copies all the objects contained in the array to
Copies the objects contained in the array that fall within the specified range to
Returns an array containing the objects in the array at the indexes specified by a given index set.
Returns an enumerator object that lets you access each object in the 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.Learn more about using Apple's beta software