SkillAgentSearch skills...

RHRefreshControl

Abstract RefreshControl for freedom customization

Install / Use

/learn @rathahin/RHRefreshControl
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

<p align="center" > <img src="https://raw.github.com/rathahin/RHRefreshControl/assets/title.png" alt="RHRefreshControl" title="RHRefreshControl"> </p> <div style="background-image:url('https://raw.github.com/rathahin/RHRefreshControl/assets/title.png')"> 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. </div>

Getting Started

  • Install with Cocoapods
platform :ios, "6.0"

pod 'RHRefreshControl'

Classes Reference

  • Documentation will provice in the future

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

Special Thanks

  • I would like to thank Erik S for giving me alot ideas and development tips.

License

See LICENSE.

Todo

  • Supporting UIScrollView
View on GitHub
GitHub Stars69
CategoryDevelopment
Updated2y ago
Forks8

Languages

Objective-C

Security Score

80/100

Audited on Feb 12, 2024

No findings