This commit is contained in:
Kevin Sawicki 2017-03-15 11:22:31 -07:00
parent bc31f05404
commit e98ac94d51

View file

@ -106,17 +106,17 @@ static const NSTouchBarItemIdentifier NSTouchBarItemIdentifierOtherItemsProxy =
@property SEL action; @property SEL action;
@property(weak) id target; @property(weak) id target;
@property(copy) NSColor *color; @property(copy) NSColor* color;
@property(strong) NSColorList *colorList; @property(strong) NSColorList* colorList;
@end @end
@interface NSPopoverTouchBarItem : NSTouchBarItem @interface NSPopoverTouchBarItem : NSTouchBarItem
@property BOOL showsCloseButton; @property BOOL showsCloseButton;
@property(strong) NSImage *collapsedRepresentationImage; @property(strong) NSImage* collapsedRepresentationImage;
@property(strong) NSString *collapsedRepresentationLabel; @property(strong) NSString* collapsedRepresentationLabel;
@property(strong) NSTouchBar *popoverTouchBar; @property(strong) NSTouchBar* popoverTouchBar;
@end @end
@ -124,8 +124,8 @@ static const NSTouchBarItemIdentifier NSTouchBarItemIdentifierOtherItemsProxy =
@property SEL action; @property SEL action;
@property(weak) id target; @property(weak) id target;
@property(copy) NSString *label; @property(copy) NSString* label;
@property(strong) NSSlider *slider; @property(strong) NSSlider* slider;
@end @end
@ -183,8 +183,8 @@ static const NSTouchBarItemIdentifier NSTouchBarItemIdentifierOtherItemsProxy =
@interface NSButton (TouchBarSDK) @interface NSButton (TouchBarSDK)
@property(copy) NSColor *bezelColor; @property(copy) NSColor* bezelColor;
+ (instancetype)buttonWithTitle:(NSString *)title + (instancetype)buttonWithTitle:(NSString*)title
target:(id)target target:(id)target
action:(SEL)action; action:(SEL)action;
@ -192,7 +192,7 @@ static const NSTouchBarItemIdentifier NSTouchBarItemIdentifierOtherItemsProxy =
@interface NSTextField (TouchBarSDK) @interface NSTextField (TouchBarSDK)
+ (instancetype)labelWithString:(NSString *)stringValue; + (instancetype)labelWithString:(NSString*)stringValue;
@end @end
@ -215,15 +215,15 @@ static const NSTouchBarItemIdentifier NSTouchBarItemIdentifierOtherItemsProxy =
@protocol NSScrubberDelegate<NSObject> @protocol NSScrubberDelegate<NSObject>
- (void)scrubber:(NSScrubber *)scrubber didHighlightItemAtIndex:(NSInteger)highlightedIndex; - (void)scrubber:(NSScrubber*)scrubber didHighlightItemAtIndex:(NSInteger)highlightedIndex;
- (void)scrubber:(NSScrubber *)scrubber didSelectItemAtIndex:(NSInteger)selectedIndex; - (void)scrubber:(NSScrubber*)scrubber didSelectItemAtIndex:(NSInteger)selectedIndex;
@end @end
@protocol NSScrubberDataSource<NSObject> @protocol NSScrubberDataSource<NSObject>
- (NSInteger)numberOfItemsForScrubber:(NSScrubber *)scrubber; - (NSInteger)numberOfItemsForScrubber:(NSScrubber*)scrubber;
- (__kindof NSScrubberItemView *)scrubber:(NSScrubber *)scrubber - (__kindof NSScrubberItemView*)scrubber:(NSScrubber*)scrubber
viewForItemAtIndex:(NSInteger)index; viewForItemAtIndex:(NSInteger)index;
@end @end