We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add method: void(^animation3)(void) = ^{ [UIView AR_springAnimationWithDuration:0.8 animations:^{ self.loginbtn.layer.scale = 2; self.loginbtn2.layer.scale = 1; self.loginbtn.layer.position = CGPointMake(CGRectGetMidX(self.view.bounds), ScreenHeight/2); self.loginbtn2.layer.position = CGPointMake(CGRectGetMidX(self.view.bounds), ScreenHeight/2); } completion:nil];
}; void(^animation2)(void) = ^{ [UIView AR_springAnimationWithDuration:1.1 animations:^{ self.loginbtn.layer.cornerRadius = CGRectGetMidX(self.loginbtn.bounds); self.loginbtn2.layer.cornerRadius = CGRectGetMidX(self.loginbtn2.bounds); static dispatch_once_t onceToken; dispatch_once(&onceToken, ^{ self.loginbtn2.layer.rotation = M_PI*2; self.loginbtn.layer.rotation = -M_PI*2; }); } completion:animation3]; }; void(^animation1)(void) = ^{ [UIView AR_animationWithDuration:0.5 animations:^{ self.loginbtn.layer.position = CGPointMake(CGRectGetMidX(self.view.bounds), 150); self.loginbtn2.layer.position = CGPointMake(CGRectGetMidX(self.view.bounds), 150); self.loginbtn.layer.scaleX = 1.3; self.loginbtn2.layer.scaleY = 1.3; } completion:animation2]; }; [UIView AR_animationWithDuration:0.1 animations:^{ self.loginbtn.backgroundColor = NavgationBarColor; self.loginbtn2.backgroundColor = [self randomColor]; self.loginbtn2.alpha = 1; } completion:animation1];
some time result in crash
The text was updated successfully, but these errors were encountered:
some detail for me? the stack information?
Sorry, something went wrong.
No branches or pull requests
add method:
void(^animation3)(void) = ^{
[UIView AR_springAnimationWithDuration:0.8 animations:^{
self.loginbtn.layer.scale = 2;
self.loginbtn2.layer.scale = 1;
self.loginbtn.layer.position = CGPointMake(CGRectGetMidX(self.view.bounds), ScreenHeight/2);
self.loginbtn2.layer.position = CGPointMake(CGRectGetMidX(self.view.bounds), ScreenHeight/2);
} completion:nil];
some time result in crash
The text was updated successfully, but these errors were encountered: