diff --git a/Cocoa Programming Guidelines.pdf b/Cocoa Programming Guidelines.pdf index 01db825..93482f2 100644 Binary files a/Cocoa Programming Guidelines.pdf and b/Cocoa Programming Guidelines.pdf differ diff --git a/Cocoa Programming Guidelines.tex b/Cocoa Programming Guidelines.tex index e63db76..50f02d7 100644 --- a/Cocoa Programming Guidelines.tex +++ b/Cocoa Programming Guidelines.tex @@ -286,15 +286,15 @@ None of the attributes can be omitted with the exception of readwrite. \begin{codelisting} @property (assign, nonatomic) CGFloat height; @property (strong, nonatomic) UIColor * color; -@property (copy, nonatomic) NSString * name; -@property (weak, nonatomic) id delegate; +@property (copy, nonatomic) NSString * name; +@property (weak, nonatomic) id delegate; \end{codelisting} Getters for boolean properties, if they are adjectives, are renamed in the following manner: \begin{codelisting} -@property (assign, nonatomic, getter = isVisible) BOOL visible; -@property (assign, nonatomic, getter = isEnabled) BOOL enabled; +@property (assign, nonatomic, getter = isVisible) BOOL visible; +@property (assign, nonatomic, getter = isEnabled) BOOL enabled; @property (assign, nonatomic, getter = isTracking) BOOL tracking \end{codelisting}