A type that provides the collection’s iteration interface and encapsulates its iteration state.
Required.
SDK
- Xcode 8.0+
Framework
- Swift Standard Library
Declaration
associatedtype Iterator = IndexingIterator <Self>
Discussion
By default, a collection conforms to the Sequence protocol by supplying Indexing as its associated Iterator type.