How to update UITableView from a custom cell?
Firstly, I'm very new to iOS programming. Currently I'm building an
dynamic TableView that can query result from internet. My basic
uitableview design looks like the following
It has 2 section. What I want is when I click on search me button, the app
gonna fetch data from internet, and dynamically show the result on result
section.
For now, I can fetch data from internet, but get lost at how to update
table view to display fetched result.
I have a property tableData that is an array to store data fetched from
internet. As you know, at first, the tableData is empty, and show no
result. How to update that tableData after click search me button finish,
and reload the table view???
Thank you so much for any help.
No comments:
Post a Comment