I have a collection view that has a collection view as a cell and within this I show the cards, and there I need to open the detail. However, I think I have a problem with the context because it does nothing.
I have tried to pass the self value from the UICollectionView to the cell and pass the context to the shouldPresent function, but it does not work...
let infoVC : UIViewController = InfoViewController()card.shouldPresent(infoVC, from: mainVC)
Could you help me find my mistake or tell me how I can do it?
Hi Paolo, thanks for sharing this library.
I have a collection view that has a collection view as a cell and within this I show the cards, and there I need to open the detail. However, I think I have a problem with the context because it does nothing.
I have tried to pass the self value from the UICollectionView to the cell and pass the context to the shouldPresent function, but it does not work...
let infoVC : UIViewController = InfoViewController()
card.shouldPresent(infoVC, from: mainVC)
Could you help me find my mistake or tell me how I can do it?
Thx!