Dear community,
I face the problem, that the section cell in my tableview is not updated according to the desired input. I use the function “viewForHeaderInSection” and read the data for each section out of a firestore DB via my data model. But it looks like, that the function is finished and the table view including the sections are shown, before the right data from the DB is received. As a result, currently I can just see the same section name. How can I use a code, that the function is somehow stopped until the data is send back?
Every hint would be really helpful for me. Thanks for your support.
Jens