Skip to content

Commit

Permalink
Merge pull request #33 from yukiasai/fix/didEndDisplay
Browse files Browse the repository at this point in the history
Fix crashed when updating at row is removed.
  • Loading branch information
xai3 authored Sep 29, 2016
2 parents 2532b4b + 363842a commit b2ca296
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Row.swift
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ extension Row: RowDelegateType {

func didEndDisplayCell(_ tableView: UITableView, cell: UITableViewCell, indexPath: IndexPath) {
guard let genericCell = cell as? T else {
fatalError()
return
}
didEndDisplayCell?(genericCell, (self, tableView, indexPath))
}
Expand Down

0 comments on commit b2ca296

Please sign in to comment.