I am accessing object of one class in the another class. But instance variable is Showing null.
This is my code.
fvcObj = [[FirstViewController alloc
In header file (*.h) for example:
@interface MyClass : NSObject { NSString *someString; } @end @property (nonatomic,retain) someString;
In implementation file (*.m)
@synthesize someString
This create setter and getter for someString