Nimbus 0.9.3 - Nimbus is proudly hosted on Github
An iOS framework whose growth is bounded by O(documentation).
For showing network activity in the device's status bar.
Two methods for keeping track of all active network tasks. These methods are threadsafe and act as a simple counter. When the counter is positive, the network activity indicator is displayed.
Enable network activity debugging.
The Nimbus network activity methods will only work correctly if they are the only methods to touch networkActivityIndicatorVisible. If you are using another library that touches networkActivityIndicatorVisible then the network activity indicator might not accurately represent its state.
When enabled, the networkActivityIndicatorVisible method on UIApplication will be swizzled with a debugging method that checks the global network task count and verifies that state is maintained correctly. If it is found that networkActivityIndicatorVisible is being accessed directly, then an assertion will be fired.
If debugging was previously enabled, this does nothing.
Disable network activity debugging.
When disabled, the networkActivityIndicatorVisible will be restored if this was previously enabled, otherwise this method does nothing.
If debugging wasn't previously enabled, this does nothing.