Similar animations can be performed without using third-party libraries.
Example:
self.frame = CGRectMake(0.0f, 0.0f, 200.0f, 150.0f); [UIView beginAnimations:@"Zoom" context:NULL]; [UIView setAnimationDuration:0.5]; self.frame = CGRectMake(0.0f, 0.0f, 1024.0f, 768.0f); [UIView commitAnimations];
Scale Usage Example Also
UIButton *results = [[UIButton alloc] initWithFrame:CGRectMake(5, 5, 100, 100)]; [results addTarget:self action:@selector(validateUserInputs) forControlEvents:UIControlEventTouchDragInside]; [self.view addSubview:results]; results.alpha = 0.0f; results.backgroundColor = [UIColor blueColor]; results.transform = CGAffineTransformMakeScale(0.1,0.1); [UIView beginAnimations:@"fadeInNewView" context:NULL]; [UIView setAnimationDuration:1.0]; results.transform = CGAffineTransformMakeScale(1,1); results.alpha = 1.0f; [UIView commitAnimations];
source: http://madebymany.com/blog/simple-animations-on-ios
source share