Re: NSInteger and NSUInteger


dhoerl
 

Xcode list 2013:

Date: Sun, 17 Nov 2013 15:38:22 -0500
From: Andy Lee <aglee@...>
To: "Gerriet M. Denkmann" <gerriet@...>
Cc: Xcode Users <xcode-users@...>
Subject: Re: printing NSUInteger in iOS
Message-ID: <E2CA2BAA-E03C-4850-8F42-7D3611A21C75@...>
Content-Type: text/plain; charset=us-ascii

I've been grudgingly casting, but there is this, which I haven't yet memorized:

<https://twitter.com/gparker/status/377910611453046784>
%zd, %tu, %tx (signed, unsigned, hex) currently format NSInteger and NSUInteger with no warnings.
--Andy

Join cocoa@apple-dev.groups.io to automatically receive all group messages.