I am using readability class to check network availability and it works fine with this code. But in my app I am having approx 25 view that needs to check the network. I need to know that do I have to write pieces of code in every file ? or is there any way to write it once ?
In the code there is 3 methods that I have to implement to check the network status.
any good suggestions ?
Thanks…
You can use this sample application for your requirement. Provided by APPLE.
In this they have kept it under Application Delegate to be available to all the classes.
Hope it helps.