Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Cocoa conventions for floats & ints
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa conventions for floats & ints



On Oct 28, 2009, at 2:35 AM, Bryan Pietrzak wrote:
I found this information:

http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/Cocoa64BitGuide/64BitChangesCocoa/64BitChangesCocoa.html#//apple_ref/doc/uid/TP40004247-CH4-SW11

where NSInteger is discussed, but I was a bit surprised to not find something along the lines of 8, 16, 32, 64 support for various integer types. Or am I just missing it?

Now I did see a few references to the C99 types (int8_t, int16_t, etc.), but it wasn't clear to me that this was really the Cocoa Way to go.


Use the C99 types for explicitly-sized integers. Pretty much every other sized-integer type is now present for historical reasons only.


-- Greg Parker email@hidden Runtime Wrangler


_______________________________________________

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


References: 
 >Cocoa conventions for floats & ints (From: Bryan Pietrzak <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.