SInteger转化 NSString类型:
[NSString stringWithFormat: @"%d",NSInteger];
NSString转化
NSInteger类型:
NSInteger= [
NSString
intValue
];
NSString *tempA = @"123";
NSString *tempA = @"123";
1,字符串拼接
2,字符转int
intintString = [newString intValue];
3,int转字符
NSString *stringInt = [NSStringstringWithFormat:@"%d",intString];
4,字符转float
5,float转字符
NSString *stringFloat = [NSStringstringWithFormat:@"%f",intString];