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
bmtur...@optonline.net



_______________________________________________

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