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_7

7. Swift Classes, Objects, and Methods

Stefan Kaczmarek, Brad Lees1 and Gary Bennett2
(1)
Phoenix, Arizona, USA
(2)
Scottsdale, Arizona, USA
 
If you haven’t already read Chapter 6, please do so before reading this one because it provides a great introduction to some of the basics of Swift. This chapter builds on that foundation, especially with creating Swift classes. By the end of this chapter, you can expect to have a greater understanding of the Swift language and how to use the basics to write simple programs. The best way to learn is to take small programs and write (or rewrite) ...

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