• Stars
    star
    252
  • Rank 161,290 (Top 4 %)
  • Language
    Objective-C
  • License
    MIT License
  • Created over 9 years ago
  • Updated about 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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.

More Repositories

1

Monkey

Monkey is an unofficial GitHub client for iOS,to show the rank of coders and repositories.
Objective-C
1,784
star
2

NetworkEye

a iOS network debug library, monitor HTTP requests
Objective-C
1,382
star
3

MVVMDemo

MVVM应用在iOS的Demo,主要通过经典的TableView来演示
Objective-C
329
star
4

hello-weex

hello-weex包括一个Weex App(GitHub第三方App),和自己扩展的WeexiOSKit(iOS上的常用组件与模块)。
Java
191
star
5

DecouplingKit

decoupling between modules in your iOS Project. iOS模块化过程中模块间解耦方案
Objective-C
139
star
6

YiVideoEditor

YiVideoEditor is a library for rotating, cropping, adding layers (watermark) and as well as adding audio (music) to the videos.
Swift
104
star
7

YiSlideMenu

SlideMenu,简洁的侧边菜单,清爽风格.
Objective-C
94
star
8

MonkeyForMac

Monkey is a unofficial GitHub client
Objective-C
66
star
9

YiLotteryDemo

模仿美团积分抽奖功能
Objective-C
61
star
10

StateMachineSwift

StateMachineSwift, state machine library for Swift, supports an arbitrary number of States and Events.
Swift
42
star
11

bluedog

蓝牙调试助手小程序,支持扫描蓝牙设备,读取设备服务与特征
JavaScript
33
star
12

NewsDemo

模仿网易新闻客户端首页,实现滑动选择菜单。
Objective-C
30
star
13

markthing

online markdown editor with live preview. 在线markdown编辑器。http://coderyi.com/markthing/
JavaScript
28
star
14

ActionStage

ActionStage that dispatch message, decoupling between modules
Objective-C
27
star
15

monkeyweb

Monkey show the rank of coders and repositories on GitHub. http://coderyi.com/monkeyweb/
TypeScript
24
star
16

iOSSourceCodeAnalyze

《iOS开源库源码分析》http://coderyi.com/iOSSourceCodeAnalyze/
HTML
16
star
17

EventBus

A lightweight event bus for C++
C++
12
star
18

AutoLayoutDemo

AutoLayout代码实现方式的基本使用,包括NSLayoutConstraint创建一个约束,VFL创建一组约束以及使用Autolayout实现UITableView的Cell动态布局和高度动态改变
Objective-C
12
star
19

URLParser

an url parse/encode/decode tool
C++
10
star
20

iOSDemos

iOSDemos
Swift
9
star
21

YiUUID

This library provides the simplest API to obtain universally unique identifiers with different levels of persistence.
Swift
8
star
22

YiSwitch

类似UISwitch,想要水平的竖直的,圆的方的,有图片的没图片的,各种YiSwitch,最后原谅我的图片。
Objective-C
8
star
23

AssetsLibraryDemo

通过AssetsLibrary实现访问相册
Objective-C
6
star
24

YiDispatchQueue

a more convenient tool for dispatch queue
Objective-C
6
star
25

monkey-bytedance-miniapp

Monkey是一个可以展示GitHub上开发者、仓库排名的应用
JavaScript
5
star
26

qrcode-generator

在线二维码生成器,解码。http://coderyi.com/qrcode-generator/
Vue
5
star
27

YiAppUpdater

Checks if there is a newer version of your app in the AppStore and alerts the user to update.
Swift
5
star
28

StringFormat

A String Format Kit
Swift
4
star
29

monkey-weex

Monkey是一个GitHub Weex客户端,展示GitHub用户和仓库的排名
JavaScript
4
star
30

statemachine

An C++ library for implementing state machines.
C++
3
star
31

monkey-github-api

GitHub API for TypeScript
TypeScript
3
star
32

SystemServiceSwift

all available information about a device.
Swift
3
star
33

YiViewDrag

UIView extension that adds dragging capabilities
Swift
2
star
34

JavaScriptDemos

Objective-C
2
star
35

python-demos

python3-demos
Python
2
star
36

CounterVIPER

A simple example of the VIPER architecture for iOS apps
Swift
2
star
37

blog

1
star
38

coderyi.github.io

HTML
1
star
39

TestProject

1
star