• 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
NSInteger/NSUInteger Considerations (64 bit)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSInteger/NSUInteger Considerations (64 bit)


  • Subject: NSInteger/NSUInteger Considerations (64 bit)
  • From: Dave <email@hidden>
  • Date: Tue, 25 Mar 2014 22:51:20 +0000

Hi,

I’m working on a Mac App (that may be ported to iOS at some point). The application has to read files in old propriety formats. This files are made up mostly of 8, 16 and 32 bit Signed and Unsigned Integers. In order to do the task and have it work easilly with the rest of the App, the idea is to basically turn each format into an object that represents it.

I am defining the fields in each of the file format to be properties of the corresponding object, so for each pertenant field in the file, there is an assocaiated property.

Some of the files I am processing contain in excess of 500 Integer values and there can be around 3000 of these active at any one time.

I’m wondering if it would be better to define the properies are NSInteger/NSUIntger, or whether to define them as Int8/UInt8, or Int16/UInt16 or Int32/UInt32.

Any suggestions/advice on this greatly appreciated.

Thanks
Dave




_______________________________________________

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: NSInteger/NSUInteger Considerations (64 bit)
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: CFXMLCreateStringByUnescapingEntities() bombs on "&#13207494"
  • Next by Date: Re: NSInteger/NSUInteger Considerations (64 bit)
  • Previous by thread: Re: What do you guys use to convert an XSD to objective C data classes/structures?
  • Next by thread: Re: NSInteger/NSUInteger Considerations (64 bit)
  • Index(es):
    • Date
    • Thread