Return an iterator over the elements of this sequence.
SDKs
- iOS 7.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
- Xcode 8.0+
Framework
- Foundation
Declaration
func makeIterator() -> NSFast Enumeration Iterator
Discussion
Complexity: O(1).
Return an iterator over the elements of this sequence.
SDKs
Framework
func makeIterator() -> NSFast Enumeration Iterator
Complexity: O(1).