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/MuHitView.h | |
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/MuHitView.h')
-rw-r--r-- | platform/ios/Classes/MuHitView.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/ios/Classes/MuHitView.h b/platform/ios/Classes/MuHitView.h index d0823c8b..c976c321 100644 --- a/platform/ios/Classes/MuHitView.h +++ b/platform/ios/Classes/MuHitView.h @@ -8,8 +8,8 @@ #include "mupdf/fitz.h" @interface MuHitView : UIView -- (id) initWithSearchResults: (int)n forDocument: (fz_document *)doc; -- (id) initWithLinks: (fz_link*)links forDocument: (fz_document *)doc; +- (instancetype) initWithSearchResults: (int)n forDocument: (fz_document *)doc; +- (instancetype) initWithLinks: (fz_link*)links forDocument: (fz_document *)doc; - (void) setPageSize: (CGSize)s; - (MuTapResult *) handleTap:(CGPoint)pt; @end |