Skip to content


Here are 89 public repositories matching this topic...

With polymorphism, several descendant object/instance references can be assigned to a reference to the parent class, and yet the parent can exhibit the behavior of the descendant. In other words, you can declare a variable of a certain type (parent/UIControl) and it can store references of that type, but it can also store references to any child (subclass) of that type (here, UITextField, UISlider, UISegmentedControl, and UIStepper).

  • Updated Mar 25, 2017
  • Swift

Improve this page

Add a description, image, and links to the parent topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the parent topic, visit your repo's landing page and select "manage topics."

Learn more