Created
May 11, 2020 21:58
-
-
Save sandeeplearner/0edf0880ed2c1ab690bc30e0ce508af5 to your computer and use it in GitHub Desktop.
Dynamic polymorphism
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ViewControllerV2: UIViewController { | |
var passedClass: Description! | |
override func viewDidLoad() { | |
super.viewDidLoad() | |
debugPrint(passedClass.discribe()) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment