mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-28 05:14:34 +00:00
Add forward declaration for Xcode7
This commit is contained in:
1 parent
942d70d3aa
commit
db7f4acc83
2 files changed
+6
-1
No files matched your search
Vendored
+6
@@ -8,6 +8,12 @@
|
||||
|
||||
#import "SUTouchBarButtonGroup.h"
|
||||
|
||||
#if __MAC_OS_X_VERSION_MAX_ALLOWED < 101200
|
||||
@interface NSButton (SierraSDK)
|
||||
+ (instancetype)buttonWithTitle:(NSString*)title target:(id)target action:(SEL)action;
|
||||
@end
|
||||
#endif
|
||||
|
||||
@implementation SUTouchBarButtonGroup
|
||||
|
||||
@synthesize buttons = _buttons;
|
||||
|
||||
-1
@@ -57,7 +57,6 @@ NS_CLASS_AVAILABLE_MAC(10_12_2)
|
||||
- (instancetype)initWithIdentifier:(NSTouchBarItemIdentifier)identifier NS_DESIGNATED_INITIALIZER;
|
||||
- (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
|
||||
- (instancetype)init NS_UNAVAILABLE;
|
||||
+ (instancetype)buttonWithTitle:(NSString *)title target:(nullable id)target action:(nullable SEL)action NS_AVAILABLE_MAC(10_12);
|
||||
|
||||
@property (readonly, copy) NSTouchBarItemIdentifier identifier;
|
||||
@property NSTouchBarItemPriority visibilityPriority;
|
||||
|
||||
Reference in new issue
Block a user