RHRefreshControl 0.1.beta1

RHRefreshControl 0.1.beta1

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Dec 2014

Maintained by Unclaimed.




  • By
  • Ratha Hin
RHRefreshControl is just another simple custom RefreshControl which allow you to customize the appearance and behavior of RefreshControl for your app. With this simple library, you would save few hours to write code to implement with UIScrollView.

Getting Started

  • Download Library
  • Install with Cocoapods

Classes Reference

  • RHRefreshControl
  • RHRefreshConfiguration
  • RHRefreshView Protocol

Initiate

RHRefreshControl *refreshControl = [[RHRefreshControl alloc]
                                    initWithConfiguration:refreshConfiguration];

Configuration

  • Preset Style Configuration
RHRefreshControlConfiguration *refreshConfiguration = [[RHRefreshControlConfiguration alloc] init];

refreshConfiguration.refreshView = RHRefreshViewStylePinterest;
  • Your own view Configuration
CutomRefreshView *customRefreshView = [[CutomRefreshView alloc]
                                       initWithFrame:CGRectMake(0, 0, 320, 60)];

RHRefreshControlConfiguration *refreshConfiguration = [[RHRefreshControlConfiguration alloc] init];

refreshConfiguration.refreshView = customRefreshView;

Custom Refresh View

  • // TODO

Special Thanks

  • // TODO

License

See LICENSE.