Type Alias

AnyCollection.Iterator

A type that provides the collection’s iteration interface and encapsulates its iteration state.

Declaration

typealias Iterator = AnyIterator<Element>

Discussion

By default, a collection conforms to the Sequence protocol by supplying IndexingIterator as its associated Iterator type.