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/MuTextSelectView.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/MuTextSelectView.h')
-rw-r--r-- | platform/ios/Classes/MuTextSelectView.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/ios/Classes/MuTextSelectView.h b/platform/ios/Classes/MuTextSelectView.h index 0f886174..44d86333 100644 --- a/platform/ios/Classes/MuTextSelectView.h +++ b/platform/ios/Classes/MuTextSelectView.h @@ -1,7 +1,7 @@ #include "common.h" @interface MuTextSelectView : UIView -- (id) initWithWords:(NSArray *)_words pageSize:(CGSize)_pageSize; +- (instancetype) initWithWords:(NSArray *)_words pageSize:(CGSize)_pageSize; - (NSArray *) selectionRects; - (NSString *) selectedText; @end |