I have collectionView and tableView. When I select the first cell in the tableview, 6 cells are shown in the collectionView. And when I select the second cell collectionView should show 4 cells. Now I need to increase the size of the collectionView cell when I click on the second cell of the tableview.