ZoomRangeIterator

public struct ZoomRangeIterator : IteratorProtocol

Iterator that allows the use of ZoomRange in a for loop.

See also

IteratorProtocol
  • Keeps the counter of the iterator.

    Declaration

    Swift

    var counter: UInt8
  • The zoom range in question.

    Declaration

    Swift

    var range: ZoomRange
  • Receives the range to iterate.

    Declaration

    Swift

    init(_ range: ZoomRange)
  • Gets next zoom value.

    Declaration

    Swift

    public mutating func next() -> Zoom?