Add protocol methods
This commit is contained in:
parent
2fe21ecdd0
commit
d7f458d232
1 changed files with 7 additions and 0 deletions
|
@ -199,14 +199,21 @@ static const NSTouchBarItemIdentifier NSTouchBarItemIdentifierOtherItemsProxy =
|
|||
@optional
|
||||
- (nullable NSTouchBarItem*)touchBar:(NSTouchBar*)touchBar
|
||||
makeItemForIdentifier:(NSTouchBarItemIdentifier)identifier;
|
||||
|
||||
@end
|
||||
|
||||
@protocol NSScrubberDelegate<NSObject>
|
||||
|
||||
- (void)scrubber:(NSScrubber *)scrubber didHighlightItemAtIndex:(NSInteger)highlightedIndex;
|
||||
- (void)scrubber:(NSScrubber *)scrubber didSelectItemAtIndex:(NSInteger)selectedIndex;
|
||||
|
||||
@end
|
||||
|
||||
@protocol NSScrubberDataSource<NSObject>
|
||||
|
||||
- (NSInteger)numberOfItemsForScrubber:(NSScrubber *)scrubber;
|
||||
- (NSInteger)numberOfItemsForScrubber:(NSScrubber *)scrubber;
|
||||
|
||||
@end
|
||||
|
||||
#pragma clang assume_nonnull end
|
||||
|
|
Loading…
Reference in a new issue