Ho due classi che ereditano UITableViewControllers. E queste due tabelle dovrebbero utilizzare lo stesso UITableViewCell personalizzato. Quindi, come posso utilizzare un UITableViewCell personalizzato da un file pennino in due classi diverse? Il proprietario dello xib può essere solo 1 classe.iPhone: Come utilizzare UITableViewCell in due visualizzazioni tabella
@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;
Sì, buona idea..Grazie – Jim