Data types are the basic building blocks
of just about object oriented language and Objective-C has a few also
- int
- 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
- char
- is used to store a single character such as a letter, numerical digit or punctuation mark or space character
- float
- is used to store floating point values
- double
- is used to store larger values than can be handled by the float data type. The term double comes from the fact that a double can handle values twice the size of a float
- id
- The id data type is a general purpose data type that can be used to store a reference to any object, regardless of its type.
- BOOL
- Objective-C, like other actionscript, includes a data type for the purpose of handling true or false (1 or 0) conditions. Such a data type is declared using either the _Bool or BOOL keywords.
it was very interesting to read codelicous.com
I want to quote your post in my blog. It can?
And you et an account on Twitter?
Hey Gato liked your post .. I am also learn object-c I think it is the future
I would like to exchange links with your site codelicous.com
Is this possible?