---
title: Substring.UTF8View.Iterator
framework: swift
role: symbol
role_heading: Type Alias
path: swift/substring/utf8view/iterator
---

# Substring.UTF8View.Iterator

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

## Declaration

```swift
typealias Iterator = IndexingIterator<Substring.UTF8View>
```

## Discussion

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