From Ray Wenderlich http://www.raywenderlich.com/74904/swift-tutorial-part-2-simple-ios-app