Recently, I've been experiencing the iOS equivalent of Leonardo Dicaprio's Inception - putting a collection view inside a collection view. When exploring possible solutions I stumbled upon a very informative article by Soroush Khanlou and his suggestion that the best way to implement a collection view inside a collection view …

I wrote this custom cell that ultimately was axed because it didn't fit into the UI that was later revised. I thought it was a shame to waste it so here it is in the full. It works by allowing you to define how buttons should appear in a cell, …