Further down in the document (In the "Platform Dependencies" section), it says 
you should use %ld or %lx for NSInteger and cast it to a long, and %lu or %lx 
for an NSUInteger and cast it to an unsigned long.

NSUInteger is typedef'd to either an unsigned int or an unsigned long, 
depending on your platform.

Cheers,

Dave

On Nov 14, 2010, at 8:33 AM, William Squires wrote:

> In the "String Programming Guide" under "String Format Specifiers", it says 
> "%u or %U" for unsigned 32 bit integers. Is this what NSUInteger is typedef'd 
> to? Or do I need "%qu" instead?
> 
> _______________________________________________
> 
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> 
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
> 
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/davedelong%40me.com
> 
> This email sent to davedel...@me.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to