UIProgressView(AFNetworking) Category Reference
Declared in | UIProgressView+AFNetworking.h UIProgressView+AFNetworking.m |
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.
Instance Methods
setProgressWithDownloadProgressOfOperation:animated:
Binds the progress to the download progress of the specified request operation.
- (void)setProgressWithDownloadProgressOfOperation:(AFURLConnectionOperation *)operation animated:(BOOL)animated
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:
Binds the progress to the download progress of the specified session task.
- (void)setProgressWithDownloadProgressOfTask:(NSURLSessionDownloadTask *)task animated:(BOOL)animated
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:
Binds the progress to the upload progress of the specified request operation.
- (void)setProgressWithUploadProgressOfOperation:(AFURLConnectionOperation *)operation animated:(BOOL)animated
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:
Binds the progress to the upload progress of the specified session task.
- (void)setProgressWithUploadProgressOfTask:(NSURLSessionUploadTask *)task animated:(BOOL)animated
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