I have a class A, and B like these:
@interface A : UIViewController <UITableViewDelegate, UITableViewDataSource>{
UITableView tv;
}
@end
@interface B : A {
}
@end
My quest开发者_开发百科ion is: "In the interface builder, how can I link the table view tv to the nib of class B?"
Thanks.
In class A declarration change
UITableView tv;
to
IBOutlet UITableView* tv;
Works for me.
精彩评论