dblock / obcd

Deal with obsessive compulsive issues of programmers in Objective-C.
MIT License
42 stars 8 forks source link

Enforce standards on properties #13

Open orta opened 10 years ago

orta commented 10 years ago

@property (nonatomic, strong, readwrite) Fair *fair;

Lets say we want to ensure that it is always in the order is always accessibility, atomicness, type then ideally ( there are only a few permutations ) obcd should be able to tell you the format is wrong.

Thus @property (nonatomic, strong, readwrite) Fair *fair; = warning @property ( readwrite, nonatomic, strong) Fair *fair; = pass