The table view’s delegate.
- macOS 10.0+
The delegate must conform to the
NSTable protocol. Setting the delegate will implicitly reload the table view. Note that in versions of macOS prior to v10.12, the table view did not retain the delegate in a managed memory environment.
When you set the table view’s delegate, it is automatically registered for the following notifications with the following delegate methods:
Setting the delegate to
nil causes these notifications to be disconnected. Rather than setting the delegate to
nil and listening for notifications (and expecting
NSTable to still function correctly) you should instead implement the appropriate delegate method.