platform :ios, "6.0"
pod 'RHRefreshControl'
RHRefreshControl *refreshControl = [[RHRefreshControl alloc]
initWithConfiguration:refreshConfiguration];
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;
See LICENSE.