NSString *stringA = @″;
//1,字符转NSInteger
NSInteger k = [stringA integerValue];
//2,NSInteger转字符
NSString *s = [NSString stringWithFormat:@"%ld",k];
//3
,字符转int
int intString = [newString intValue];
//3,int转字符 NSString *stringInt = [NSString stringWithFormat:@"%d",intString];
//4,字符转float float floatString = [newString floatValue];
//5,float转字符 NSString *stringFloat = [NSString stringWithFormat:@"%f",intString];