Declared in UIProgressView+AFNetworking.h

Overview

This category adds methods to the UIKit framework’s UIProgressView class. The methods in this category provide support for binding the progress to the upload and download progress of a session task or request operation.

Tasks

Setting Session Task Progress

Instance Methods

setProgressWithDownloadProgressOfOperation:animated:

- (void)setProgressWithDownloadProgressOfOperation:(AFURLConnectionOperation *)operation animated:(BOOL)animated
Discussion

Binds the progress to the download progress of the specified request operation.

Parameters

operation

The request operation.

animated

YES if the change should be animated, NO if the change should happen immediately.

Declared In

UIProgressView+AFNetworking.h

setProgressWithDownloadProgressOfTask:animated:

- (void)setProgressWithDownloadProgressOfTask:(NSURLSessionDownloadTask *)task animated:(BOOL)animated
Discussion

Binds the progress to the download progress of the specified session task.

Parameters

task

The session task.

animated

YES if the change should be animated, NO if the change should happen immediately.

Declared In

UIProgressView+AFNetworking.h

setProgressWithUploadProgressOfOperation:animated:

- (void)setProgressWithUploadProgressOfOperation:(AFURLConnectionOperation *)operation animated:(BOOL)animated
Discussion

Binds the progress to the upload progress of the specified request operation.

Parameters

operation

The request operation.

animated

YES if the change should be animated, NO if the change should happen immediately.

Declared In

UIProgressView+AFNetworking.h

setProgressWithUploadProgressOfTask:animated:

- (void)setProgressWithUploadProgressOfTask:(NSURLSessionUploadTask *)task animated:(BOOL)animated
Discussion

Binds the progress to the upload progress of the specified session task.

Parameters

task

The session task.

animated

YES if the change should be animated, NO if the change should happen immediately.

Declared In

UIProgressView+AFNetworking.h