MIDITimeTableCellIndex

public struct MIDITimeTableCellIndex : Hashable

Defines cell index in the time table view.

  • row

    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

    row

    Row index of the cell.

    index

    Index number in the row.

Hashable

  • Declaration

    Swift

    public func hash(into hasher: inout Hasher)

Equatable

  • Checks equality between two indices.

    Declaration

    Swift

    public static func == (lhs: MIDITimeTableCellIndex, rhs: MIDITimeTableCellIndex) -> Bool

    Parameters

    lhs

    Left hand side of the equation.

    rhs

    Right hand side of the equation.

    Return Value

    Returns true if two indicies are equal, otherwise returns false.