 		return Static.instance!
 	}
 
+	/**
+	Determines if there is current network acvitiy.  For OSX this can be used to display network activity
+	*/
+	var isActive:Bool {
+		get {
+			return activity
+		}
+	}
 	
-	/// The number of activities in progress. If the number is greater than 0, the network activity indicator is visible (unless modified by an external source).
-	private var numberOfRegisteredActivities: Int = 0
-	
+
 	/**
 	 Push a NetworkActivity to the stack.
 	 While there is items in the stack the Network Activity Indicator will be visible

import UIKit
#endif

@availability(iOS, introduced=7.0)
@objc class NetworkActivityController {
	
	/**

		withUnsafeMutablePointer(&spinLock, OSSpinLockLock)
		
		numberOfRegisteredActivities += 1
		//Lets let the didset of numberOfRegisteredActivities do the work.
//		if numberOfRegisteredActivities > 0 {
//			UIApplication.sharedApplication().networkActivityIndicatorVisible = true
//		}
		
		withUnsafeMutablePointer(&spinLock, OSSpinLockUnlock)
	}
