<!--
{
  "availability" : [
    "iOS: 2.0.0 -",
    "iPadOS: 2.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.0.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NSArray/reverseObjectEnumerator()",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:objc(cs)NSArray(im)reverseObjectEnumerator"
  },
  "title" : "reverseObjectEnumerator()"
}
-->

# reverseObjectEnumerator()

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

```
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`](/documentation/Foundation/NSFastEnumeration)). Fast enumeration is available in macOS 10.5 and later and iOS 2.0 and later.

## See Also

[`-  nextObject`](/documentation/Foundation/NSEnumerator/nextObject())

Returns the next object from the collection being enumerated.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)