MIDITimeTableCellIndex
public struct MIDITimeTableCellIndex : Hashable
Defines cell index in the time table view.
-
Row index of the cell.
Declaration
Swift
public var row: Int -
Index number in the row. Does not represent column.
Declaration
Swift
public var index: Int -
Initilizes the index with row and column indices.
Declaration
Swift
public init(row: Int, index: Int)Parameters
rowRow index of the cell.
indexIndex number in the row.
-
Declaration
Swift
public func hash(into hasher: inout Hasher)
-
Checks equality between two indices.
Declaration
Swift
public static func == (lhs: MIDITimeTableCellIndex, rhs: MIDITimeTableCellIndex) -> BoolParameters
lhsLeft hand side of the equation.
rhsRight hand side of the equation.
Return Value
Returns true if two indicies are equal, otherwise returns false.