Reputation: 113
In my iOS Project I want to generate a table with data from a json file, the problem is that the table is created before the data is loaded!
How can I generate the table after the data is loaded?
Upvotes: 0
Views: 135
Reputation: 7717
That's the gist of it. Best of luck!
Upvotes: 1
Reputation:
When the loading of the data is completed, call [tableView reloadData]
on the main thread.
Upvotes: 4