Commit 78bf1d75 by Daniel Dahan

updated README for Motion 1.0.4

parent 68ebdb0c
......@@ -42,7 +42,7 @@ Motion is a growing project and will encounter changes throughout its developmen
You can add animations to any UIView or CALayer using the *motion* API with an optional completion block. For example, to change the background color of a view with a 45 degree rotation:
```swift
view.motion(.backgroundColor(.blue), .rotationAngle(45)) {
view.motion([.backgroundColor(.blue), .rotationAngle(45)]) {
// Do something when complete.
}
```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment