ZoomRangeIterator

public struct ZoomRangeIterator : IteratorProtocol

Iterator that allows the use of ZoomRange in a for loop

  • keeps the counter of the iterator

    Declaration

    Swift

    var counter: UInt8
  • the range in question

    Declaration

    Swift

    var range: ZoomRange
  • receives the range to iterate.

    Declaration

    Swift

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

    Declaration

    Swift

    mutating public func next() -> Zoom?