RCRefreshControl 0.0.4

RCRefreshControl 0.0.4

测试已测试
语言语言 Obj-CObjective C
许可证 MIT
发布上次发布2015年11月

RCRefreshControl 维护。



  • 作者
  • c0ming

简单的刷新控制框架。

使用说明

  • 用法同 UIRefreshControl
RCRefreshControl *refreshControl = [[RCRefreshControl alloc] init];
refreshControl.delegate = self;
[self.tableView addSubview:refreshControl];
  • RCRefreshControlDelegate
- (CGFloat)heightOfRefreshControl:(RCRefreshControl *)refreshControl;

- (void)refreshControlDidBeginPulling:(RCRefreshControl *)refreshControl;
- (void)refreshControlDidEndPulling:(RCRefreshControl *)refreshControl;

- (void)refreshControlDidBeginRefreshing:(RCRefreshControl *)refreshControl;
- (void)refreshControlDidEndRefreshing:(RCRefreshControl *)refreshControl;

- (void)refreshControl:(RCRefreshControl *)refreshControl pullingProgress:(CGFloat)progress;

安装

只需要将 RCRefreshControl.h/m 文件添加到您的项目中,

或使用 CocoaPods。

pod 'RCRefreshControl', '0.0.4'

许可证

MIT 许可证 (MIT)