Android: HTTP GET JSON

In this brief tutorial I will discuss how to retrieve a JSON object using HTTP GET that will work on Android 2, 3, 4, and follows Android’s threading best practices. First, all operations involving internet access should be performed on a background thread. But why perform even simple operations on background threads? Well, on Android […]

Custom UINavigationBar with iOS 5

Make sure your apps use the new UIAppearance Protocol from iOS 5. Old methods to get a custom appearance may break when your users upgrade.

“NSPropertyListWriteStreamError” – When No is Not Enough

Sometimes, ‘NO’ is just not enough.  There are many great features about XCode, the LLVM compiler, Objective-C and the Cocoa Touch libraries but sometimes they just don’t give enough information.  One such case is NSDictionary’s “-(BOOL)writeToURL:atomically:” method. I was working on a project, and I just wanted to store some information to the documents directory. […]