I have a UITableView in my ViewController. To populate it, I have to make an async
request that may take up to a second to complete. Where should I put it?
When I tried to make ViewDidLoad
async and make a call from there, ViewWillLayoutSubviews
throws an error, because it tries to position some elements that weren't assigned yet - due to the fact that not all code from ViewDidLoad
was executed yet (I think).