Guest User

Untitled

a guest
Oct 19th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. -(void)hideMenu
  2. {
  3. NSLog(@"things menu %@: start hiding", self.dressItem);
  4.  
  5. _hiding = YES;
  6.  
  7. self.userInteractionEnabled = NO; // all subviews too
  8.  
  9. // hideGradually
  10. [UIView animateWithDuration:0.4 animations:^{
  11. NSLog(@"carousel delegate -> nil");
  12. _carousel.delegate = nil;
  13. self.alpha = 0.0;
  14. _menuShadow.alpha = 0.2;
  15. } completion:^(BOOL finished){
  16. [_menuShadow removeFromSuperview];
  17. [self removeFromSuperview];
  18. }];
  19.  
  20. [self stopTimer];
  21. }
Add Comment
Please, Sign In to add comment