popor / PoporPlaceholderView

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MyBox

PoporPlaceholderView

CI Status Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

PoporPlaceholderView is available through CocoaPods. To install it, simply add the following line to your Podfile:

ruby
pod 'PoporPlaceholderView'

前提: UITableView和UICollectionView的刷新使用MFRefresh,假如数据为空则显示可以显示默认空白页.
假如需要替换PoporPlaceholderView, 继承PoporPlaceholderView一个即可.

1.02 增加了placeHolderEmptyBlock 假如section = 3, 只有最后section为空或者全部为空的时候显示placeHolderView, 这就需要自定义placeHolderEmptyBlock了.

Author

popor, 908891024@qq.com

License

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

About

License:MIT License


Languages

Language:Objective-C 95.0%Language:Ruby 5.0%