Bez popisu

MJLee 38cb613612 Add more interface in one line code před 11 roky
MJRefreshExample 38cb613612 Add more interface in one line code před 11 roky
MJRefreshScreenshots d11fb47601 Update pod to lastest version před 11 roky
.gitignore 9ea9aa61d2 Nothing important před 11 roky
LICENSE 2650843c05 Modify podspec před 11 roky
MJRefresh.podspec 38cb613612 Add more interface in one line code před 11 roky
README.md ad2b460a4b Update README.md před 11 roky

README.md

MJRefresh

The easiest way to use pull-to-refresh

如何使用MJRefresh

  • cocoapods导入:pod 'MJRefresh'
  • 手动导入:

    • MJRefreshExample/MJRefreshExample/MJRefresh文件夹中的所有文件拽入项目中
    • 导入主头文件:#import "MJRefresh.h"

      MJRefresh.bundle
      MJRefresh.h
      MJRefreshComponent.h        MJRefreshComponent.m
      MJRefreshConst.h            MJRefreshConst.m
      MJRefreshFooter.h           MJRefreshFooter.m
      MJRefreshGifFooter.h        MJRefreshGifFooter.m
      MJRefreshGifHeader.h        MJRefreshGifHeader.m
      MJRefreshHeader.h           MJRefreshHeader.m
      MJRefreshLegendFooter.h     MJRefreshLegendFooter.m
      MJRefreshLegendHeader.h     MJRefreshLegendHeader.m
      UIScrollView+MJExtension.h  UIScrollView+MJExtension.m
      UIScrollView+MJRefresh.h    UIScrollView+MJRefresh.m
      UIView+MJExtension.h        UIView+MJExtension.m
      

具体用法

* 由于这个框架的功能较多,就不写具体文字描述其用法
* 大家可以直接参考示例中的MJTableViewController和MJCollectionViewController,更为直观快速

下拉刷新01-传统

(下拉刷新01-传统)

下拉刷新02-动画图片

(下拉刷新02-动画图片)

下拉刷新03-隐藏时间

(下拉刷新03-隐藏时间)

下拉刷新04-隐藏状态和时间01

(下拉刷新04-隐藏状态和时间01)

下拉刷新05-隐藏状态和时间02

(下拉刷新05-隐藏状态和时间02)

下拉刷新06-自定义文字

(下拉刷新06-自定义文字)

上拉刷新01-传统

(上拉刷新01-传统)

上拉刷新02-动画图片

(上拉刷新02-动画图片)

上拉刷新03-隐藏状态01

(上拉刷新03-隐藏状态01)

上拉刷新04-隐藏状态02

(上拉刷新04-隐藏状态02)

上拉刷新05-全部加载完毕

(上拉刷新05-全部加载完毕)

上拉刷新06-禁止自动加载

(上拉刷新06-禁止自动加载)

上拉刷新07-自定义文字

(上拉刷新07-自定义文字)

上拉刷新08-加载后隐藏

(上拉刷新08-加载后隐藏)

UICollectionView01-上下拉刷新

(UICollectionView01-上下拉刷新)

提醒

  • 本框架兼容的系统>=iOS6.0,iPhone\iPad横竖屏

期待

  • 如果在使用过程中遇到BUG,希望你能Issues我,谢谢(或者尝试下载最新的框架代码看看BUG修复没有)
  • 如果在使用过程中发现功能不够用,希望你能Issues我,我非常想为这个框架增加更多好用的功能,谢谢
  • 如果你想为MJRefresh输出代码,请拼命Pull Requests我
  • 一起携手打造天朝乃至世界最好用的刷新框架,做天朝程序员的骄傲