• Stars
    star
    106
  • Rank 325,871 (Top 7 %)
  • Language
    Objective-C
  • Created almost 7 years ago
  • Updated almost 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

TableView / CollectionView No Data

GBNoData

Example

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

Code

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];
};

Installation

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

pod "GBNoData"

Author

Lucas, [email protected]

License

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