Re: Why does NSArray count return NSUInteger?
Re: Why does NSArray count return NSUInteger?
- Subject: Re: Why does NSArray count return NSUInteger?
- From: Bruce Turner <email@hidden>
- Date: Mon, 30 May 2011 13:42:37 -0400
A couple of other issues about the use of NSUInteger throughout the
Foundation Framework.
Core Foundation functions tend to use CFIndex and CFRange, both
signed. This is true for CFArray and other collections. If you mix
Foundation and Core Foundation you have to deal with this.
Many C functions also use int.
The use of NSUInteger seems to be an exception to common C usage. I am
not saying it is wrong but it is at odds with other conventions. It
would be interesting to find out why NSUInteger was chosen.
Bruce Turner
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden