NSInteger NSUInteger

  • For 32 bit code, I need the%d specifier. But if I use the%d specifier, I get a warning when compiling for 64 bit suggesting I use%ld instead.

  • If I use%ld to match the 64 bit size, when compiling for 32 bit code I get a warning suggesting I use%dinstead.

%zd for signed, NSInteger

%tu for unsigned, NSUInteger

%tx for hex.

Object

NSLog(@"%@", class);

results matching ""

    No results matching ""