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
|
@optional
|
||||||
- (nullable NSTouchBarItem*)touchBar:(NSTouchBar*)touchBar
|
- (nullable NSTouchBarItem*)touchBar:(NSTouchBar*)touchBar
|
||||||
makeItemForIdentifier:(NSTouchBarItemIdentifier)identifier;
|
makeItemForIdentifier:(NSTouchBarItemIdentifier)identifier;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@protocol NSScrubberDelegate<NSObject>
|
@protocol NSScrubberDelegate<NSObject>
|
||||||
|
|
||||||
|
- (void)scrubber:(NSScrubber *)scrubber didHighlightItemAtIndex:(NSInteger)highlightedIndex;
|
||||||
|
- (void)scrubber:(NSScrubber *)scrubber didSelectItemAtIndex:(NSInteger)selectedIndex;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@protocol NSScrubberDataSource<NSObject>
|
@protocol NSScrubberDataSource<NSObject>
|
||||||
|
|
||||||
|
- (NSInteger)numberOfItemsForScrubber:(NSScrubber *)scrubber;
|
||||||
|
- (NSInteger)numberOfItemsForScrubber:(NSScrubber *)scrubber;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
#pragma clang assume_nonnull end
|
#pragma clang assume_nonnull end
|
||||||
|
|
Loading…
Reference in a new issue