Contents

reverseObjectEnumerator()

Returns an enumerator object that lets you access each object in the array, in reverse order.

Declaration

func reverseObjectEnumerator() -> NSEnumerator

Return Value

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 0.

Discussion

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.

See Also

Related Documentation

Querying an Array