blob: 779e0f2fe3e04894b0e771326239fd1a84b0f732 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
[UIView animateWithDuration:0.2f delay:0.f options:UIViewAnimationCurveEaseInOut animations: ^{
self.transform = CGAffineTransformMakeScale(1.05f, 1.05f);
} completion: ^(BOOL finished) {
[UIView animateWithDuration:0.08f delay:0.f options:UIViewAnimationOptionCurveEaseInOut animations: ^{
self.transform = CGAffineTransformIdentity;
[UIView animateWithDuration:1 delay:0 options:0 animations:^ {
// blah
} completion:nil];
}];
}];
dispatch_async(foo, ^{
dispatch_async(bar, ^{
dispatch_async(qux, ^{
quz();
});
});
})
|