Unify boolean flag naming confention, getter spacing, and property attribute naming

Summary:
* Fixes #3
* Ordering: atomicity, then [optional] readonly, then value semantics (retain/copy/assign)
* Removed redundant `readwrite`
* No spaces between "getter = name" ("getter=name" instead)
* Property method overrides renamed as well
* self.isBlah, while technically not entirely correct, still resolves to [self blah], so left alone (@kimon had advice on this sort of naming issue last summer), and largely inconsequential

Test Plan:
* Compile and run
This commit is contained in:
Andrew Toulouse
2014-07-16 15:57:18 -07:00
parent f504ab4d15
commit a35c109a08
16 changed files with 44 additions and 44 deletions

View File

@@ -52,12 +52,12 @@ typedef NS_ENUM(NSUInteger, ASTextNodeHighlightStyle) {
/**
@abstract If the text node is truncated. Text must have been sized first.
*/
@property (nonatomic, assign, readonly, getter = isTruncated) BOOL truncated;
@property (nonatomic, readonly, assign, getter=isTruncated) BOOL truncated;
/**
@abstract The number of lines in the text. Text must have been sized first.
*/
@property (nonatomic, assign, readonly) NSUInteger lineCount;
@property (nonatomic, readonly, assign) NSUInteger lineCount;
#pragma mark - Shadow