This may be a silly question but I haven't found any information on it.

Let's say several of the classes in my program derive from 'MySubView' which is derived from another class, UIViewController.

I would declare it like this:

```
@interface NewViewController : MySubView {
    // code ...
}
@end

```

In the future the client wants a change, and desires another view with a table. So I would need to make another class, called MySubTableView, that is a UITableViewController subclassed from MySubView.

I was thinking this would be easier if I could do something like this:

```
@interface NewViewController : UITableViewController : MySubView {
    // code ...
}
@end

```

But this doesn't work.

Is there a way to do this with Xcode, or do I have to specifically make the class itself?

EDIT:

I'm not looking for multiple inheritance. A straight inheritance hierarchy would follow:

NewViewController  

UITableviewController  

MySubView  

UIViewController