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
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