iOS: Beginner’s Guide — UIKit (3/3)

An example of polymorphism
An example of optional downcasting
An example of forced downcasting
An example of forced downcasting
An example of optional downcasting
An example of UIView’s animate method
An example of a trailing closure
An example of a protocol
An example of a protocol used in action
An example of an extension
An example of using the mutating keyword
An example of an extension
An example of using Self
An example of a protocol extension

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store