Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Deselect cells with animation doesn't animate #147
[self.gridView deselectItemsAtIndexPaths:[self.gridView indexPathsForSelectedCells] animated:YES];
does not cause the deselection to occur with an animation.
I set some breakpoints and think the problem is that this call triggers multiple deselection code, and the first one doesn't animate
In KKGridViewCell first setPressedState is called which will do _selectedBackgroundView.alpha = 0.f; without animation, next setSelected with a nimation gets called which will try to do the animation but the background is already invisible.