<分区>
Possible Duplicate:
Objective-C multiple inheritance
在我的应用程序中,我需要将 SideSwipeTableViewController
和 PullRefreshTableViewController
添加到 ViewController.h
。但是,出于某种原因,当我尝试构建应用程序时它会给我一个错误。
代码如下:
@interface ViewController : SideSwipeTableViewController, PullRefreshTableViewController {
...
}
只有其中一个在,但不能同时在。我想知道的是:有没有办法成功实现这两个类?提前致谢,我对这个问题表示歉意:我对 Objective-C 还是有点陌生。