UIRefreshControl(AFNetworking) Category Reference
| Declared in | UIRefreshControl+AFNetworking.h UIRefreshControl+AFNetworking.m |
Overview
This category adds methods to the UIKit framework’s UIRefreshControl class. The methods in this category provide support for automatically begining and ending refreshing depending on the loading state of a request operation or session task.
Instance Methods
setRefreshingWithStateOfOperation:
Binds the refreshing state to the execution state of the specified operation.
- (void)setRefreshingWithStateOfOperation:(AFURLConnectionOperation *)operationParameters
- operation
The operation. If
nil, automatic updating from any previously specified operation will be disabled.
Declared In
UIRefreshControl+AFNetworking.hsetRefreshingWithStateOfTask:
Binds the refreshing state to the state of the specified task.
- (void)setRefreshingWithStateOfTask:(NSURLSessionTask *)taskParameters
- task
The task. If
nil, automatic updating from any previously specified operation will be diabled.
Declared In
UIRefreshControl+AFNetworking.h