Skip to content

Commit 360c9af

Browse files
authored
Merge pull request #42 from jeantimex/update-readme
Updated readme and static cover image.
2 parents 53ec6ce + 060252b commit 360c9af

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class ViewController: CollapsibleTableSectionViewController { ... }
7575
extension ViewController: CollapsibleTableSectionDelegate { ... }
7676
```
7777

78-
## CollapsibleTableSectionDelegate Protocols
78+
## CollapsibleTableSectionDelegate Protocol
7979

8080
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:
8181

@@ -108,7 +108,7 @@ Returns the table cell at the specified index path. You can also use your custom
108108
```swift
109109
extension ViewController: CollapsibleTableSectionDelegate {
110110
func collapsibleTableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
111-
let cell = tableView.dequeueReusableCellWithIdentifier("cell") as UITableViewCell? ?? UITableViewCell(style: .Default, reuseIdentifier: "cell")
111+
let cell = tableView.dequeueReusableCell(withIdentifier: "Cell") as UITableViewCell? ?? UITableViewCell(style: .default, reuseIdentifier: "Cell")
112112
cell.textLabel?.text = "Cell Text"
113113
return cell
114114
}

docs/images/cover-static.png

410 KB
Loading

0 commit comments

Comments
 (0)