Skip to content

Commit

Permalink
Adding additional pre-processor directives for network activity indic…
Browse files Browse the repository at this point in the history
…ator manager
  • Loading branch information
mattt committed Oct 11, 2011
1 parent 60ccf59 commit 440b403
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions AFNetworking/AFNetworkActivityIndicatorManager.h
Expand Up @@ -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;
Expand Down

0 comments on commit 440b403

Please sign in to comment.