yir

YiRefresh

a simple way to use pull-to-refresh.下拉刷新,大道至简,最简单的网络刷新控件

Showing:

Popularity

Downloads/wk

0

GitHub Stars

252

Maintenance

Last Commit

2yrs ago

Contributors

2

Package

Dependencies

0

License

MIT

Categories

Readme

YiRefresh

Pod Version Pod Platform Pod License

中文README

a simple way to use pull-to-refresh.

implement by KVO,support UITableView,UICollectionView,UIWebView.

YiRefresh Support iOS7+,horizontal and vertical screen,iPhone and iPad.

Podfile

platform :ios, '7.0'
pod "YiRefresh", "~> 0.9.5"

header drop down to refresh

refreshHeader=[[YiRefreshHeader alloc] init];
refreshHeader.scrollView=tableView;
[refreshHeader header];
typeof(refreshHeader) __weak weakRefreshHeader = refreshHeader;
refreshHeader.beginRefreshingBlock=^(){
    typeof(weakRefreshHeader) __strong strongRefreshHeader = weakRefreshHeader;
    [strongRefreshHeader endRefreshing];
};
[refreshHeader beginRefreshing];

footer pull up to refresh

refreshFooter=[[YiRefreshFooter alloc] init];
refreshFooter.scrollView=tableView;
[refreshFooter footer];
typeof(refreshFooter) __weak weakRefreshFooter = refreshFooter;
refreshFooter.beginRefreshingBlock=^(){
    typeof(weakRefreshFooter) __strong strongRefreshFooter = weakRefreshFooter;
    [strongRefreshFooter endRefreshing];
};

YiRefresh YiRefresh

YiRefresh YiRefresh

copyright (c) 2015 coderyi.all rights reserved.

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