OC中YES/true NO/false的区别
从工程角度:YES/true、NO/false没什么区别:
OC中接口定义通常使用BOOL ,也就是YES/NO;
过程方法中通常使用bool,也就是true/false;
但从语言的角度来说,BOOL和bool在定义上还是有细微的区别,具体请参考stackoverflow中的讨论:
http://stackoverflow.com/questions/615702/is-there-a-difference-between-yes-no-true-false-and-true-false-in-objective-c
To Be The Best Of Yourself