Back
Question
Asked

iOS devs - how do I refactor an existing table view controller as a table view in a single collection cell of a collection view? 🐥



You would need to create a custom CollectionViewCell that contains a TableView and then implement the delegate methods inside this CustomCollectionViewCell class. You can do this using Storyboards.

On another note... I would suggest you use IGListKit for complex CollectionViews :) It will make your life easier and will keep your app running smooth!!!

github.com/Instagram/IGListKit

Yes. Made some code you can use for reference.
<script src="https://pastebin.com/embed_js/3j1G3L7E"></script>

FYI, Brian Voong's LBTA's tutorials are amazing to learn how to use CollectionViews and embedded CollectionViews. Available for free on YouTube!