Am developing a app using swift in my in one controller am using both collection view and table view.collection view which kept at top of the controller which scrolls horizontally and contains near 10 cells and table view is just kept below to the collection view.i have passed the json(api) data to both collection and table view now i have to call another json data(another api) which is subcategory of before first json data and then if i tapp the cell of collection view it should call the second api and reload the table view again to display second api data...how to do this task??Am developing a app using swift in my in one co