I have created a UICollectionView and would like to have all the cells shake like the edit mode of the springboard on the iPhone. I have created my shake code but don\'t kno
If you put you're code in a method called startJiggling
in your custom cell, then you could call this method in your controller:
[self.collectionView.visibleCells makeObjectsPerformSelector:@selector(startJiggling)];
That ensures that all visible cells will start jiggling.
Then I'd also set some flag indicating that your cells should jiggle and test for that in collectionView:cellForItemAtIndexPath:
. If YES, then call your method.