摘要:
NSNumberFormatter *numFormatter = [[NSNumberFormatter alloc] init]; NSNumber *firstNum = [NSNumber numberWithInt:2]; //NSNumber 转为 NSStr... 阅读全文
摘要:
//UIImage 转为 NSData NSData *imageData = UIImagePNGRepresentation(aImage);//NSData 转为 UIImage UIImage *newImage = [UIImage imageWithData:imageDat... 阅读全文
摘要:
//NSString 转为 NSURL NSString *webStr = @"www.baidu.com"; NSURL *webUrl = [NSURL URLWithString:webStr]; //NSURL 转为 NSString NSStrin... 阅读全文