Changes

Jump to: navigation, search

Objective-C 2.0 Data Types

23 bytes added, 19:56, 31 March 2011
int Data Type
== int Data Type ==
<google>IOSBOX</google>
The Objective-C ''int'' data type can store a positive or negative whole number (in other words a number with no decimal places). The actual size or range of integer that can be handled by the ''int'' data type is machine and compiler implementation dependent. Typically the amount of storage allocated to int values is either 32-bit or 64-bit depending on the implementation of Objective-C on that platform or the CPU on which the compiler is running. It is important to note, however, that the operating system also plays a role in whether int values are 32 or 64-bit. For example the CPU in a computer may be 64-bit but the operating system running on it may only be 32-bit.

Navigation menu