MIDIPianoRollCellView

open class MIDIPianoRollCellView : UIView

Represents a MIDI note of the MIDIPianoRollView.

  • The rendering note data.

    Declaration

    Swift

    public var note: MIDIPianoRollNote
  • Inset from the rightmost side on the cell to capture resize gesture.

    Declaration

    Swift

    public var resizingViewWidth: CGFloat
  • Delegate that informs about editing cell.

    Declaration

    Swift

    public weak var delegate: MIDIPianoRollCellViewDelegate?
  • Is cell selected or not.

    Declaration

    Swift

    public var isSelected: Bool { get set }
  • Initilizes the cell view with a note data.

    Declaration

    Swift

    public init(note: MIDIPianoRollNote)

    Parameters

    note

    Rendering note data.

  • Initilizes the cell view with a decoder.

    Declaration

    Swift

    public required init?(coder aDecoder: NSCoder)

    Parameters

    aDecoder

    Decoder.

  • Undocumented

    Declaration

    Swift

    open override func layoutSubviews()
  • Undocumented

    Declaration

    Swift

    @objc
    public func didTap(tap: UITapGestureRecognizer)
  • Undocumented

    Declaration

    Swift

    @objc
    public func didMove(pan: UIPanGestureRecognizer)
  • Undocumented

    Declaration

    Swift

    @objc
    public func didResize(pan: UIPanGestureRecognizer)