From 40750b6f24c9503538af8c89dfdce2a9dadbcc2f Mon Sep 17 00:00:00 2001 From: David Fuhrmann Date: Mon, 11 Sep 2017 11:22:57 +0200 Subject: [PATCH] Sparkle: Add 10.11 SDK compatibility for touch bar declarations Those annotations are not available in 10.11 SDK yet. --- Sparkle/SUTouchBarForwardDeclarations.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Sparkle/SUTouchBarForwardDeclarations.h b/Sparkle/SUTouchBarForwardDeclarations.h index 2844ef03..e2f93991 100644 --- a/Sparkle/SUTouchBarForwardDeclarations.h +++ b/Sparkle/SUTouchBarForwardDeclarations.h @@ -18,8 +18,8 @@ NS_ASSUME_NONNULL_BEGIN @class NSTouchBarItem; @class NSCustomTouchBarItem; -typedef NSString * NSTouchBarItemIdentifier NS_EXTENSIBLE_STRING_ENUM; -typedef NSString * NSTouchBarCustomizationIdentifier NS_EXTENSIBLE_STRING_ENUM; +typedef NSString * NSTouchBarItemIdentifier; +typedef NSString * NSTouchBarCustomizationIdentifier; @protocol NSTouchBarDelegate; @@ -49,7 +49,7 @@ NS_CLASS_AVAILABLE_MAC(10_12_2) makeItemForIdentifier:(NSTouchBarItemIdentifier)identifier; @end -typedef float NSTouchBarItemPriority _NS_TYPED_EXTENSIBLE_ENUM; +typedef float NSTouchBarItemPriority; NS_CLASS_AVAILABLE_MAC(10_12_2) @interface NSTouchBarItem : NSObject