Hello,
I am in a strange dilemma . I have a class clsA which has some methods .I am creating instance of ClsA in other class and accessing methods of clsA . I have declare object of clsA in header file and I m writing these two lines simultaneoulsy .
clsAobj = [[clsA alloc] init];
[clsAobj someemethod];
The problem is that while Debugging after execution of 1st line Debugger shows memory allocated to clsAobj but after execution of second line, allocated memory is lost and becomes 0x0 . This is true while accessing any method of ClsA .
Can anybody help me in atleast understanding this dilemma ? Thanks .