Contents

NSTableViewDelegate

A set of optional methods you implement in a table view delegate to customize the behavior of the table view.

Declaration

protocol NSTableViewDelegate : NSControlTextEditingDelegate

Overview

Using a table view delegate allows you to customize a table view’s behavior without creating a table view subclass. A table view delegate provides views for table rows and columns, and supports functionality such as column reordering and resizing and row selection. To learn more about table views, see NSTableView.

Topics

Providing views for rows and columns

Notification of row views being added or removed

Grouping rows

Providing cells for rows and columns

Editing cells

Setting row and column size

Selecting rows

Moving and resizing columns

Responding to mouse events

Enabling table row actions

Showing and hiding columns

See Also

Management