So I have this collection view with cells containing an edit button, located on the upper right corner. How do I wire up an action into it?
I tried adding <
On UICollectionView cell take button (Programmatically or using storyboard). Add action for that button in cell class file and declare delegate in that cell class file and call same delegate in button action method to perform edit action.
Then implement same delegate in ViewController in which you have created collection view