Get property name as string

Go to get the name of an object property, can be boring using the Objective-C runtime reference.
Fortunately there is a quick way to get it. Assume that you have an object named “appleStore” that has a property named “storeLocation”.
StoreLocation is another object with some properties: “city”, “lat”, “lon”, “street”, “state”, “code”.

Continue reading

Network Reachability Test and HTTP Call with AFNetworking

There are plenty of time when we need to have active internet connection for an mobile application to be used. So it is always good idea to check internet connection before the application get ready for use.

AFNetworking is one of the best iOS library out there for making HTTP request for accessing web services.  Same library is good enough for checking active internet connection. So now let’s dive into how we can constantly monitor the internet connection throughout the application.