NSInteger打印以及字符串的转换

1 You can also use %zd (NSInteger) and %tu (NSUInteger) when logging to the console.
2 
3 NSInteger integer = 1;
4 NSLog(@"first number: %zd", integer);
5 
6 NSUInteger uinteger = 1;
7 NSLog(@"second number: %tu", uinteger
原文地址:https://www.cnblogs.com/mgbert/p/4169155.html