使用%zd打印NSInteger %tu打印NSUInteger
NSInteger a = 1;
NSLog(@"first number:%zd",a);
NSUInteger b = 1;
NSLog(@"second number:%tu",b);
使用%zd打印NSInteger %tu打印NSUInteger
NSInteger a = 1;
NSLog(@"first number:%zd",a);
NSUInteger b = 1;
NSLog(@"second number:%tu",b);