Share this page

by Eirik Madland     myxcode.net
Swift Version: 2.0

Here’s how to add an animation to your UICollectionView Cell. Override the following function: // Animation of UICollectionViewCell override func collectionView(collectionView: UICollectionView, willDisplayCell cell: UICollectionViewCell, forItemAtIndexPath indexPath: NSIndexPath) { cell.alpha = 0 cell.layer.transform = CATransform3DMakeScale(0.5, 0.5, 0.5) UIView.animateWithDuration(0.4, animations: {... Continue Reading →




© 2015 SoSoSwift. Blog · About · Contact · Privacy policy · Terms of service · RSS