Adding additional pre-processor directives for network activity indicator manager

This commit is contained in:
Mattt Thompson 2011-10-11 10:44:39 -05:00
parent 60ccf59d10
commit 440b403f39

View File

@ -22,11 +22,14 @@
#import <Foundation/Foundation.h>
#import <Availability.h>
#if __IPHONE_OS_VERSION_MIN_REQUIRED
#import <UIKit/UIKit.h>
/**
`AFNetworkActivityIndicatorManager` manages the state of the network activity indicator in the status bar. When enabled, it will listen for notifications indicating that a network request operation has started or finished, and start or stop animating the indicator accordingly. The number of active requests is incremented and decremented much like a stack or a semaphore, and the activity indicator will animate so long as that number is greater than zero.
*/
#if __IPHONE_OS_VERSION_MIN_REQUIRED
@interface AFNetworkActivityIndicatorManager : NSObject {
@private
NSInteger _activityCount;