Type check (is)
Classes / Inheritance
Collection downcasts
Base class
Abstract classes
Protocol inheritance
Upcasting to the base type
Downcasting (as)
Type check (is)
Method override
Property override
Overriding property observers
Member hiding
Sealed class
Sealed class members
Private class members
Type check (is)
This example is in the full version, available in the stores below:
Recipes for Swift
App Store
Code Recipes
App Store
Already bought it? Sign in to your account
Languages
Python
C++
Java
C#
JavaScript
R
Rust
Delphi
PHP
Ruby
Kotlin
Lua
TypeScript
Clojure
Objective-C