---
title: reverseObjectEnumerator()
framework: foundation
role: symbol
role_heading: Instance Method
path: foundation/nsarray/reverseobjectenumerator()
---

# reverseObjectEnumerator()

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

## Declaration

```swift
func reverseObjectEnumerator() -> NSEnumerator
```

## Return Value

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

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

- [nextObject()](foundation/nsenumerator/nextobject().md)

### Querying an Array

- [contains(_:)](foundation/nsarray/contains(_:).md)
- [count](foundation/nsarray/count.md)
- [firstObject](foundation/nsarray/firstobject.md)
- [lastObject](foundation/nsarray/lastobject.md)
- [object(at:)](foundation/nsarray/object(at:).md)
- [subscript(_:)](foundation/nsarray/subscript(_:).md)
- [objects(at:)](foundation/nsarray/objects(at:).md)
- [objectEnumerator()](foundation/nsarray/objectenumerator().md)
