Declared in UIRefreshControl+AFNetworking.h

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.

Tasks

Refreshing for Session Tasks

Refreshing for Request Operations

Instance Methods

setRefreshingWithStateOfOperation:

- (void)setRefreshingWithStateOfOperation:(AFURLConnectionOperation *)operation
Discussion

Binds the refreshing state to the execution state of the specified operation.

Parameters

operation

The operation. If nil, automatic updating from any previously specified operation will be disabled.

Declared In

UIRefreshControl+AFNetworking.h

setRefreshingWithStateOfTask:

- (void)setRefreshingWithStateOfTask:(NSURLSessionTask *)task
Discussion

Binds the refreshing state to the state of the specified task.

Parameters

task

The task. If nil, automatic updating from any previously specified operation will be disabled.

Declared In

UIRefreshControl+AFNetworking.h