Possible Duplicate:
Objective-C multiple inheritance
In my application, I need to add SideSwipeTableViewController and PullRefreshTableViewController to ViewController.h. However, for some reason, it will give me an error when I try to build the app.
Here is the code:
@interface ViewController : SideSwipeTableViewController, PullRefreshTableViewController {
...
}
It works when either one is in, but not both. What I want to know is: is there a way to successfully implement these two classes? Thanks in advance and my apologies with the question: I'm still a bit new to Objective-C.
There is no multiple inheritance in Objective-C. You can implement any number of protocols though.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With