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.

Tasks

Refreshing for Session Tasks

Refreshing for Request Operations

Instance Methods

setRefreshingWithStateOfOperation:

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

- (void)setRefreshingWithStateOfOperation:(AFURLConnectionOperation *)operation

Parameters

operation

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

Declared In

UIRefreshControl+AFNetworking.h

setRefreshingWithStateOfTask:

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

- (void)setRefreshingWithStateOfTask:(NSURLSessionTask *)task

Parameters

task

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

Declared In

UIRefreshControl+AFNetworking.h