I am accessing object of one class in the another class. But instance variable is Showing null.
This is my code.
fvcObj = [[FirstViewController alloc]init];
NSLog(@"%@",fvcObj.user);
Which things to take care in declaring object of another class? Thanks.
See Question&Answers more detail:os