Swift Programming Tutorial: Final Class

Arc Sosangyo
2 min readMar 19, 2022
Photo by: Changbok ko on unsplash.com

Using inheritance allows you to inherit the properties and methods from other class. It is meant to avoid writing the same code when dealing with multiple classes that has similar properties or methods. But for whatever your reason is: whether it’s for the sake of security or type safety. You can disable the inheritance of a class by just declaring it as final.

This is a continuation of my…

--

--

Arc Sosangyo

Father | Husband | Self-help Author | Coder | Traveler