I have a UIcollection view where i have 2 different sized cell. The last cell is always bigger and exposed and all the other are small and half hidden.
Now when the user taps the half hidden cells i want to pick those cell and replace their position with the cell in the front (exposed) with an animation.
Until now i am reshuffling the data in the data source and reloading it which serves the purpose but no animation so far as couldn't find anything useful.
Any help will be appreciated. Note: I am using Swift.
Thanks,
Try this:
}