| Conforms to | |
| Framework | /System/Library/Frameworks/AppKit.framework |
| Availability | Available in Mac OS X v10.6 and later. |
| Companion guide | |
| Declared in | NSTabView.h |
The NSTabViewDelegate protocol defines the optional methods implemented by delegates of NSTabView objects.
Informs the delegate that tabView has selected tabViewItem.
- (void)tabView:(NSTabView *)tabView didSelectTabViewItem:(NSTabViewItem *)tabViewItem
The tab view that sent the request.
The tab view item that was selected.
NSTabView.hInvoked just before tabViewItem in tabView is selected.
- (BOOL)tabView:(NSTabView *)tabView shouldSelectTabViewItem:(NSTabViewItem *)tabViewItem
The tab view that sent the request.
The tab view item to select.
YES if the tab view item should be selected, otherwise NO.
NSTabView.hInforms the delegate that tabView is about to select tabViewItem.
- (void)tabView:(NSTabView *)tabView willSelectTabViewItem:(NSTabViewItem *)tabViewItem
The tab view that sent the request.
The tab view item that is about to be selected.
NSTabView.hInforms the delegate that the number of tab view items in tabView has changed.
- (void)tabViewDidChangeNumberOfTabViewItems:(NSTabView *)tabView
The tab view that added or removed tabview items.
NSTabView.hLast updated: 2009-05-25