Ok, there is almost a war in the between Apple and Google “fanbois” because Apple used patent suit to block sales of Samsung’s Galaxy Nexus. Before we comment on this, allow me to explain a bit. What is a patent? Wikipedia describes it as an intellectual property to which the inventor is granted exclusive rights for a limited period of time. A patent is a form of intellectual property. It consists of a set of exclusive...
Read MoreiOS Tip: Informing the user of your intent to use their location
If you ever use location services in your app, consider using CLLocationManager’s purpose text field to set a string that says why exactly your app requires location information. This goes a long way in convincing the user as to why they need to provide you with their location information. The image below shows a blank location request alert. When you set the CLLocationManager’s purpose property, self.locationManager =...
Read MoreiOS 6 developer wishlist
Blogging after a long time. I’m not going to give you the same “I’m busy” excuse. Lets get to the point. WWDC will start in matter of hours and Twitterverse is going to be flooded with tweets from the Apple cult. As a developer, I’m expecting the following additions to iOS SDK. I believe these additions would be beneficial to both developers and end users. Contents Accounts Framework third party support Widget...
Read MorePanacea for slow Xcode
Wrote a quick and dirty script for clearing “nonsense” files with a click. Copy the contents of this script to a file on your Mac. Save it to a file named, say, cleanup.sh, preferably in your home directory (or the directory where your terminal opens up by default) Set execute permissions to it by typing, chmod +x cleanup.sh You are done. Whenever Xcode “misbehaves”, just execute this script. It cleans up your...
Read MoreRESTful API Server – Doing it the right way (Part 2)
In the part 1 of the post, I introduced the RESTful principle and explained how to architecture your server code so as to ensure easier versioning and deprecation of your API. In this part, I’m going to talk briefly about HATEOAS and hypermedia and then show you the role it plays in a native mobile client development. But the crux of this post is going to be centered around how to implement caching (or rather server side support for...
Read More
