Specifies that the enumeration should be performed in reverse.
SDKs
- iOS 4.0+
- macOS 10.6+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- Foundation
Declaration
static var reverse: NSEnumeration Options { get }
Discussion
This option is available for NSArray
and NSIndex
classes; its behavior is undefined for NSDictionary
and NSSet
classes, or when combined with the NSEnumeration
flag.