With current Xcode, you can make use of the z and t modifiers to handle NSInteger and NSUInteger without warnings, on all architectures.
You want to use %zd for signed, %tu for unsigned, and %tx for hex.
NSLog NSInteger NSUInteger
猜你喜欢
转载自lizhuang.iteye.com/blog/2089515
今日推荐
周排行