0
에서 개체를 얻을 수, 는 그래서 은 어떻게 다른 클래스
@interface SecondViewController : UIViewController <UIPickerViewDelegate,UIPickerViewDataSource> {
UILabel *comboView;
}
@property (nonatomic,retain)UILabel *comboView;
@end
을 secondView.h
에 firstView.h
@interface RootViewController : UITableViewController {
NSMutableArray *menuList;
}
@property(nonatomic,retain)NSMutableArray *menuList;
@end
설정
하지만 firstList (self.menuList)의 menuList에서 개체를 가져 오려면 "null"이됩니다 !!!
무엇이 문제입니까? 감사
미니
도움이 필요하면 코드를 샘플 코드로 표시하십시오. –