TKViewController Class Reference
Inherits from | UIViewController |
Declared in | TKViewController.h |
Overview
This class provides basic lazy loading views and easy network request management for a UIViewController
.
Tasks
Properties
-
loadingView
Returns a loading view with an
propertyUIActivityIndicatorView
center on the view
Network Request Management
-
– addActiveRequest:
Associate active network requests with a specific view controller for easy management.
-
– activeRequestCount
Returns the current number of request managed by the view controller.
-
– removeActiveRequest:
Remove an active request.
-
– cancelActiveRequests
Cancel all active network requests managed by the view controller.
Instance Methods
activeRequestCount
Returns the current number of request managed by the view controller.
- (NSInteger)activeRequestCount
Discussion
Returns the current number of request managed by the view controller.
See Also
Declared In
TKViewController.h
addActiveRequest:
Associate active network requests with a specific view controller for easy management.
- (void)addActiveRequest:(TKHTTPRequest *)request
Parameters
- request
The network request which you want to have the view controller manage.
Discussion
Associate active network requests with a specific view controller for easy management.
Declared In
TKViewController.h
cancelActiveRequests
Cancel all active network requests managed by the view controller.
- (void)cancelActiveRequests
Discussion
Cancel all active network requests managed by the view controller.
See Also
Declared In
TKViewController.h