Tag Archives: Objective C

Clang – what is clang ?

The Clang Compiler is an open-source compiler for the C family of programming languages, aiming to be the best in class implementation of these languages. Clang builds on the LLVM optimizer and code generator, allowing it to provide high-quality optimization and code generation support for many targets.

how to declare an object in Objective C language ?

There are two ways :   Myclass *obj1 ;  // strong type id obj1; // weak type – more flexible in use   Objective-C supports both strong and weak typing for variables containing objects. Strongly typed variables include the class name in the variable type declaration. Weakly typed variables use the type id for the object… Read More »

Difference between #import and #include in Objective C code ?

Difference between import and include import and include function similarly. The only difference is, #import makes sure that the same header file is not included again. It is preferred to write #import over #include in your code. – Reference Learning from iOS Developer Library