Instance Method

preparedCellAtColumn:row:

Returns the fully prepared cell that the table view will use for drawing or processing of the specified row and column.

Declaration

- (NSCell *)preparedCellAtColumn:(NSInteger)column row:(NSInteger)row;

Parameters

column

The index in the tableColumns array for which to return the appropriate cell.

row

The row index for which to return the appropriate cell.

Return Value

New NSCell subclass instance to use for the specified row and column. The value for the cell is correctly set, and the delegate method tableView:willDisplayCell:forTableColumn:row: will have been called.

Discussion

You can override this method to do any additional cell set up that is required, or invoke it to retrieve a cell that has its contents configured for the specified column and row.

See Also

Deprecated Methods

- dragImageForRows:event:dragImageOffset:

Computes and returns an image to use for dragging.

Deprecated
- setAutoresizesAllColumnsToFit:

Controls whether the table view proportionally resizes its columns to fit when its superview’s frame changes.

Deprecated
- autoresizesAllColumnsToFit

Returns YES if the table view proportionally resizes its columns to fit when its superview’s frame changes, NO if it only resizes the last column.

Deprecated
- selectColumn:byExtendingSelection:

Selects the column at the specified index, optionally extending any existing selection.

Deprecated
- selectRow:byExtendingSelection:

Selects a row at the specified index, optionally extending any existing selection.

Deprecated
- tableView:writeRows:toPasteboard:

Writes the specified rows to the specified pasteboard.

Deprecated
- setDrawsGrid:

Sets whether the table view draws a grid.

Deprecated
- drawsGrid

Returns a Boolean value that indicates whether the table view draws a grid.

Deprecated
- selectedColumnEnumerator

This method has been deprecated.

Deprecated
- selectedRowEnumerator

This method has been deprecated.

Deprecated
- focusedColumn

Returns the currently focused column.

Deprecated
- setFocusedColumn:

Sets the currently focused column to the specified index.

Deprecated
- shouldFocusCell:atColumn:row:

Returns whether the fully prepared cell at the specified row and column can be made the focused cell.

Deprecated
- performClickOnCellAtColumn:row:

Performs a click action on the cell at the specified row and column.

Deprecated
- columnsInRect:

Returns a range of indexes for the table view’s columns that lie wholly or partially within the horizontal boundaries of the specified rectangle.

Deprecated
- textShouldBeginEditing:

Queries the delegate to determine if the text should begin editing.

Deprecated
- textDidBeginEditing:

Posts an NSControlTextDidBeginEditingNotification to the default notification center.

Deprecated
- textDidChange:

Sends textDidChange: to the edited cell and posts an NSControlTextDidChangeNotification to the default notification center.

Deprecated
- textShouldEndEditing:

Validates the text object for the cell being edited by querying the delegate.queries the delegate using control:textShouldEndEditing:, returning the delegate’s response if it responds to that method.

Deprecated
- textDidEndEditing:

Updates the data source based on the newly edited value and selects another cell for editing if possible according to the character that ended editing (Return, Tab, Backtab).

Deprecated