Aug 9, 2017 · 1 min read
Good point, the only way to achieve that is to declare the view as “lazy var”. But this is not the best solution because we want it let, not var (and also lazy initialization sometimes does not work as expected). Also, we are customizing the views (giving them some style), that is why the function I created is called style. Assigning the delegate is not styling, and in my opinion can be perfectly placed in viewDidLoad :)
