Get Updates By E-mail 

Article Written By:
Johann Dowa

Open Source iOS Library For Automatically Setting The State Of The Network Status Indicator

  •  
  •  
  •  
  •  
  •  

I’ve mentioned a number of networking libraries, most recently the Swift based Alamofire and SwiftHTTP one functionality not included within these libraries is that they don’t automatically set the network status indicator.

Here’s an open source library that allows you to automatically set the network status indicator in the status bar called BigBrother from Marcelo Fabri.

BigBrother sets the network status indicator based on the app’s current NSURLSession or NSURLconnection state so it works straight out with most networking libraries.

If you would like to control the network status indicator directly helper methods included to control the status indicator by incrementing and decrementing a network status count which is nice if you have multiple connections or want to indicate some other sort of activity.

You can also supply a NSURLSessionConfiguration object if you’d prefer to work with a specific NSURLSession rather than any NSURLSession.

You can find BigBrother on Github here.

A library providing a nice automatic way of setting the network status indicator.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments