[UIView animateWithDuration:0.5 delay:0 usingSpringWithDamping:0.5 initialSpringVelocity:10.0 options:UIViewAnimationOptionCurveEaseIn animations:^{
self.view.superview.top -= FilterViewHeight;
} completion:^(BOOL finished) {
self.isShown = YES;
if ([self.delegate respondsToSelector:@selector(filterViewControllerDidShow:)]) {
[self.delegate filterViewControllerDidShow:self];
}
}];
Last active
October 25, 2015 16:21
-
-
Save nvkiet/a5952bc76d0c8b59920c to your computer and use it in GitHub Desktop.
UIView Animation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment