NSInteger/NSUInteger Considerations (64 bit)
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