MIDITimeTablePlayheadViewDelegate

public protocol MIDITimeTablePlayheadViewDelegate : AnyObject

Delegate that informs about playhead is going to move.

  • Delegate method that should update playhead’s position based on pan gesture translation in timetable view.

    Declaration

    Swift

    func playheadView(_ playheadView: MIDITimeTablePlayheadView, didPan panGestureRecognizer: UIPanGestureRecognizer)

    Parameters

    playheadView

    Playhead that panning.

    panGestureRecognizer

    Pan gesture that pans playhead.