I want to ask about the fundamental data types in Objective-C on iOS.
I need the size on which the variable is represented and the range of the variable.
So in example:
short int – 2 bytes – signed: -32768 to 32767 and unsigned: 0 to 65535
This is only an example.
This is a good overview:
http://reference.jumpingmonkey.org/programming_languages/objective-c/types.html
or run this code:
32 bit process:
When run on an iPhone 3GS (iPod Touch and older iPhones should yield the same result) you get:
64 bit process: