summaryrefslogtreecommitdiff
path: root/platform/ios/Classes/MuInkView.m
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/MuInkView.m
parent4129322d734c8a03ae49a173a12eeced79a6cc75 (diff)
downloadmupdf-3b9629fbbe654c63e8f41cabc9994f26ad5e6ff3.tar.xz
iOS: Use modern instancetype instead of id for init return type
Diffstat (limited to 'platform/ios/Classes/MuInkView.m')
-rw-r--r--platform/ios/Classes/MuInkView.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/ios/Classes/MuInkView.m b/platform/ios/Classes/MuInkView.m
index 709489dd..78bc73df 100644
--- a/platform/ios/Classes/MuInkView.m
+++ b/platform/ios/Classes/MuInkView.m
@@ -8,7 +8,7 @@
UIColor *color;
}
-- (id) initWithPageSize:(CGSize)_pageSize
+- (instancetype) initWithPageSize:(CGSize)_pageSize
{
self = [super initWithFrame:CGRectMake(0, 0, 100, 100)];
if (self) {