An open API service providing repository metadata for many open source software ecosystems.

GitHub / iosbrain / OOP-Polymorphism-Playground

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).

JSON API: http://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iosbrain%2FOOP-Polymorphism-Playground

Stars: 2
Forks: 0
Open issues: 0

License: mit
Language: Swift
Size: 2.93 KB
Dependencies parsed at: Pending

Created at: about 8 years ago
Updated at: over 1 year ago
Pushed at: about 8 years ago
Last synced at: over 1 year ago

Topics: children, ios, ios-tutorial, oop, oop-principles, parent, playground, polymorphism, swift, swift-3

    Loading...