Если я хочу получить один Label.text из View1,
поэтому я установил в firstView.h
@interface RootViewController : UITableViewController {
NSMutableArray *menuList;
}
@property(nonatomic,retain)NSMutableArray *menuList;
@end
в secondView.h
@interface SecondViewController : UIViewController <UIPickerViewDelegate,UIPickerViewDataSource> {
UILabel *comboView;
}
@property (nonatomic,retain)UILabel *comboView;
@end
в secondView.m
FirstViewController *firstViewController = [[FirstViewController alloc]initWithNibName:@"FirstViewController" bundle:nil];
[firstViewController.menuList addObject:comboView.text];
но когда я хочу получить объект из menuList в firstView (self.menuList)
Стало "ноль" !!!
В чем проблема ??
Спасибо
Mini