Things I didn’t miss from Mac 64-bit programming on iOS — Apple ridiculous inability to handle NSInteger well in format strings.
-
-
@apontious %zd for NSInteger, %tu for NSUInteger. No warnings on either arch.0 replies 10 retweets 19 likes -
0 replies 0 retweets 0 likes
-
@apontious Is there a good reason not to use “%@“ and box the numbers?0 replies 0 retweets 1 like -
@mjtsai@apontious that does put you slightly at the mercy of the user's locale which I worry about0 replies 0 retweets 0 likes -
@mikeabdullah Depends on what method you’re passing the format string to.0 replies 0 retweets 0 likes -
@mjtsai really? There's APIs which don't interpret %@ by calling -description?0 replies 0 retweets 0 likes
@mikeabdullah Hmm. The docs seem to say that both -stringWithFormat: and localizedStringWithFormat: end up calling a “locale” method.
4:07 PM - 14 Oct 2013
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
Andrew Pontious
zachary
Michael Tsai
Mike Abdullah