Data Type’s in Objective C
In this article I’ll go over all of the data type’s available to you with Objective C. They include:
- int: Positive or negative number’s, without a decimal point
- float: Positive or negative numbers, with a decimal point
- double: Large floats
- char: Single character’s
- id: Generic datatype used to store a reference to an object. I’ll cover this in detail later.
- arrays: Think of an array as a big box, with many boxes inside of it. Each of the boxes inside the big box contain a value.
- strings: A string of characters