diff --git a/README.md b/README.md
index af32809..7542811 100644
--- a/README.md
+++ b/README.md
@@ -4,7 +4,7 @@
-
+
@@ -36,9 +36,9 @@ Create your rows:
```swift
import TableKit
-let row1 = TableRow(item: "1")
-let row2 = TableRow(item: 2)
-let row3 = TableRow(item: User(name: "John Doe", rating: 5))
+let row1 = TableRow(item: "1")
+let row2 = TableRow(item: 2)
+let row3 = TableRow(item: User(name: "John Doe", rating: 5))
```
Put rows into section:
```swift
@@ -84,20 +84,20 @@ You could have as many rows and sections as you need.
It nice to have some actions that related to your cells:
```swift
-let action = TableRowAction(.click) { (data) in
+let action = TableRowAction(.click) { (data) in
// you could access any useful information that relates to the action
// data.cell - StringTableViewCell?
// data.item - String
- // data.indexPath - NSIndexPath
+ // data.indexPath - IndexPath
}
-let row = TableRow(item: "some", actions: [action])
+let row = TableRow(item: "some", actions: [action])
```
Or, using nice chaining approach:
```swift
-let row = TableRow(item: "some")
+let row = TableRow(item: "some")
.action(.click) { (data) in
}
@@ -126,7 +126,7 @@ class MyTableViewCell: UITableViewCell, ConfigurableCell {
```
And handle them accordingly:
```swift
-let myAction = TableRowAction(.custom(MyActions.ButtonClicked)) { (data) in
+let myAction = TableRowAction(.custom(MyActions.ButtonClicked)) { (data) in
}
```
@@ -173,11 +173,11 @@ It's never been so easy to deal with table views.
```swift
let users = /* some users array */
-let click = TableRowAction(.click) {
+let click = TableRowAction(.click) {
}
-let rows = users.filter({ $0.state == .active }).map({ TableRow(item: $0.name, actions: [click]) })
+let rows = users.filter({ $0.state == .active }).map({ TableRow(item: $0.name, actions: [click]) })
tableDirector += rows
```