diff options
author | Joseph Heenan <joseph@emobix.co.uk> | 2016-06-07 16:40:49 +0100 |
---|---|---|
committer | Joseph Heenan <joseph@emobix.co.uk> | 2016-06-09 10:57:47 +0100 |
commit | 3b9629fbbe654c63e8f41cabc9994f26ad5e6ff3 (patch) | |
tree | 33842cbbea51d39ea89e80236a9a71b86aa63b38 /platform/ios/Classes/MuTapResult.m | |
parent | 4129322d734c8a03ae49a173a12eeced79a6cc75 (diff) | |
download | mupdf-3b9629fbbe654c63e8f41cabc9994f26ad5e6ff3.tar.xz |
iOS: Use modern instancetype instead of id for init return type
Diffstat (limited to 'platform/ios/Classes/MuTapResult.m')
-rw-r--r-- | platform/ios/Classes/MuTapResult.m | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/platform/ios/Classes/MuTapResult.m b/platform/ios/Classes/MuTapResult.m index 951fd45f..f6ec06f1 100644 --- a/platform/ios/Classes/MuTapResult.m +++ b/platform/ios/Classes/MuTapResult.m @@ -11,7 +11,7 @@ @synthesize pageNumber; --(id) initWithPageNumber:(int)aNumber +-(instancetype) initWithPageNumber:(int)aNumber { self = [super init]; if (self) @@ -35,7 +35,7 @@ @synthesize url; --(id) initWithUrl:(NSString *)aString +-(instancetype) initWithUrl:(NSString *)aString { self = [super init]; if (self) @@ -67,7 +67,7 @@ @synthesize fileSpec, pageNumber, newWindow; --(id) initWithFileSpec:(NSString *)aString pageNumber:(int)aNumber newWindow:(BOOL)aBool +-(instancetype) initWithFileSpec:(NSString *)aString pageNumber:(int)aNumber newWindow:(BOOL)aBool { self = [super init]; if (self) @@ -108,7 +108,7 @@ @synthesize annot; --(id) initWithAnnotation:(MuAnnotation *)aAnnot +-(instancetype) initWithAnnotation:(MuAnnotation *)aAnnot { self = [super init]; if (self) |