I'm building a youtube like app to train myself to Swift and Autolayout.
But I'm facing a problem, in multiple places I need to display a table of videos, then what I want to do is to design one video's cell that I'll reuse in other tables but I don't see how to do that.
I tried to put a ContainerView in a cell be I got this error "Container Views cannot be placed in elements that are repeated at runtime."
PS : I already thought of a ContainerView referencing a TableViewController of videos, but the problem is that Videos are not the only cells that I want to have in my differents tables. ( Sometimes there is comments at the bottom, sometimes other things etc. Shortly: The tables will have different types of cells ).