From f9f48f5ca83f7723eabdd16d0c95195092a8a514 Mon Sep 17 00:00:00 2001 From: Tomáš Znamenáček Date: Wed, 6 Aug 2014 18:38:51 +0200 Subject: Removed explicit @synthesize and renamed “appearance” to “style”. The “appearance” property didn’t play nice with auto-synthesizing, not really sure why. --- Framework/MASShortcutView.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Framework/MASShortcutView.h') diff --git a/Framework/MASShortcutView.h b/Framework/MASShortcutView.h index 8cff0ca..166be44 100644 --- a/Framework/MASShortcutView.h +++ b/Framework/MASShortcutView.h @@ -3,11 +3,11 @@ extern NSString *const MASShortcutBinding; typedef enum { - MASShortcutViewAppearanceDefault = 0, // Height = 19 px - MASShortcutViewAppearanceTexturedRect, // Height = 25 px - MASShortcutViewAppearanceRounded, // Height = 43 px - MASShortcutViewAppearanceFlat -} MASShortcutViewAppearance; + MASShortcutViewStyleDefault = 0, // Height = 19 px + MASShortcutViewStyleTexturedRect, // Height = 25 px + MASShortcutViewStyleRounded, // Height = 43 px + MASShortcutViewStyleFlat +} MASShortcutViewStyle; @interface MASShortcutView : NSView @@ -16,7 +16,7 @@ typedef enum { @property (nonatomic, getter = isRecording) BOOL recording; @property (nonatomic, getter = isEnabled) BOOL enabled; @property (nonatomic, copy) void (^shortcutValueChange)(MASShortcutView *sender); -@property (nonatomic) MASShortcutViewAppearance appearance; +@property (nonatomic, assign) MASShortcutViewStyle style; /// Returns custom class for drawing control. + (Class)shortcutCellClass; -- cgit v1.2.3