jeudi 11 août 2016

In Swift, how can I create a custom initializer for ViewControllers?

I'd like to set the instance variables of the view controller when it's first created. That means I need a custom init method. What's the best way to do this? I want this all to be done before viewDidLoad().

Aucun commentaire:

Enregistrer un commentaire