diff options
author | Joseph Heenan <joseph@emobix.co.uk> | 2016-06-07 16:41:35 +0100 |
---|---|---|
committer | Joseph Heenan <joseph@emobix.co.uk> | 2016-06-09 10:57:47 +0100 |
commit | 641935ed19f95dfb7eab1309905e960389628289 (patch) | |
tree | 5573b4fe1613ba001ee3d674fa50e84d8af5c4d3 /platform/ios | |
parent | 3b9629fbbe654c63e8f41cabc9994f26ad5e6ff3 (diff) | |
download | mupdf-641935ed19f95dfb7eab1309905e960389628289.tar.xz |
iOS: Replace property like accessors with properties
Diffstat (limited to 'platform/ios')
-rw-r--r-- | platform/ios/Classes/MuPageView.h | 2 | ||||
-rw-r--r-- | platform/ios/Classes/MuTextSelectView.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/platform/ios/Classes/MuPageView.h b/platform/ios/Classes/MuPageView.h index e3c26549..f3b8c0d9 100644 --- a/platform/ios/Classes/MuPageView.h +++ b/platform/ios/Classes/MuPageView.h @@ -2,7 +2,7 @@ #import "MuTapResult.h" @protocol MuPageView --(int) number; +@property (NS_NONATOMIC_IOSONLY, readonly) int number; -(void) willRotate; -(void) showLinks; -(void) hideLinks; diff --git a/platform/ios/Classes/MuTextSelectView.h b/platform/ios/Classes/MuTextSelectView.h index 44d86333..eb5c9610 100644 --- a/platform/ios/Classes/MuTextSelectView.h +++ b/platform/ios/Classes/MuTextSelectView.h @@ -2,6 +2,6 @@ @interface MuTextSelectView : UIView - (instancetype) initWithWords:(NSArray *)_words pageSize:(CGSize)_pageSize; -- (NSArray *) selectionRects; -- (NSString *) selectedText; +@property (NS_NONATOMIC_IOSONLY, readonly, copy) NSArray *selectionRects; +@property (NS_NONATOMIC_IOSONLY, readonly, copy) NSString *selectedText; @end |