[UIView beginAnimations:nil context:nil];
[UIView setAnimationDuration:0.3];
[UIView setAnimationRepeatCount:10];
[UIView setAnimationDelay:1.0];
// doing something...
[UIView commitAnimations];
[UIView animateWithDuration:0.3 animations:^{
// doing something...
}];
[UIView animateWithDuration:0.3 animations:^{
// doing something...
} completion:^(BOOL finished) {
// doing something...
}];
[UIView animateKeyframesWithDuration:0.3 delay:1.0 options:UIViewKeyframeAnimationOptionCalculationModeLinear animations:^{
// doing something...
} completion:^(BOOL finished) {
// doing something...
}];