From 5d06f0070626608847d5a4089ad2f7244e280a1a Mon Sep 17 00:00:00 2001 From: Tomáš Znamenáček Date: Tue, 5 Aug 2014 16:29:39 +0200 Subject: Introduced `instancetype` return type where appropriate. --- Framework/MASShortcut.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Framework/MASShortcut.h') 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 -- cgit v1.2.3