I have a loop which parses JSON that is returned from a remote server, and I am able to loop through it, and get the values, but I am not sure how to set my UITableView with the data that comes back.
How do I reset the expected number of rows that the UITableView already thinks it will have? And how do I actually set the values?
Thanks!
Store the data in an array. Then reload the table once you have finished parsing the data, like so:
And in a method that parses your data:
To know which object you need to pass into a view controller or do whatever else you need to do with the data: