NSTableView Class Reference
PDF
Class at a Glance
Overview
Adopted Protocols
Tasks
Setting the Data Source
Loading Data
Target-action Behavior
Configuring Behavior
Setting Display Attributes
Column Management
Selecting Columns and Rows
Managing Type Select
Getting and Setting Column Focus
Table Dimensions
Displaying Cell
Editing Cells
Setting Auxiliary Views
Layout Support
Drawing
Scrolling
Persistence
Setting the Delegate
Highlightable Column Headers
Dragging
Sorting
Text Delegate Methods
Deprecated Methods
Instance Methods
addTableColumn:
allowsColumnReordering
allowsColumnResizing
allowsColumnSelection
allowsEmptySelection
allowsMultipleSelection
allowsTypeSelect
autosaveName
autosaveTableColumns
backgroundColor
canDragRowsWithIndexes:atPoint:
clickedColumn
clickedRow
columnAtPoint:
columnAutoresizingStyle
columnIndexesInRect:
columnWithIdentifier:
cornerView
dataSource
delegate
deselectAll:
deselectColumn:
deselectRow:
doubleAction
draggingDestinationFeedbackStyle
dragImageForRowsWithIndexes:tableColumns:event:offset:
drawBackgroundInClipRect:
drawGridInClipRect:
drawRow:clipRect:
editColumn:row:withEvent:select:
editedColumn
editedRow
focusedColumn
frameOfCellAtColumn:row:
gridColor
gridStyleMask
headerView
highlightedTableColumn
highlightSelectionInClipRect:
indicatorImageInTableColumn:
intercellSpacing
isColumnSelected:
isRowSelected:
moveColumn:toColumn:
noteHeightOfRowsWithIndexesChanged:
noteNumberOfRowsChanged
numberOfColumns
numberOfRows
numberOfSelectedColumns
numberOfSelectedRows
performClickOnCellAtColumn:row:
preparedCellAtColumn:row:
rectOfColumn:
rectOfRow:
reloadData
reloadDataForRowIndexes:columnIndexes:
removeTableColumn:
rowAtPoint:
rowHeight
rowsInRect:
scrollColumnToVisible:
scrollRowToVisible:
selectAll:
selectColumnIndexes:byExtendingSelection:
selectedColumn
selectedColumnIndexes
selectedRow
selectedRowIndexes
selectionHighlightStyle
selectRowIndexes:byExtendingSelection:
setAllowsColumnReordering:
setAllowsColumnResizing:
setAllowsColumnSelection:
setAllowsEmptySelection:
setAllowsMultipleSelection:
setAllowsTypeSelect:
setAutosaveName:
setAutosaveTableColumns:
setBackgroundColor:
setColumnAutoresizingStyle:
setCornerView:
setDataSource:
setDelegate:
setDoubleAction:
setDraggingDestinationFeedbackStyle:
setDraggingSourceOperationMask:forLocal:
setDropRow:dropOperation:
setFocusedColumn:
setGridColor:
setGridStyleMask:
setHeaderView:
setHighlightedTableColumn:
setIndicatorImage:inTableColumn:
setIntercellSpacing:
setRowHeight:
setSelectionHighlightStyle:
setSortDescriptors:
setUsesAlternatingRowBackgroundColors:
setVerticalMotionCanBeginDrag:
shouldFocusCell:atColumn:row:
sizeLastColumnToFit
sizeToFit
sortDescriptors
tableColumns
tableColumnWithIdentifier:
textDidBeginEditing:
textDidChange:
textDidEndEditing:
textShouldBeginEditing:
textShouldEndEditing:
tile
usesAlternatingRowBackgroundColors
verticalMotionCanBeginDrag
Constants
NSTableViewDraggingDestinationFeedbackStyle
Drop Operations
Grid styles
Autoresizing Styles
Selection Styles
Notifications
NSTableViewColumnDidMoveNotification
NSTableViewColumnDidResizeNotification
NSTableViewSelectionDidChangeNotification
NSTableViewSelectionIsChangingNotification
Appendix A: Deprecated NSTableView Methods
Deprecated in Mac OS X v10.3
drawsGrid
selectColumn:byExtendingSelection:
selectedColumnEnumerator
selectedRowEnumerator
selectRow:byExtendingSelection:
setDrawsGrid:
Deprecated in Mac OS X v10.4
autoresizesAllColumnsToFit
dragImageForRows:event:dragImageOffset:
setAutoresizesAllColumnsToFit:
tableView:writeRows:toPasteboard:
Deprecated in Mac OS X v10.5
columnsInRect:
Revision History
Index
COMPANION GUIDES
Table View Programming Guide
Drag and Drop Programming Topics for Cocoa