A type representing the sequence’s elements.
Required.
SDK
- Xcode 9.0+
Framework
- Swift Standard Library
Declaration
associatedtype Element where Self.Element == Self.Iterator.Element
A type representing the sequence’s elements.
Required.
SDK
Framework
associatedtype Element where Self.Element == Self.Iterator.Element
func makeIterator () -> Self.Iterator
Returns an iterator over the elements of this sequence.
Required. Default implementations provided.
associatedtype Iterator
A type that provides the sequence’s iteration interface and encapsulates its iteration state.
Required.