Today, according to a swift tutorial above Raywenferlich a swift code, basically familiar with the swift grammar and objective-c differences, of course, to familiarize yourself with the language is a lot of effort and time, As a whole, Swift's start-up is relatively fast, the language of the grammar is quite concise, refining, Apple's own language, and indeed there are some of Apple's own style.
In the previous Objective-c language, there will be two files, respectively. h and. m files, and Swift has only one file, and this small project is the first to create a modl, and then associate the view with the model in Viewcontroller. The interface is built directly with the storyboard, because just a simple page, not too complex page, the original link address is as follows:
Http://www.raywenderlich.com/74904/swift-tutorial-part-2-simple-ios-app
Swift Tax calculation Small project