In this lesson you’ll dive deeper into Object-Oriented Programming by learning about base classes and how they can ensure consistency and abstraction from the rest of the system. You’ll also learn about static members and static methods; what their power is and their limitations. Finally, you’ll learn about method overloading and method overriding and how they can solve what would appear to be a complex challenge, in almost no effort.
You’ll continue working on the same ContactCard app you started on in the last lesson. I recommend that you use the starter playground with this lesson and not continue from the code of the last lesson. The Playground file is a little bit more organized and is using a separate Swift file to define ContactCard and the type is now a class type not a structure. Structs can’t be used with inheritance which you’ll be doing in this lesson.
See forum comments
This content was released on Oct 17 2023. The official support period is 6-months
from this date.
Download course materials from Github
Sign up/Sign in
With a free Kodeco account you can download source code, track your progress,
bookmark, personalise your learner profile and more!
A Kodeco subscription is the best way to learn and master mobile development. Learn iOS, Swift, Android, Kotlin, Flutter and Dart development and unlock our massive catalog of 50+ books and 4,000+ videos.