Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Sa74 authored Mar 24, 2018
1 parent 11e2b07 commit 3f15ca8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ pod try STCubeTransition

It is much simpler than performing an UIView animation.

If you use Cocoapods framework, First of all, import the framework:
If you use `Cocoapods` framework, First of all, import the framework:

```
import STCubeTransition
```

Then, init CubeTransition with delegate as follows,
Then, init `CubeTransition` with delegate as follows,

```
let cubeTranstion:CubeTransition = CubeTransition()
Expand All @@ -65,7 +65,7 @@ cubeTranstion.translateView(faceView: self.faceView!, // currently visible vie
withDuration: 0.5) // animation duration
```

Finally, implement the CubeTransitionDelegate optional method if you would like to perform any additional actions,
Finally, implement the `CubeTransitionDelegate` optional method if you would like to perform any additional actions,

```
func animationDidFinishWithView(displayView: UIView) {
Expand Down

0 comments on commit 3f15ca8

Please sign in to comment.