diff options
author | Nicholas Tay <nick@windblume.net> | 2022-03-25 10:02:00 +1100 |
---|---|---|
committer | Nicholas Tay <nick@windblume.net> | 2022-03-25 10:02:00 +1100 |
commit | e963970c62bd9fb8007694143fb90ecaea198da2 (patch) | |
tree | 9abbd00e3c55a0985c0266caf4eab5400ed7a081 /foray/Scenes/ForayTableViewController.swift | |
parent | 1752ea7075939fb49dd72e0b8ea2accc2be1b02a (diff) | |
download | forayios-e963970c62bd9fb8007694143fb90ecaea198da2.tar.gz forayios-e963970c62bd9fb8007694143fb90ecaea198da2.tar.bz2 forayios-e963970c62bd9fb8007694143fb90ecaea198da2.zip |
ForayNewTableViewCell -> ForayTableViewCell
Diffstat (limited to '')
-rw-r--r-- | foray/Scenes/ForayTableViewController.swift | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/foray/Scenes/ForayTableViewController.swift b/foray/Scenes/ForayTableViewController.swift index baa0e6b..72d3569 100644 --- a/foray/Scenes/ForayTableViewController.swift +++ b/foray/Scenes/ForayTableViewController.swift @@ -30,7 +30,7 @@ class ForayTableViewController: UITableViewController, ForayCoordinated { tableView.rowHeight = UITableView.automaticDimension // Register our custom cell - tableView.register(ForayNewTableViewCell.self, forCellReuseIdentifier: "ForayNewTableViewCell") + tableView.register(ForayTableViewCell.self, forCellReuseIdentifier: "ForayTableViewCell") // Not sure if this is the right way to go about this... coordinator?.showLoading() @@ -85,7 +85,7 @@ class ForayTableViewController: UITableViewController, ForayCoordinated { icon = UIImage(named: "spy")! } - let cell: ForayNewTableViewCell = tableView.dequeueReusableCell(withIdentifier: "ForayNewTableViewCell", for: indexPath) as! ForayNewTableViewCell + let cell: ForayTableViewCell = tableView.dequeueReusableCell(withIdentifier: "ForayTableViewCell", for: indexPath) as! ForayTableViewCell cell.setData(name: item.name, desc: type + "ID: " + item.id, img: icon) return cell } |