2010年11月18日
摘要: NSString *documentPath = [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) objectAtIndex:0];NSString *realPath =[documentPath stringByAppendingPathComponent:filename];用这... 阅读全文
posted @ 2010-11-18 18:09 Sure-G 阅读(398) 评论(0) 推荐(0) 编辑
摘要: int型 用@"%d年%02d月%02d日",2010,9,5 输出可以转成2位数,结果为:2010年09月05日.float型 可以用%.2f 输出得到小数点后2位的结果输出. 阅读全文
posted @ 2010-11-18 18:00 Sure-G 阅读(251) 评论(0) 推荐(0) 编辑