ashfurrow / Collection-View-in-a-Table-View-Cell

Sample code for my tutorial
http://ashfurrow.com/blog/putting-a-uicollectionview-in-a-uitableviewcell-in-swift/
MIT License
395 stars 81 forks source link

How to use Table view section id in the CollectionView Cell while deque the collection cell #45

Open mujtuba11khan opened 4 years ago

mujtuba11khan commented 4 years ago

Hi In this scenario I want to use table indexPath.section in CollectionView cell. Is it Possible?

aadeez-dev commented 4 years ago

Yes, It's Possible. Set

CollectionView.Tag = (TableView)indexPath.section

mujtuba11khan commented 4 years ago

Thank you so much. It really helped me.

On Thu, Apr 9, 2020 at 9:10 PM Azim Shaikh notifications@github.com wrote:

Yes, Its Possible. Set CollectionView.Tag = (TableView)indexPath.section

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ashfurrow/Collection-View-in-a-Table-View-Cell/issues/45#issuecomment-611613622, or unsubscribe https://github.com/notifications/unsubscribe-auth/AELW3TUY6DJ4STT7WDQV25LRLXXQZANCNFSM4LC6NUQQ .