Changes the number of rows and columns in the receiver.
- macOS 10.0+
The new number of rows in the matrix.
The new number of columns in the matrix.
This method uses the same cells as before, creating new cells only if the new size is larger; it never frees cells. It doesn’t redisplay the receiver. Your code should normally send
size after invoking this method to resize the receiver so it fits the changed cell arrangement. This method deselects all cells in the receiver.