MIDIPianoRollCellViewDelegate
public protocol MIDIPianoRollCellViewDelegate : AnyObject
Delegate functions to inform about editing or deleting cell.
-
Informs about moving the cell with the pan gesture.
Declaration
Swift
func midiPianoRollCellViewDidMove(_ midiPianoRollCellView: MIDIPianoRollCellView, pan: UIPanGestureRecognizer)Parameters
midiPianoRollCellViewCell that moving around.
panPan gesture that moves the cell.
-
Informs about resizing the cell with the pan gesture.
Declaration
Swift
func midiPianoRollCellViewDidResize(_ midiPianoRollCellView: MIDIPianoRollCellView, pan: UIPanGestureRecognizer)Parameters
midiPianoRollCellViewCell that resizing.
panPan gesture that resizes the cell.
-
Informs about the cell has been tapped.
Declaration
Swift
func midiPianoRollCellViewDidTap(_ midiPianoRollCellView: MIDIPianoRollCellView)Parameters
midiPianoRollCellViewThe cell that tapped.
-
Informs about the cell is about to delete.
Declaration
Swift
func midiPianoRollCellViewDidDelete(_ midiPianoRollCellView: MIDIPianoRollCellView)Parameters
midiPianoRollCellViewCell is going to delete.
View on GitHub
MIDIPianoRollCellViewDelegate Protocol Reference