编码规范,是规范,不是定理,公理。本身就仁者见仁,智者见智。 遵循自己喜欢的或者大家都在遵循的,即可。
GOOGLE的:http://google-styleguide.googlecode.com/svn/trunk/objcguide.xml
APPLE的: http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/CodingGuidelines/CodingGuidelines.html
BTW: google有一系列的规范都是open的详见google