I was trying to create a collection view inside another view using xib files as explained here in this article
Done everything (or not?) as guided in there as per the cod