Carlos Andres Chaguendo Sanchez
Carlos Andres Chaguendo Sanchez
That's true, but for classes that don't need parameters it's very useful, keeping in mind that many times we can omit those parameters and set them in the code block...
https://docs.swift.org/swift-book/LanguageGuide/Initialization.html >Subclasses do not inherit their superclass initializers by default. However, superclass initializers are automatically inherited if certain conditions are met. > >Rule 1 If your subclass doesn’t define any...
Me, too. I put it in the first controller, and everything worked fine. ``` class HomeTabBarController: UITabBarController { override func viewDidLoad() { super.viewDidLoad() HairPowder.instance.spread() } } ````