Classes / Inheritance
Collection downcasts
Base class
Abstract classes
Protocol inheritance
Upcasting to the base type
Downcasting (as)
Compatibility check (is)
Method override
Property override
Observer override
Member hiding
Sealed class
Sealed class members
Private class members
Compatibility check (is)
This example is in the full version, available in the app stores:
Swift Recipes
App Store
Code Recipes
App Store
Already bought it? Sign in to your account