aboutsummaryrefslogtreecommitdiffstats
path: root/Framework/MASShortcut.h
diff options
context:
space:
mode:
authorTomáš Znamenáček2014-08-05 16:29:39 +0200
committerTomáš Znamenáček2015-01-07 15:27:50 +0100
commit5d06f0070626608847d5a4089ad2f7244e280a1a (patch)
tree50d5d5214a34065b29155ba445cad3ec8c65dcea /Framework/MASShortcut.h
parent6383b054190d8bc4b7e059718cded0119d25d98c (diff)
downloadMASShortcut-5d06f0070626608847d5a4089ad2f7244e280a1a.tar.bz2
Introduced `instancetype` return type where appropriate.
Diffstat (limited to 'Framework/MASShortcut.h')
-rw-r--r--Framework/MASShortcut.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Framework/MASShortcut.h b/Framework/MASShortcut.h
index 123e25e..24bd125 100644
--- a/Framework/MASShortcut.h
+++ b/Framework/MASShortcut.h
@@ -12,10 +12,10 @@
@property (nonatomic, readonly) NSData *data;
@property (nonatomic, readonly) BOOL shouldBypass;
-- (id)initWithKeyCode:(NSUInteger)code modifierFlags:(NSUInteger)flags;
+- (instancetype)initWithKeyCode:(NSUInteger)code modifierFlags:(NSUInteger)flags;
-+ (MASShortcut *)shortcutWithKeyCode:(NSUInteger)code modifierFlags:(NSUInteger)flags;
-+ (MASShortcut *)shortcutWithEvent:(NSEvent *)anEvent;
-+ (MASShortcut *)shortcutWithData:(NSData *)aData;
++ (instancetype)shortcutWithKeyCode:(NSUInteger)code modifierFlags:(NSUInteger)flags;
++ (instancetype)shortcutWithEvent:(NSEvent *)anEvent;
++ (instancetype)shortcutWithData:(NSData *)aData;
@end