Structures

The following structures are available globally.

  • Defines cell index in the time table view.

    See more

    Declaration

    Swift

    public struct MIDITimeTableCellIndex : Hashable
  • Generic history storage for app-owned time table snapshots.

    See more

    Declaration

    Swift

    public struct MIDITimeTableHistoryStack<Item>
  • Defines a custom menu item for the MIDITimeTableCellView to show when you long press it.

    See more

    Declaration

    Swift

    public struct MIDITimeTableCellViewCustomMenuItem
  • A new cell layout created by splitting an existing cell that had an edited cell land inside it.

    See more

    Declaration

    Swift

    public struct MIDITimeTableCellInsertion : Equatable
  • Result of an edit (move or resize), including its effect on the cells it now overlaps.

    See more

    Declaration

    Swift

    public struct MIDITimeTableCellEditResult
  • Defines time signature with number of beats and their note value in a measure.

    See more

    Declaration

    Swift

    public struct MIDITimeTableTimeSignature
  • Auto scrolling direction type

    See more

    Declaration

    Swift

    public struct MIDITimeTableViewAutoScrollDirection : OptionSet
  • Edited cell data. Holds the edited cell’s stable id and its index before editing, and new row index, position and duration data after editing.

    Prefer id to locate the cell in your own data going forward — it stays valid regardless of how many other cells were added, removed or reordered since. index is a snapshot of the cell’s (row, array-position) at the moment the edit was reported and can go stale the instant another edit in the same batch shifts it.

    See more

    Declaration

    Swift

    public struct MIDITimeTableViewEditedCellData : Equatable