int 与NSInteger的区别

133 阅读1分钟

NSInteger与int的区别是NSInteger会根据系统的位数(32or64)自动选择int的最大数值(int or long)。