Instance Method

makeIterator()

Returns an iterator over the elements of this sequence.

Required. Default implementation provided.

Declaration

func makeIterator() -> Self.Iterator

Default Implementations

Sequence Implementations

func makeIterator() -> Self

Returns an iterator over the elements of this sequence.

See Also

Creating an Iterator

associatedtype Iterator

A type that provides the sequence’s iteration interface and encapsulates its iteration state.

Required.

associatedtype Element

A type representing the sequence’s elements.

Required.