Declared in UIActivityIndicatorView+AFNetworking.h

Overview

This category adds methods to the UIKit framework’s UIActivityIndicatorView class. The methods in this category provide support for automatically starting and stopping animation depending on the loading state of a request operation or session task.

Tasks

Animating for Session Tasks

Animating for Request Operations

Instance Methods

setAnimatingWithStateOfOperation:

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

Binds the animating 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

UIActivityIndicatorView+AFNetworking.h

setAnimatingWithStateOfTask:

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

Binds the animating 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

UIActivityIndicatorView+AFNetworking.h