Loop

public final class Loop

An object that produces an observable sequence of frames that are synchronized to the device’s display refresh rate.

  • Creates a new loop.

    The newly instantiated loop begins in a paused state.

    Declaration

    Swift

    public init()
  • Pauses the loop (no frames will be produced while paused is true).

    Declaration

    Swift

    public var paused: Bool { get set }
  • Info about a particular frame.

    See more

    Declaration

    Swift

    public struct Frame : Equatable