Folks who are used to subclass objects and calling super.init() first, will learn things may be different with Swift.
Dinesh Kumar gives us a good breakdown of how it works.
https://medium.com/@dineshk1389/swift-why-super-init-is-called-after-setting-all-self-properties-d6827e9f4eb2
No comments:
Post a Comment