To run the example project, clone the repo, and run pod install
from the Example directory first.
UIView *view = [[UIView alloc] initWithFrame:self.view.bounds];
view.backgroundColor = [UIColor yellowColor];
self.tableView.customNoDataView = view;
__weak typeof(self) weakSelf = self;
self.tableView.callBack = ^(UIView *view) {
[weakSelf.tableView reloadData];
};
GBNoData is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "GBNoData"
Lucas, gaobo_it@163.com
GBNoData is available under the MIT license. See the LICENSE file for more info.