Skip to content

Commit 97ff0cd

Browse files
filipealvaIgnacio Romero Zurbuchen
authored andcommitted
Fix README inconsistency
The Obj-C example were different from the Swift one
1 parent 27087de commit 97ff0cd

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,9 +185,8 @@ Some layouts may require to show from bottom to top and new subviews are inserte
185185
```swift
186186
override func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
187187

188-
if let cell = tableView.dequeueReusableCellWithIdentifier(kAutoCompletionCellIdentifier) {
189-
cell.textLabel!.text = self.searchResult[indexPath.row]
190-
return cell
188+
if let cell = tableView.dequeueReusableCellWithIdentifier(kCellIdentifier) {
189+
cell.transform = self.tableView.transform
191190
}
192191
}
193192
```

0 commit comments

Comments
 (0)