Skip to content

Commit ce2de67

Browse files
darrensapalokzaher
authored andcommitted
Added types on the configure cell
1 parent 896bced commit ce2de67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ let dataSource = RxTableViewSectionedReloadDataSource<SectionOfCustomData>()
9797
- etc
9898

9999
```swift
100-
dataSource.configureCell = { ds, tv, ip, item in
100+
dataSource.configureCell = { (ds: RxTableViewSectionedReloadDataSource<SectionOfCustomData>, tv: UITableView, ip: IndexPath, item: Item) in
101101
let cell = tv.dequeueReusableCell(withIdentifier: "Cell", for: ip)
102102
cell.textLabel?.text = "Item \(item.anInt): \(item.aString) - \(item.aCGPoint.x):\(item.aCGPoint.y)"
103103
return cell

0 commit comments

Comments
 (0)