У меня есть 2 класса, которые наследуют UITableViewControllers. И в этих двух табличных представлениях должен использоваться один и тот же пользовательский UITableViewCell. Итак, как я могу использовать пользовательский UITableViewCell из файла Nib в двух разных классах? Владельцем xib может быть только 1 класс.iPhone: как использовать UITableViewCell в двух табличных представлениях
@interface Class1 : UITableViewController<UITableViewDataSource,
UITableViewDelegate> {
UITableViewCell *myCustomTableRow;
}
@property (nonatomic, retain) IBOutlet UITableViewCell *myCustomTableRow;
@interface Class2 : UITableViewController<UITableViewDataSource,
UITableViewDelegate> {
UITableViewCell *myCustomTableRow;
}
@property (nonatomic, retain) IBOutlet UITableViewCell *myCustomTableRow;
Да, хорошая идея .. Спасибо – Jim