UICollectionView inside UITableViewCell how to set the selection to pass data from the current view to another one
问题 I have a view controller with a tableview inside it , in the table view i implemented a collection view with horizontal scrolling, the data appears correctly but i want to go to another view controller when i click on the collection view cell passing a string to that view , how can i handle this process . thanks in advance 回答1: You have two choice 1) Implement Collection view delegate & datasource inside view controller. You can do this in tableview's cellForRowAt method like cell