Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
younatics authored Mar 25, 2017
1 parent 5220a7c commit f202add
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,13 @@ func tableView(_ tableView: YNTableView, didDeselectRowAt indexPath: IndexPath,
Set basic `UITableViewDataSource`, `UITableViewDelegate` and Done!

### Customize

Expand & Collapse All if you want
```swift
self.ynTableView.expandAll()
self.ynTableView.collapseAll()
```

Inherit `YNExpandableCell` if you want awesome '+' '-' custom accessory type
```swift
class YNExpandableCellEx: YNExpandableCell
Expand Down

0 comments on commit f202add

Please sign in to comment.