支持下拉刷新和加载更多的UITableViewController子类:SKStatefulTableViewController

jopen 9年前

SKStatefulTableViewController 是 UITableviewController 的子类,支持下拉刷新,加载更多,初始加载和空状态。支持的状态:

State Description
SKStatefulTVCStateLoadingFromPullToRefresh the standard pull to refresh functionality you see in most apps
SKStatefulTVCStateLoadingMore shows a "loading" view when the user scrolls to the bottom
SKStatefulTVCStateInitialLoading shows a static view when showing the controller for the first time (e.g. a big-ass spinner icon)
SKStatefulTVCStateInitialLoadingTableView shows the tableView instead of a static view when the controller is shown for the first time
SKStatefulTVCStateEmptyOrInitialLoadError shows a static view that indicates whether the initial load failed or there are no data to show

支持下拉刷新和加载更多的UITableViewController子类:SKStatefulTableViewController

项目主页:http://www.open-open.com/lib/view/home/1435129551607