Giter VIP home page Giter VIP logo

cceaserefresh's Introduction

image

CCEaseRefresh ✨

CCEaseRefresh是仿照网易新闻version5.3.4的下拉刷新。继承UIControl, 简单易用。 如您搜到CCEaseRefresh, 请star予以支持(^__^) ……

如何使用

OBJECTIVE-C

#import "CCEaseRefresh.h"
// 初始化
CCEaseRefresh *refreshControl = [[CCEaseRefresh alloc] initInScrollView:self.tableView];
// 添加相应事件
[refreshControl addTarget:self action:@selector(dropViewDidBeginRefreshing:) forControlEvents:UIControlEventValueChanged];
// 开始刷新
[refreshControl beginRefreshing];
// 停止刷新
[refreshControl endRefreshing];

SWIFT

// 初始化
var refresh: CCEaseRefreshrefresh = CCEaseRefresh(scrollView: self.tableView)
// 添加相应事件
refresh.addTarget(self, action: Selector("dropViewDidBeginRefreshing:"), forControlEvents: UIControlEvents.ValueChanged)
// 开始刷新
refresh.beginRefreshing()
// 停止刷新
refresh.endRefreshing()

更新

CCEaseRefresh会不间断更新!

1.0 仿照网易新闻version5.3.4的下拉刷新

作者

刘泽琛, [email protected]

BUG

0.1 修复程序调用beginRefreshing后小球不显示的问题。

链接

1.🌟星光闪烁特效: https://github.com/liuzechen/CC_Twinkle

cceaserefresh's People

Contributors

liuzechen avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.