I've just started getting back into programming after being out of the game for a few years. When I was last coding for a living it was with Carbon. Now I'm jumping into Cocoa.

Just a quick question about conventions.

Previously it seemed the carbon world was moving to an abstract way to declare numbers: UInt32, SInt64, Float32, etc. Is there a similar convention in the Cocoa world? (Doesn't comprehensively seem to be in my limited searching.)

This question seems more relevant than ever now that we fast approaching a world where 64 bit is the norm and not the "future".

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.

Just looking for a little guidance on the Cocoa-way of things.

Thanks

Bryan



p.s. what a wonderful time to come back to the coding side of things... carbon and codewarrior were old friends that served me well for a long time, but cocoa and xcode are very exciting!
_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to