Tag Archives: Objects

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 »