Skip to content

Commit

Permalink
Update playground
Browse files Browse the repository at this point in the history
  • Loading branch information
onmyway133 committed Jun 1, 2016
1 parent 7b9ed55 commit 0e2d4b6
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions Playground-iOS.playground/Contents.swift
Expand Up @@ -19,12 +19,15 @@ view.center = CGPoint(x: containerView.frame.size.width/2,

// MARK: - Wave

Chain<View.BasicAnimation>()
.newAction()
.block {
view.frame.origin.x -= 120
}
.run()
view
.chain
.newAction()
.block {
view.frame.origin.x -= 40
}
.delay(2)
.duration(5)
.run()

// MARK: - Live

Expand Down

0 comments on commit 0e2d4b6

Please sign in to comment.