<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.10.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Swift",
  "identifier" : "/documentation/Swift/JoinedSequence/Iterator",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Swift"
    ],
    "preciseIdentifier" : "s:s14JoinedSequenceV8IteratorV"
  },
  "title" : "JoinedSequence.Iterator"
}
-->

# JoinedSequence.Iterator

An iterator that presents the elements of the sequences traversed
by a base iterator, concatenated using a given separator.

```
@frozen struct Iterator
```

## Topics

### Initializers

[`init<Separator>(base: Base.Iterator, separator: Separator)`](/documentation/Swift/JoinedSequence/Iterator/init(base:separator:))

Creates an iterator that presents the elements of `base` sequences
concatenated using `separator`.

### Default Implementations

[IteratorProtocol Implementations](/documentation/Swift/JoinedSequence/Iterator/IteratorProtocol-Implementations)

## Relationships

### Conforms To

[`IteratorProtocol`](/documentation/Swift/IteratorProtocol)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Escapable`](/documentation/Swift/Escapable)

[`Copyable`](/documentation/Swift/Copyable)

[`Sendable`](/documentation/Swift/Sendable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)