Magic Studio

专心做有逼格的APP!

10 2011 档案

NSString的一点tips
摘要:When to release a NSString in iPhone up vote 7 down vote favorite 7 share [fb] share [tw] I have the following method -(NSMutableArray *) getPaises { NSMutableArray * paises; paises = [[NSMutableArray all... 阅读全文

posted @ 2011-10-21 00:08 Mr 布鲁斯 阅读(308) 评论(0) 推荐(0) 编辑

obj 格式化输出 [转]
摘要:在使用诸如NSLog, [NSString stringWithFormat:]之类的函数时,都是基于c/c++风格的字符串格式化工作的.本来c/c++就没怎么用过,到iphone开发开发时掺合上NS系的对象,格式化输出更是一头的乱.看了一下Programming Guide for Cocoa的文档,还是有比较详尽的说明的,整理出来备查.格式定义The format specifiers supported by the NSString formatting methods and CFString formatting functions follow the IEEE printf s 阅读全文

posted @ 2011-10-14 13:08 Mr 布鲁斯 阅读(493) 评论(0) 推荐(0) 编辑

导航

统计信息

点击右上角即可分享
微信分享提示