There is this post re: passing data between view controllers:
Passing Data between View Controllers
I don't think what i'm after is on there.
In ViewController 1 I load async data from firebase and i'd like to go to ViewController 2 without waiting for VC 1 to return all the data.
On VC2 there is a button that I want disabled until VC 1 has finished.
I did try setting a property in my singleton to true when the data has finished loading and then in VC2 looping until this property returned true but it appears once I have segued from VC1 then it won't set the property in my singleton to true in the background.
Thx.