I would like to animate collectionView Cell like here:
https://d13yacurqjgara.cloudfront.net/users/147165/screenshots/2232500/duolingo3.gif
I think they used here CollectionView.
collectionView.contentInset = UIEdgeInsetsMake(0, (self.view.frame.size.width - 300)/2, 0, (self.view.frame.size.width - 440)/2);
UIView.transitionWithView(collectionView, duration: 1.0, options: UIViewAnimationOptions.CurveEaseIn, animations: { () -> Void in
cell.frame.size.height = self.view.frame.size.height - 200
cell.frame.size.width = self.view.frame.size.width - 100
}, completion: nil)
I have size transition but look different. I try to make this animation in cellForItemAtIndexPath.