struct JoinedSequence.Iterator An iterator that presents the elements of the sequences traversed by a base iterator, concatenated using a given separator. Inheritance IteratorProtocol View Protocol Hierarchy → Associated Types Element = Base.Element.Element The type of element traversed by the iterator. Import import Swift Initializers init(base:separator:) Creates a sequence that presents the elements of base sequences concatenated using separator. Complexity: O(separator.count). Declaration init<Separator>(base: Base.Iterator, separator: Separator) Instance Methods mutating func next() Advances to the next element and returns it, or nil if no next element exists. Once nil has been returned, all subsequent calls return nil. Declaration mutating func next() -> JoinedSequence<Base>.Iterator.Element?