Created
December 17, 2015 09:00
-
-
Save edwardean/0cda0f92bace12b1260c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
You want to use %zd for signed, %tu for unsigned, and %tx for hex. | |
NSInteger integer = 1;NSLog(@"first number: %zd", integer); | |
NSUInteger uinteger = 1;NSLog(@"second number: %tu", uinteger); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment