---
title: makeIterator()
framework: swift
role: symbol
role_heading: Instance Method
path: swift/joinedsequence/makeiterator()
---

# makeIterator()

Return an iterator over the elements of this sequence.

## Declaration

```swift
func makeIterator() -> JoinedSequence<Base>.Iterator
```

## Discussion

Discussion note: O(1).
