tiechui

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

08 2011 档案

摘要:So I have been struggling with this on RestKit for some time. What I finally figured out is that if I used explicit Header Search Paths, i.e. $(SOURCE_ROOT)/Libraries/RestKit/Build instead of relative Libraries/RestKit/Build, then the code sense starts working correctly. My team has verified this fi 阅读全文
posted @ 2011-08-16 09:19 tiechui 阅读(1096) 评论(1) 推荐(0)

摘要:很少做时间转换,转换了一个特殊格式的eg:Mon, 01 Aug 2011 01:07:30 GMT;从NSString 转到 NSDate方法如下- (NSString *)formatInfoDate:(NSString *)string { NSLog(@"string date: %@", string); NSDateFormatter *formatter = [[NSDateFormatter alloc] init]; // 关键是拼写format,参见后面网址的格式列表,本人在time的HH和hh 上浪费了很都时间,用小hh是12进制,转24进制有时候nu 阅读全文
posted @ 2011-08-03 10:28 tiechui 阅读(1461) 评论(0) 推荐(0)