MIDITimeTableCellEditResult
public struct MIDITimeTableCellEditResult
Result of an edit (move or resize), including its effect on the cells it now overlaps.
-
Every cell whose position/duration changed: the cells that were directly moved or resized, plus any other cells trimmed because one of those edits now overlaps them.
Declaration
Swift
public var updates: [MIDITimeTableViewEditedCellData] -
Stable ids of cells fully covered by an edited cell; these should be removed entirely.
Declaration
Swift
public var removals: [MIDITimeTableCellID] -
New layout fragments created by splitting a cell that had an edited cell land inside it.
Declaration
Swift
public var insertions: [MIDITimeTableCellInsertion] -
Undocumented
Declaration
Swift
public init(updates: [MIDITimeTableViewEditedCellData] = [], removals: [MIDITimeTableCellID] = [], insertions: [MIDITimeTableCellInsertion] = [])