NSInteger转化 NSString类型:

NSInteger转化 NSString类型:
 [NSString stringWithFormat: @"%d", NSInteger];
NSString转化 NSInteger类型:
NSInteger = [NSString intValue];

猜你喜欢

转载自huayongsheng.iteye.com/blog/2319882