Mam 2 klasy, które dziedziczą UITableViewControllers. A te dwa widoki tabel powinny używać tego samego niestandardowego UITableViewCell. Więc jak mogę użyć niestandardowego UITableViewCell z pliku Nib w dwóch różnych klasach? Właściciel Xib może być tylko 1 klasą.iPhone: Jak korzystać z UITableViewCell w dwóch widokach tabeli
@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;
Tak, dobry pomysł. Dzięki – Jim