मेरे पास 2 कक्षाएं हैं जो UITableViewControllers को प्राप्त करती हैं। और इन दो टेबल दृश्यों को एक ही कस्टम UITableViewCell का उपयोग करना चाहिए। तो मैं दो अलग-अलग वर्गों में एक निब फ़ाइल से एक कस्टम UITableViewCell का उपयोग कैसे कर सकता हूं? Xib का मालिक केवल 1 वर्ग हो सकता है।आईफोन: दो टेबल दृश्यों में 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