Returns an enumerator object that lets you access each object in the ordered set.
- iOS 5.0+
- macOS 10.7+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
An enumerator object that lets you access each object in the ordered set, in order, from the element at the lowest index upwards.
When you use this method with mutable subclasses of
NSOrdered, you must not modify the ordered set during enumeration.
It is more efficient to use the fast enumeration protocol (see
NSFast). Fast enumeration is available in macOS 10.5 and later and iOS 2.0 and later.