i have 2 classes . in my first class i have one label. now i have to give input for that label from my second class. here is my code.
IBOutlet UILabel *label1;
@property(nonatomic, retain) IBOutlet UILabel *label1;
@synthesize label1;
I call this label like this.
I import my class1 and create object like classone.
I checked(NSLog
print)class and that method will be called but that input won't come.i checked that label its also connected to my class.because i give same input in my viewDidLoad
that time its working fine.
NSString *ram= @":13123123312";
classone.label1.text= ram;
guide me where i'm doing wrong.