[UIView animateWithDuration:0.5 delay:1.0 options: UIViewAnimationCurveEaseOut animations:^{ self.basketTop.frame = basketTopFrame; self.basketBottom.frame = basketBottomFrame; } completion:^(BOOL finished){ NSLog(@"Done!"); }];[UIViewanimateWithDuration:0.6f
delay:0.1f options:UIViewAnimationCurveEaseInOut animations:^{ [starView setCenter:CGPointMake(0, 0)]; [starView setAlpha:0.0f]; } completion:^(BOOL finished){ [starView removeFromSuperview]; points++; }];