0

I have implemented PullRefreshTableViewController with some classes that take no delegates, and it works well.
However, I find it difficult to implement it in my project, because I am already implementing some delegates. How can I include delegates and the PullRefreshTableViewController on the same line?

My Code:

myFeedController.h :-
@interface myFeedController : UIViewController<FBRequestDelegate ,UITableViewDelegate, UITableViewDataSource,ASIHTTPRequestDelegate>{
    ....
}
4

1 回答 1

0

终于,我得到了答案……

当您想在仅viewController继承的类中使用 PULL TO REFRESH 时UITableView,即没有委托,请使用 LEAH 的 PULL TO REFRESH 类。

当您的班级已经继承了不同的委托,例如UITableViewDelegate, UITableViewDataSource,ASIHTTPRequestDelegate等......那么您应该去EGORefreshTableHeaderView上课。

于 2012-04-05T07:32:06.293 回答