摘要: NSURL*url = [NSURLURLWithString:@“http.....”]; UIImage*image = [UIImageimageWithData:[NSDatadataWithContentsOfURL:url]]; uiimage.image= image; 阅读全文
posted @ 2013-10-15 16:23 时光独白 阅读(339) 评论(0) 推荐(0) 编辑
摘要: http://stackoverflow.com/questions/12914788/uilinebreakmodewordwrap-is-deprecated 阅读全文
posted @ 2013-10-15 16:07 时光独白 阅读(484) 评论(0) 推荐(0) 编辑
摘要: http://stackoverflow.com/questions/8460340/interface-type-cannot-be-statically-allocated 阅读全文
posted @ 2013-10-15 11:45 时光独白 阅读(653) 评论(0) 推荐(0) 编辑
摘要: 1. NSString转换成NSDataNSString* str = @"teststring";NSData* data = [str dataUsingEncoding:NSUTF8StringEncoding];2. NSData转换成NSStringNSString *aString = [[NSString alloc] initWithData:adataencoding:NSUTF8StringEncoding];3. JSON格式的NSString转换成NSMutableDictionaryNSError *err = nil;NSArray *arr = 阅读全文
posted @ 2013-10-15 11:44 时光独白 阅读(563) 评论(0) 推荐(0) 编辑