MIDITimeTableCellViewCustomMenuItem
public struct MIDITimeTableCellViewCustomMenuItem
Defines a custom menu item for the MIDITimeTableCellView to show when you long press it.
-
Title of the custom menu item.
Declaration
Swift
public private(set) var title: String { get } -
Action handler of the custom menu item.
Declaration
Swift
public private(set) var action: Selector { get } -
Creates and returns a
UIMenuItemfrom itself.Declaration
Swift
public var menuItem: UIMenuItem { get } -
Initilizes custom
UIMenuItemforMIDITimeTableCellView.Declaration
Swift
public init(title: String, action: Selector)Parameters
titleTitle of the custom menu item.
actionAction handler of the custom menu item.