ios tutorial from http://www.raywenderlich.com/1797/ios-tutorial-how-to-create-a-simple-iphone-app-part-1