Latest 1.1.1
Homepage https://github.com/Xiexingda/XDRefresh
License MIT
Platforms ios 8.0, requires ARC
Frameworks UIKit
Authors

仿微信朋友圈下拉刷新

//使用方法

  1. 导入头文件

import "UIView+XDRefresh.h"

  1. 把你的 tableview 添加到刷新

//point 为零时 位置默认为左上角

[self.view XD_refreshWithObject:_tableview atPoint:CGPointZero downRefresh:^{

//开始刷新

}];

  1. 刷新结束后结束刷新

[self.view XD_endRefresh];

Latest podspec

{
    "name": "XDRefresh",
    "version": "1.1.1",
    "summary": "u4e0bu62c9u5237u65b0",
    "description": "u4e00u4e2au4effu5faeu4fe1u670bu53cbu5708u7684u4e0bu62c9u5237u65b0",
    "homepage": "https://github.com/Xiexingda/XDRefresh",
    "license": "MIT",
    "authors": {
        "xiexingda": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/Xiexingda/XDRefresh.git",
        "tag": "1.1.1"
    },
    "source_files": "XDRefresh/*.{h,m}",
    "exclude_files": "XDRefresh/Exclude",
    "resources": "XDRefresh/XDRefreshResource.bundle",
    "frameworks": "UIKit",
    "requires_arc": true
}

Pin It on Pinterest

Share This