Contents

removeRow(_:)

Removes the specified row from the receiver.

Declaration

func removeRow(_ row: Int)

Parameters

  • row:

    The row to remove.

Discussion

The row’s cells are autoreleased. This method redraws the receiver. Your code should normally send sizeToCells() after invoking this method to resize the receiver so it fits the reduced cell count.

See Also

Laying Out the Cells of the Matrix