Latest 0.0.1
Homepage https://github.com/STAR-ZERO/STZPullToRefresh
License MIT
Platforms ios 6.0, requires ARC
Authors

Version
Platform

UI Component like ActionBar-PullToRefresh of Android for iOS.

Screenshot

Requirements

  • iOS6.0 or later
  • ARC

Installation

STZPullToRefresh is available through CocoaPods, to install
it simply add the following line to your Podfile:

pod "STZPullToRefresh"

Usage

#import <STZPullToRefresh/STZPullToRefresh.h>
// Create refresh view
STZPullToRefreshView *refreshView = [[STZPullToRefreshView alloc] initWithFrame:CGRectMake(0, 64, self.view.frame.size.width, 3)];
[self.view addSubview:refreshView];

// Setup PullToRefresh
self.pullToRefresh = [[STZPullToRefresh alloc] initWithTableView:self.tableView
                                                     refreshView:refreshView
                                               tableViewDelegate:self];
self.tableView.delegate = self.pullToRefresh;
self.pullToRefresh.delegate = self;   // STZPullToRefreshDelegate

see Example directory project.

Author

Kenji Abe, [email protected]

License

STZPullToRefresh is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "STZPullToRefresh",
    "version": "0.0.1",
    "summary": "Control like ActionBar-PullToRefresh of Android for iOS.",
    "homepage": "https://github.com/STAR-ZERO/STZPullToRefresh",
    "screenshots": "https://raw.github.com/STAR-ZERO/STZPullToRefresh/master/screenshot.gif",
    "license": "MIT",
    "authors": {
        "Kenji Abe": "[email protected]"
    },
    "source": {
        "git": "https://github.com/STAR-ZERO/STZPullToRefresh.git",
        "tag": "0.0.1"
    },
    "platforms": {
        "ios": "6.0"
    },
    "requires_arc": true,
    "source_files": "Classes/**/*.{h,m}"
}

Pin It on Pinterest

Share This