stz

STZPullToRefresh

UI Component like ActionBar-PullToRefresh of Android for iOS.

Showing:

Popularity

Downloads/wk

0

GitHub Stars

88

Maintenance

Last Commit

7yrs ago

Contributors

1

Package

Dependencies

0

License

MIT

Categories

Readme

STZPullToRefresh

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, kenji@star-zero.com

License

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

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100