Instance Method


Returns an iterator over the elements of this sequence.


func makeIterator() -> IndexingIterator<IndexSet>


From Protocol

See Also

Iterating Over Elements

func forEach((Int) -> Void)

Calls the given closure on each element in the sequence in the same order as a for-in loop.

func enumerated() -> EnumeratedSequence<IndexSet>

Returns a sequence of pairs (n, x), where n represents a consecutive integer starting at zero and x represents an element of the sequence.