Aug 9, 2017 · 1 min read
Yes, it does look clean and I use this pattern too. But note that you can’t declare self asdelegate in the closure. That you still have to do in either viewDidLoad or some other setup method.
Yes, it does look clean and I use this pattern too. But note that you can’t declare self asdelegate in the closure. That you still have to do in either viewDidLoad or some other setup method.