Creates a new cell at the location specified by the given row and column in the receiver.
- macOS 10.0+
The row in which to create the new cell.
The column in which to create the new cell.
The newly created cell.
If the receiver has a prototype cell, it’s copied to create the new cell. If not, and if the receiver has a cell class set, it allocates and initializes (with
init) an instance of that class. If the receiver hasn’t had either a prototype cell or a cell class set,
NSMatrix creates an
Your code should never invoke this method directly; it’s used by
add and other methods when a cell must be created. It may be overridden to provide more specific initialization of cells.