Last active
August 29, 2015 13:59
-
-
Save muukii/10703171 to your computer and use it in GitHub Desktop.
UIColleciton-TableView ReloadData
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CATransition *animation = [CATransition animation]; | |
[animation setType:kCATransitionPush]; | |
[animation setSubtype:kCATransitionFade]; | |
[animation setTimingFunction:[CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseInEaseOut]]; | |
[animation setFillMode:kCAFillModeBoth]; | |
[animation setDuration:.05]; | |
[collectionView.layer addAnimation:animation forKey:kCATransition]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment