Commit 3b30dab2 authored by Roddi Deecke's avatar Roddi Deecke Committed by Thomas Mellenthin

fix forces cast

parent ec14656c
......@@ -14,7 +14,6 @@ identifier_name:
disabled_rules:
- function_parameter_count
- line_length
- force_cast
- todo
- file_length
- function_body_length
......
......@@ -71,7 +71,9 @@ class HatcheryRootTableViewController: UITableViewController, HatcheryClientDele
}
override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let cell = tableView.dequeueReusableCell(withIdentifier: "HatcheryRootTableViewCell", for: indexPath) as! HatcheryRootTableViewCell
guard let cell = tableView.dequeueReusableCell(withIdentifier: "HatcheryRootTableViewCell", for: indexPath) as? HatcheryRootTableViewCell else {
preconditionFailure("wrong cell class!")
}
let eggForCell: HatcheryEgg
if isFiltering() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment