Skip to content

Commit

Permalink
Update Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
modzelewski committed Aug 25, 2016
1 parent f6ef4d7 commit 639d120
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,13 @@ timeline.start()
```
![Timeline with an overlap](https://trxy.github.io/TRX/docs/timeline_overlap.png)

Squeeze and stretch tweens or timelines
### Squeeze and stretch tweens or timelines

```swift
let tween = Tween(from: 0, to: 1, time: 0.5) { print($0) }

tween.scale = 2 // duration: 1s
timeline.duration = 2.0 // scale: 4
tween.duration = 2.0 // scale: 4
```

## UIView integration
Expand Down

0 comments on commit 639d120

Please sign in to comment.