Latest 1.1.5
Homepage https://github.com/wenmobo/WBEmptyDataSet
License MIT
Platforms ios 8.0, requires ARC
Dependencies Masonry
Frameworks UIKit
Authors

CI Status
Version
License
Platform

中文说明

一句话集成控制器占位图。

Requirements

  • iOS 8+
  • Xcode 8+

Installation

  • 通过CocoaPods安装
pod 'WBEmptyDataSet'

Usage

  • 普通view使用
    WBEmptyDataSetView *view = [WBEmptyDataSetView wb_emptyViewWithImageName:@"empty_yy"
    title:@"无数据"
    detailTitle:@"我是详情描述"
    buttonTitle:@"重新加载"
    actionBlock:^{
    NSLog(@"点击了");
    }];
    [self.view wb_showEmptyView];
  • 表格集合视图使用
WBEmptyDataSetView *view = [WBEmptyDataSetView wb_emptyViewWithImageName:@"empty_yy"
title:@"无数据"
detailTitle:@"我是详情描述"
buttonTitle:@"重新加载"
actionBlock:^{
NSLog(@"点击了");
}];

Author

author:wenbo
email:[email protected]
掘金:https://juejin.im/user/5a371ae551882512d0607108
简书:https://www.jianshu.com/u/63445e24e8bf

更新日志

2018-9-25(1.1.4):只支持普通view,去除表格集合视图
2018-9-25(1.1.3):一些优化
2018-9-25(1.1.2):重构,添加frame支持,修改swizzle方法

License

WBEmptyDataSet is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "WBEmptyDataSet",
    "version": "1.1.5",
    "summary": "u7a7au6570u636eu5360u4f4du56fe",
    "homepage": "https://github.com/wenmobo/WBEmptyDataSet",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "wenmobo": "[email protected]"
    },
    "source": {
        "git": "https://github.com/wenmobo/WBEmptyDataSet.git",
        "tag": "1.1.5"
    },
    "social_media_url": "http://blogwenbo.com/",
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "WBEmptyDataSet/**/*",
    "frameworks": "UIKit",
    "dependencies": {
        "Masonry": []
    },
    "requires_arc": true
}

Pin It on Pinterest

Share This