1) I am working on one application which contains one single tableview and above that tableview there is one horizontal scrollview which contains number of dynamic button eg.button1,button2....
2)On touch of each button json is comming and i am parsing and showing that json in tableview using NSURLSession.eg.One touch of button1 json will come,on touch of button2 different json will come.
3)After that i want to store each button json array into single array and display accordingly.eg. suppose i clicked on button2 json will come and should be stored in array so that in future i retouch that button data should come from stored array.
I've managed point 1 & 2 but not getting any idea how to solve 3 point.
I also added the one image which will give clear understanding about my problem.
Please if any one have idea then reply to this question.Thanks in advance.
