Instance Property

cellClass

The subclass of NSCell that the matrix uses when creating new (empty) cells.

Declaration

@property(assign) Class cellClass;

Discussion

The value of this property should be the id of a subclass of NSCell, which can be obtained by sending the class message to either the NSCell subclass object or to an instance of that subclass. The default cell class is that set with the class method setCellClass:, or NSActionCell if no other default cell class has been specified.

You need to use this property only with matrices initialized with initWithFrame:, because the other initializers allow you to specify an instance-specific cell class or cell prototype.

See Also

Managing the Cell Class

prototype

The prototype cell that’s copied whenever the matrix creates a new cell.