Contents

getRow(_:column:of:)

Searches the receiver for the specified cell and returns the row and column of the cell

Declaration

func getRow(_ row: UnsafeMutablePointer<Int>, column col: UnsafeMutablePointer<Int>, of cell: NSCell) -> Bool

Parameters

  • row:

    On return, the row in which the cell is located.

  • col:

    On return, the column in which the cell is located.

  • cell:

    The cell to locate within the matrix.

Return Value

true if the cell is one of the cells in the receiver, false otherwise.

Discussion

.

See Also

Finding Matrix Coordinates