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 布鲁斯 阅读(496) 评论(0) 推荐(0)
浙公网安备 33010602011771号