Skip to content

Commit

Permalink
Update readme for new API (closes #164)
Browse files Browse the repository at this point in the history
  • Loading branch information
serejahh authored Aug 22, 2016
1 parent 3b5b94d commit 9261a2f
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 @@ -158,11 +158,11 @@ func applyAppearAnimation()
```
Applies appear animation.
```swift
func swipeLeft()
func swipe(.Left)
```
Applies swipe left animation and action, increment currentCardNumber.
```swift
func swipeRight()
func swipe(.Right)
```
Applies swipe right animation and action, increment currentCardNumber.

Expand All @@ -176,7 +176,7 @@ Protocols

The KolodaView follows the Apple convention for data-driven views by providing two protocol interfaces, KolodaViewDataSource and KolodaViewDelegate. The KolodaViewDataSource protocol has the following methods:
```swift
func koloda(kolodaNumberOfCards koloda:KolodaView) -> UInt
func koloda(kolodaNumberOfCards koloda: KolodaView) -> UInt
```
Return the number of items (views) in the KolodaView.
```swift
Expand Down

0 comments on commit 9261a2f

Please sign in to comment.