mirror of
https://github.com/wnagrodzki/CocoaProgrammingGuidelines.git
synced 2025-05-06 19:11:47 +02:00
Improves spacing.
This commit is contained in:
parent
34d085898b
commit
0e5b6d5b26
2 changed files with 4 additions and 4 deletions
Binary file not shown.
|
@ -286,15 +286,15 @@ None of the attributes can be omitted with the exception of readwrite.
|
||||||
\begin{codelisting}
|
\begin{codelisting}
|
||||||
@property (assign, nonatomic) CGFloat height;
|
@property (assign, nonatomic) CGFloat height;
|
||||||
@property (strong, nonatomic) UIColor * color;
|
@property (strong, nonatomic) UIColor * color;
|
||||||
@property (copy, nonatomic) NSString * name;
|
@property (copy, nonatomic) NSString * name;
|
||||||
@property (weak, nonatomic) id <UITableViewDelegate> delegate;
|
@property (weak, nonatomic) id <UITableViewDelegate> delegate;
|
||||||
\end{codelisting}
|
\end{codelisting}
|
||||||
|
|
||||||
Getters for boolean properties, if they are adjectives, are renamed in the following manner:
|
Getters for boolean properties, if they are adjectives, are renamed in the following manner:
|
||||||
|
|
||||||
\begin{codelisting}
|
\begin{codelisting}
|
||||||
@property (assign, nonatomic, getter = isVisible) BOOL visible;
|
@property (assign, nonatomic, getter = isVisible) BOOL visible;
|
||||||
@property (assign, nonatomic, getter = isEnabled) BOOL enabled;
|
@property (assign, nonatomic, getter = isEnabled) BOOL enabled;
|
||||||
@property (assign, nonatomic, getter = isTracking) BOOL tracking
|
@property (assign, nonatomic, getter = isTracking) BOOL tracking
|
||||||
\end{codelisting}
|
\end{codelisting}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue