Generic Initializer

init(_:)

Creates a sequence whose makeIterator() method forwards to makeUnderlyingIterator.

Declaration

init<I>(_ makeUnderlyingIterator: @escaping () -> I) where Element == I.Element, I : IteratorProtocol