Skip to content

Commit

Permalink
Merge pull request #42 from jeantimex/update-readme
Browse files Browse the repository at this point in the history
Updated readme and static cover image.
  • Loading branch information
jeantimex authored Jul 31, 2017
2 parents 53ec6ce + 060252b commit 360c9af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class ViewController: CollapsibleTableSectionViewController { ... }
extension ViewController: CollapsibleTableSectionDelegate { ... }
```

## CollapsibleTableSectionDelegate Protocols
## CollapsibleTableSectionDelegate Protocol

Most of the protocol methods are optional and they are very similar to `UITableViewDataSource` and `UITableViewDelegate`, here is a list of the available protocol methods:

Expand Down Expand Up @@ -108,7 +108,7 @@ Returns the table cell at the specified index path. You can also use your custom
```swift
extension ViewController: CollapsibleTableSectionDelegate {
func collapsibleTableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let cell = tableView.dequeueReusableCellWithIdentifier("cell") as UITableViewCell? ?? UITableViewCell(style: .Default, reuseIdentifier: "cell")
let cell = tableView.dequeueReusableCell(withIdentifier: "Cell") as UITableViewCell? ?? UITableViewCell(style: .default, reuseIdentifier: "Cell")
cell.textLabel?.text = "Cell Text"
return cell
}
Expand Down
Binary file added docs/images/cover-static.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 360c9af

Please sign in to comment.