Skip to content
This repository has been archived by the owner on Feb 8, 2023. It is now read-only.

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
hongxinhope committed May 26, 2017
1 parent 10be852 commit a5791fc
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
#SwipeableTableViewCell
# SwipeableTableViewCell
SwipeableTableViewCell is a quite easy-to-use UITableViewCell subclass which allows you to add multiple highly customizable swipe actions.

![Example](Gif/SwipeableTableViewCellExample.gif "SwipeableTableViewCellExample")

##How To Get Started
###Carthage
## How To Get Started
### Carthage
Specify "SwipeableTableViewCell" in your ```Cartfile```:
```ogdl
github "teambition/SwipeableTableViewCell"
```

###Usage
##### 1. TableViewController
### Usage
#### 1. TableViewController
Import "SwipeableTableViewCell":
```swift
import SwipeableTableViewCell
Expand Down Expand Up @@ -49,7 +49,7 @@ override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexP
}
```

##### 2. Implement delegate if needed
#### 2. Implement delegate if needed
```swift
func swipeableCell(_ cell: SwipeableTableViewCell, isScrollingToState state: SwipeableCellState) {
// do something
Expand Down

0 comments on commit a5791fc

Please sign in to comment.