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