---
title: DefaultIndices.Iterator
framework: swift
role: symbol
role_heading: Type Alias
path: swift/defaultindices/iterator
---

# DefaultIndices.Iterator

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

## Declaration

```swift
typealias Iterator = IndexingIterator<DefaultIndices<Elements>>
```

## Discussion

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