O'Reilly logo

Swift 4 for Absolute Beginners: Develop Apps for iOS by Gary Bennett, Brad Lees, Stefan Kaczmarek

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

© Stefan Kaczmarek, Brad Lees and Gary Bennett 2018
Stefan Kaczmarek, Brad Lees and Gary BennettSwift 4 for Absolute Beginnershttps://doi.org/10.1007/978-1-4842-3063-3_8

8. Programming Basics in Swift

Stefan Kaczmarek, Brad Lees1 and Gary Bennett2
(1)
Phoenix, Arizona, USA
(2)
Scottsdale, Arizona, USA
 
Swift is an elegant language. It mixes the efficiency of a compiled language with the flexibility and modern features of many scripting languages.
This chapter introduces some of the more common concepts in Swift, such as properties and collection classes. It also shows how properties are used from within Xcode when dealing with user interface elements. This sounds like a lot to accomplish, but Swift, the Foundation framework, and the Xcode tool provide ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required