NSString的用法
1.直接的字符串
NSString *asString = @"123545";
NSLog(@"=====%@",asString); // 输出用%@
2.拼接的字符串
int age = 10;
int num = 5;
NSString *name = @"Wolfan";
int size = [name length]; //NSString的方法
NSString *newStr = [NSString stringWithFormat:@"my name is %@,age is %d, and num is %d",name,age,num];
NSLog(@"-----%@",newStr);