summaryrefslogtreecommitdiff
path: root/platform/ios/Classes/MuHitView.h
diff options
context:
space:
mode:
authorJoseph Heenan <joseph@emobix.co.uk>2016-06-07 16:40:49 +0100
committerJoseph Heenan <joseph@emobix.co.uk>2016-06-09 10:57:47 +0100
commit3b9629fbbe654c63e8f41cabc9994f26ad5e6ff3 (patch)
tree33842cbbea51d39ea89e80236a9a71b86aa63b38 /platform/ios/Classes/MuHitView.h
parent4129322d734c8a03ae49a173a12eeced79a6cc75 (diff)
downloadmupdf-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.h4
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