08 2012 档案

摘要:#import"GTMBase64.h"//utf-7 需要用到GTMBase64- (NSString *)stringFromUTF7String:(NSString *)utf7String{ NSMutableString *result = [NSMutableString string]; NSInteger location = 0; NSInteger len = 0; BOOL isBase64 = NO; for (int i = 0; i < utf7String.length; i++) { unichar ch = [utf7String c 阅读全文
posted @ 2012-08-29 17:13 翛尧 阅读(2067) 评论(0) 推荐(0)
摘要:1+ (AFTwitterAPIClient *)sharedClient { static AFTwitterAPIClient *_sharedClient = nil; static dispatch_once_t onceToken; dispatch_once(&onceToken, ^{ _sharedClient = [[AFTwitterAPIClientalloc] initWithBaseURL:[NSURLURLWithString:kAFTwitterAPIBaseURLString]]; }); return _sharedClient;}2stat... 阅读全文
posted @ 2012-08-15 10:13 翛尧 阅读(223) 评论(0) 推荐(0)
摘要:-initWithNibName:bundle: 里面不要执行内容。 阅读全文
posted @ 2012-08-13 16:27 翛尧 阅读(197) 评论(0) 推荐(0)