Type Alias

DispatchData.Iterator

A type that provides the collection's iteration interface and encapsulates its iteration state.

Declaration

typealias DispatchData.Iterator = DispatchDataIterator

Discussion

By default, a collection conforms to the Sequence protocol by supplying an IndexingIterator as its associated Iterator type.

See Also

Iterating Over the Buffer Contents

func forEach((UInt8) -> Void)

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

func enumerated() -> EnumeratedSequence<DispatchData>

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