Latest0.1.beta1
Homepagehttps://github.com/rathahin/RHRefreshControl
LicenseMIT
Platformsios 6.0, requires ARC
FrameworksCoreGraphics
Authors

RHRefreshControl

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

  • 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

Latest podspec

{
    "name": "RHRefreshControl",
    "version": "0.1.beta1",
    "summary": "Abstract RefreshControl for freedom customization.",
    "description": "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.",
    "homepage": "https://github.com/rathahin/RHRefreshControl",
    "screenshots": "https://raw.github.com/rathahin/RHRefreshControl/assets/RHRefreshControl_S1.png",
    "license": "MIT",
    "authors": {
        "Ratha Hin": "[email protected]"
    },
    "source": {
        "git": "https://github.com/rathahin/RHRefreshControl.git",
        "tag": "0.1.beta1"
    },
    "platforms": {
        "ios": "6.0"
    },
    "source_files": [
        "PodSource/RHRefreshControl",
        "PodSource/RHRefreshControl/**/*.{h,m}"
    ],
    "resources": "Resources/*.png",
    "frameworks": "CoreGraphics",
    "requires_arc": true
}

Pin It on Pinterest

Share This