UIActivityIndicatorView(AFNetworking) Category Reference
Declared in | UIActivityIndicatorView+AFNetworking.h UIActivityIndicatorView+AFNetworking.m |
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.
Instance Methods
setAnimatingWithStateOfOperation:
Binds the animating state to the execution state of the specified operation.
- (void)setAnimatingWithStateOfOperation:(AFURLConnectionOperation *)operation
Parameters
- operation
The operation. If
nil
, automatic updating from any previously specified operation will be disabled.
Declared In
UIActivityIndicatorView+AFNetworking.h
setAnimatingWithStateOfTask:
Binds the animating state to the state of the specified task.
- (void)setAnimatingWithStateOfTask:(NSURLSessionTask *)task
Parameters
- task
The task. If
nil
, automatic updating from any previously specified operation will be disabled.
Declared In
UIActivityIndicatorView+AFNetworking.h