• 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: Type comparison warning
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Type comparison warning


  • Subject: Re: Type comparison warning
  • From: Jean-Daniel Dupas <email@hidden>
  • Date: Thu, 30 Oct 2008 19:13:21 +0100


Le 30 oct. 08 à 19:01, Scott Ribe a écrit :

Not true, NSInteger and NSUInteger are typedefs for plain integer
types, *not* Objective-C objects.

Yes, yes, yes. Thanks for pointing that out. I'm not doing 10.5-only development yet, so I read "NSNumber" because I'm not used to seeing NSInteger anywhere.

NSInteger can safely be used for developpement that target any OS 10 version (it is binary compatible with previous OS X version).


All my projects that target 10.4 already use NSInteger (and are 64 bits safe).

_______________________________________________

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


  • Follow-Ups:
    • Re: Type comparison warning
      • From: Scott Ribe <email@hidden>
References: 
 >Re: Type comparison warning (From: Scott Ribe <email@hidden>)

  • Prev by Date: Re: Type comparison warning
  • Next by Date: Re: Porting from Windows to Mac
  • Previous by thread: Re: Type comparison warning
  • Next by thread: Re: Type comparison warning
  • Index(es):
    • Date
    • Thread