hi i am new to ios programing and i am developing a calendar app in which i am using tabbarcontroller which have 5 viewcontroller. My probelm is that in 2nd viewcontroller i want to change the date wich is displaying in the first viewcontroller, how can i do this. pls help....
i had made a property in appdelegate class
@property(nonatomic,assign)NSString *date;
AND THEN made a object of appdelegate in both the view controller and then in 2nd view controller
AppDelegate *obj=[[AppDelegate alloc]init];
obj.date=@"ABCDSE";
and in 1st view controller
AppDelegate *obj=[[AppDelegate alloc]init];
mylabel.text=obj.date;