STZPullToRefresh 0.0.1

STZPullToRefresh 0.0.1

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Dec 2014

Maintained by Unclaimed.


Downloads

Total5,279
Week0
Month0

Installs

Apps115
Test Targets7
powered by Segment

GitHub

Stars88
Watchers8
Forks15
Issues0
Contributors1
Pull Requests0

Code

Files4
LOCLines of Code 208



  • By
  • Kenji Abe

UI Component like ActionBar-PullToRefresh of Android for iOS.

Screenshot

Requirements

  • iOS6.0 or later
  • ARC

Installation

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.