An Xcode 6 console app example from http://www.raywenderlich.com/38557/learn-to-code-ios-apps-1-welcome-to-programming