NicooEnptyView
示例
要运行示例项目,请克隆仓库,然后首先从示例目录运行pod install
需求
NicooEnptyView在无网络、请求失败或无数据tableList时显示。
NicooErrorView.showErrorMessage(.noNetwork, on: strongSelf.view, clickHandler: {
print("Press Screen to request again!")
})
NicooErrorView.showErrorMessage(.noNetwork, on: strongSelf.view, topMargin: 100, clickHandler: nil)
// 暂无数据
NicooBuildingView.showBuildingView(on: view)
如果代码报错, 可以到 https://github.com/yangxina/code 下载
安装
NicooEnptyView可以通过CocoaPods获取。要安装它,只需将以下行添加到Podfile中
pod 'NicooEnptyView'
作者
[email protected],[email protected]
许可协议
NicooEnptyView 适用于 MIT 许可协议。有关更多信息,请参阅 LICENSE 文件。