-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does not handle tableview with multiple sections #4
Comments
Great question! I did this once before, basically I just subclassed Does that make sense? |
Hi guys, I could make the tableViewCell.setCollectionViewDataSourceDelegate(self, forRow: indexPath.section) PS: Of course you will also need to add the Hope it helps, any doubts just let me know. |
i tried to get different Data for uicollectionView but it didn't work. in TableView in CollectionView
it showed same text every section in tableView |
In the
I don't think you need to check for the Hope it works for you. |
How did you used that table section then inside the collectionView method? |
This code relies on the tag property. Because of this, it does not account for tableviews with multiple sections. How would you modify the code to account for this? Could you create a custom UICollectionView with custom properties "section" and "row", and store the tableview section and row in those properties? Would that violate MVC? Thanks!
The text was updated successfully, but these errors were encountered: