update readme

This commit is contained in:
Max Sokolov 2016-06-18 06:21:24 +03:00
parent 7e3d52fb92
commit f74d35cc8c
1 changed files with 3 additions and 1 deletions

View File

@ -154,7 +154,9 @@ It's never been so easy to deal with table views.
```swift
let users = /* some users array */
tableDirector += users.filter({ $0.state == .active }).map({ TableRow<String, UserTableViewCell>(item: $0.username) })
let rows: [Row] = users.filter({ $0.state == .active }).map({ TableRow<String, UserTableViewCell>(item: $0.username) })
tableDirector += rows
```
Done, your table is ready. It's just awesome!