Skip to content

Commit

Permalink
[ADD] Mention support for delay
Browse files Browse the repository at this point in the history
  • Loading branch information
DarthMike committed Jun 21, 2016
1 parent 985fd12 commit 56e3be2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ animate {
self.red.transform = CGAffineTransformMakeRotation(CGFloat(M_PI_2))
}.thenAnimate { // Chain animations, to be executed in order
self.green.transform = CGAffineTransformMakeRotation(-CGFloat(M_PI_2))
}.thenAnimate {
}.afterDelay(1)
.thenAnimate {
self.blue.transform = CGAffineTransformMakeScale(1.5, 1)
}.withOptions(.CurveEaseOut).thenAnimate {
self.yellow.transform = CGAffineTransformMakeScale(1, 1.5)
Expand Down Expand Up @@ -78,6 +79,7 @@ animate {
}.withDuration(0.1).withType(.Spring).thenAnimate {
// Animation 3
}.withType(.Regular)
.afterDelay(0.2)

```

Expand Down

0 comments on commit 56e3be2

Please sign in to comment.