Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - 工程代码
Search - 工程代码 - List
参考别人的开源代码,稍加修改,显得更简单、实用,与大家分享一下 1、附件中的文件加入到工程 2、创建的UITableView继承UIPullToRefreshTableView,同时支持XIB和动态创建两种方式 @interface UIPullToRefreshTableView : UITableView 3、 创建的UIViewController继承UIPullToRefreshViewController @interface UIPullToRefreshViewController : UIViewController 4、UIViewController实现一个代理即可 - (void)refreshTableView:(UIPullToRefreshTableView *)tableView { [tableView stopLoading] } 共以上4步,好简单呀 -Reference to someone else' s open source code, slightly modified, is more simple, practical, to share with you what a file is added to the Annex engineering created UITableView inherit UIPullToRefreshTableView the support both XIB and dynamically create a two way @ interface UIPullToRefreshTableView: UITableView 3, create the the UIViewController the inheritance UIPullToRefreshViewController _AT_ interface UIPullToRefreshViewController: UIViewController UIViewController achieve an agent can be- (void) refreshTableView,: (UIPullToRefreshTableView*) tableView {the the tableView stopLoading], } of Step 4 above, good is simple!
Date : 2025-12-21 Size : 9kb User : 海盗医生
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.