Putting a collection view inside a table view cell has become a common user interface pattern. This repository contains sample code for a tutorial where I show you how to do just that.
This code is licensed under MIT, so you can do whatever you like with it. If you have a question, just open an issue π