Actionscript and Obeject-C have few Data types things in common part 2

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.
This entry was posted in Actionscript, Object-C. Bookmark the permalink.

3 Responses to Actionscript and Obeject-C have few Data types things in common part 2

  1. _Confession_ says:

    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?

  2. Morkus says:

    Hey Gato liked your post .. I am also learn object-c I think it is the future

  3. angarsk_wow says:

    I would like to exchange links with your site codelicous.com
    Is this possible?

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>