Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -(void)hideMenu
- {
- NSLog(@"things menu %@: start hiding", self.dressItem);
- _hiding = YES;
- self.userInteractionEnabled = NO; // all subviews too
- // hideGradually
- [UIView animateWithDuration:0.4 animations:^{
- NSLog(@"carousel delegate -> nil");
- _carousel.delegate = nil;
- self.alpha = 0.0;
- _menuShadow.alpha = 0.2;
- } completion:^(BOOL finished){
- [_menuShadow removeFromSuperview];
- [self removeFromSuperview];
- }];
- [self stopTimer];
- }
Add Comment
Please, Sign In to add comment