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 »

what are ivars in programming ?

“ivars” are nothing but just those instance variables declared in the class. e.g. in Objective C code @interface Myclass : BaseClass { int count; float get;          // instance variables / ivars / data members }