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/MuAnnotation.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/MuAnnotation.h')
-rw-r--r-- | platform/ios/Classes/MuAnnotation.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/ios/Classes/MuAnnotation.h b/platform/ios/Classes/MuAnnotation.h index a113b93f..6f8e9da3 100644 --- a/platform/ios/Classes/MuAnnotation.h +++ b/platform/ios/Classes/MuAnnotation.h @@ -3,7 +3,7 @@ #import <Foundation/Foundation.h> @interface MuAnnotation : NSObject --(id) initFromAnnot:(fz_annot *)annot; +-(instancetype) initFromAnnot:(fz_annot *)annot; @property(readonly) int type; @property(readonly) CGRect rect; +(MuAnnotation *) annotFromAnnot:(fz_annot *)annot; |