The iOS framework that grows only as fast as its documentation
NINetworkTableViewController Class Reference

Overview

The NINetworkTableViewController class provides a similar implementation to UITableViewController but with a more structured view hierarchy.

UITableViewController's self.view is its self.tableView. This can be problematic if you want to introduce any sibling views that have a higher or lower z-index. This class provides an implementation that, to the best of its abilities, mimics the functionality of UITableViewController in every way but one: self.tableView is a subview of self.view. This simple difference allows us to add new views above the tableView in the z-index.

In this particular implementation we include an activity indicator component which may be used to show that data is currently being loaded.

Tasks

(void) - setIsLoading:
 

Method Documentation

setIsLoading:

Sets the loading state of the view controller.

- (void)setIsLoading:(BOOL)isLoading;
Discussion
Parameters
isLoadingWhen YES, the table view will be hidden and an activity indicator will be shown centered in the view controller's view. When NO, the table view will be shown and the activity indicator hidden.