How to load two arrays into the same table view?

I have an iPhone application in which I want to add two arrays to the same tableview, i.e. an array of news and an array of transactions that are returned by the web service. I need to load them in one view, i.e. In the form of a table, as if loading from one array. Can someone help me achieve this?

+5
source share
2 answers

Finally, I did it like this. First take two arrays. Then combine it into one array and load the table view from this array. If you need separate actions, then in the didselect method check if the object contains the first array then does something, otherwise do another ...

+1
source
0

All Articles