---
title: reverse
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/nsenumerationoptions/reverse
---

# reverse

Specifies that the enumeration should be performed in reverse.

## Declaration

```swift
static var reverse: NSEnumerationOptions { get }
```

## Discussion

Discussion This option is available for NSArray and NSIndexSet classes; its behavior is undefined for NSDictionary and NSSet classes, or when combined with the NSEnumerationConcurrent flag.

## See Also

### Constants

- [concurrent](foundation/nsenumerationoptions/concurrent.md)
