aboutsummaryrefslogtreecommitdiffstats
path: root/Framework/MASShortcutView.h
diff options
context:
space:
mode:
authorTony Arnold2016-11-01 09:49:08 +1100
committerTony Arnold2016-11-01 09:49:08 +1100
commit4e98f342e469af26cfd8cf6678f21c2fd2bda57f (patch)
treef8771f6305dfd19994134e93bbf1cd1cc1ae1166 /Framework/MASShortcutView.h
parentf743bdaa5b4f69bfdcd41de9a787e018398bee29 (diff)
downloadMASShortcut-4e98f342e469af26cfd8cf6678f21c2fd2bda57f.tar.bz2
Use properly typedef’d enumerations to improve Swift syntax
Signed-off-by: Tony Arnold <tony@thecocoabots.com>
Diffstat (limited to 'Framework/MASShortcutView.h')
-rw-r--r--Framework/MASShortcutView.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Framework/MASShortcutView.h b/Framework/MASShortcutView.h
index 656f4e4..75d4eb3 100644
--- a/Framework/MASShortcutView.h
+++ b/Framework/MASShortcutView.h
@@ -2,12 +2,12 @@
extern NSString *const MASShortcutBinding;
-typedef enum {
+typedef NS_ENUM(NSInteger, MASShortcutViewStyle) {
MASShortcutViewStyleDefault = 0, // Height = 19 px
MASShortcutViewStyleTexturedRect, // Height = 25 px
MASShortcutViewStyleRounded, // Height = 43 px
MASShortcutViewStyleFlat
-} MASShortcutViewStyle;
+};
@interface MASShortcutView : NSView