郝萌主倾心贡献,尊重作者的劳动成果.请勿转载. 假设文章对您有所帮助.欢迎给作者捐赠.支持郝萌主,捐赠数额任意.重在心意^_^ 我要捐赠: 点击捐赠 Cocos2d-X源代码下载:点我传送 简单的来说就是为了方便查找和导航代码用的. 以下举例怎样高速的定位到我已经标识过的代码. #pragma mark Life Cycle - (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading th…
概述: 可以简单地给代码进行一个分组,方便代码的查找(可以不用记,无所谓的小东西) 例如: #pragma mark dog类的声明 @interface Dog :NSObject @end @implementation Dog @end #pragma mark - //给内容加个空格线 #pragma mark 指令…
原帖地址:http://macdevelopertips.com/xcode/xcode-and-pragma-mark.html I've started using #pragma mark directives in my code to help with organization as my implementation files grow. #pragma mark is simple to use, for example, insert the following to cal…