摘要: https://developer.apple.com/library/ios/qa/qa1480/_index.html- (NSDate *)dateFromString:(NSString *)string { if (!string) { return nil; } NSDateFormatter *formatter = [[NSDateFormatter alloc] init]; [formatter setDateFormat : @"yyyy'-'MM'-'dd'T'HH':'mm':' 阅读全文
posted @ 2013-11-29 14:04 如来藏 阅读(582) 评论(0) 推荐(0) 编辑
摘要: -1 down vote favoriteI am using the 'analyze' tool in xcode to check for potential leakages in my app.I am getting the following warning as a result.How do I resolve the potential leak shown above? "self.answerArray" is just an array I declared in my header file解决 :You've calle 阅读全文
posted @ 2013-11-29 10:17 如来藏 阅读(205) 评论(0) 推荐(0) 编辑