NSInteger转化 NSString类型:
[NSString stringWithFormat: @"%d", NSInteger];
NSString转化 NSInteger类型:
NSInteger = [
NSString
intValue];
转载于:https://my.oschina.net/JohnZr/blog/65051