• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Cocoa conventions for floats & ints
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa conventions for floats & ints


  • Subject: Re: Cocoa conventions for floats & ints
  • From: Greg Parker <email@hidden>
  • Date: Thu, 29 Oct 2009 23:38:11 -0700

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>)

  • Prev by Date: Re: Breakpoint bubbles
  • Next by Date: Re: Scripting Bridge running method passing an array
  • Previous by thread: Cocoa conventions for floats & ints
  • Next by thread: Scripting Bridge and Xcode rule problem
  • Index(es):
    • Date
    • Thread