iOS App Development Tutorial 05 Objective-C for iOS 9 Apps Variables & Types
iOS App Development Tutorial - 05 - Getting Started with Objective C for iOS 9 Apps | Variables & TypesVariables and Types in Objective C for iOS 9 Apps @ https://youtu.be/9GTCycuFKmE
Checkout the Complete playlist of iOS App Development with Objective C and Xcode 7 Tutorials @ https://goo.gl/CqAFNg
Welcome to the 5th episode of iOS Mobile App Development Tutorial. In this lecture we will start programming in Objective-C. The main focus will be discussing about Variables and Type in Objective C.
A variable is a name used for data. Objectve-C is a typed language. In Objectve C every variable has a “type” assigned to the data. Some examples of types in Objective C are strings, integers, floating point, pointers etc.
Types are used by computers to represent different data compactly and accurately. Types make program more efficient by helping in preventing errors.
There three primitive types in objective c. They are integers, fixed-width integers and floating points.
Integers data type is further categorised as follow:
1. int
2. unsigned
3. short
4. long
5. long long
At the end of this lecture we will understand that Objective-C is built on C. Objectve-C has variables. Variables are further categorised in types.
Post a Comment