I need to implement this design
with swift and the part drawn in rect is dynamic in terms in number of words that will be shown
i thought of having a tableView with cell that has the red part as a collectionView ,but i don’t know how to make that collectionView height dynamic cause if i gave it a static height in table cell it will be un suitable to the correct height that it should have ?
i thought of collectionView , is there any alternative that is more easier and if there isn’t ,how to make that collection|View height dynamic
Note: every word and it’s translation (inside the collectionView or whatever should be ) is a box with a dynamic width according to text length and a static height say 60 points ….