TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Oct 2016 |
Maintained by William Wang.
Inspired by the project TextFieldValidator and most of logic code comes from there AETripleStateTableView is a lightweight, customizable subclass of UITableView that supports triple states(loading, no data, normal) to meet the generic requirement that the UITableView need to consume data from external system(Web API, Web Service and etc.)
A lightweight, customizable subclass of UITableView that supports triple states(loading, no data, normal). And it provides ability to customize it's UI elements using UIAppearance mechanism.
//AETripleStateTableView UI Customization
UILabel* lbl = [[UILabel alloc] init];
lbl.translatesAutoresizingMaskIntoConstraints = NO;
lbl.text = @"NO DATA";
lbl.textAlignment = NSTextAlignmentCenter;
[[AETripleStateTableView appearance] setNoDataView:lbl];
That's it - now go to design a TableView with AETripleStateTableView!