aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Tay <nick@windblume.net>2022-03-25 10:02:00 +1100
committerNicholas Tay <nick@windblume.net>2022-03-25 10:02:00 +1100
commite963970c62bd9fb8007694143fb90ecaea198da2 (patch)
tree9abbd00e3c55a0985c0266caf4eab5400ed7a081
parent1752ea7075939fb49dd72e0b8ea2accc2be1b02a (diff)
downloadforayios-e963970c62bd9fb8007694143fb90ecaea198da2.tar.gz
forayios-e963970c62bd9fb8007694143fb90ecaea198da2.tar.bz2
forayios-e963970c62bd9fb8007694143fb90ecaea198da2.zip
ForayNewTableViewCell -> ForayTableViewCell
-rw-r--r--foray.xcodeproj/project.pbxproj8
-rw-r--r--foray/Scenes/ForayTableViewCell.swift (renamed from foray/Scenes/ForayNewTableViewCell.swift)2
-rw-r--r--foray/Scenes/ForayTableViewController.swift4
3 files changed, 7 insertions, 7 deletions
diff --git a/foray.xcodeproj/project.pbxproj b/foray.xcodeproj/project.pbxproj
index 0480143..3d24015 100644
--- a/foray.xcodeproj/project.pbxproj
+++ b/foray.xcodeproj/project.pbxproj
@@ -16,7 +16,7 @@
C04B45AD27DEF118001451A3 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = C04B45AC27DEF118001451A3 /* Assets.xcassets */; };
C04B45B827DEF2ED001451A3 /* ForayTableViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = C04B45B727DEF2ED001451A3 /* ForayTableViewController.swift */; };
C04EDE4227E428AB00D83005 /* SnapKit in Frameworks */ = {isa = PBXBuildFile; productRef = C04EDE4127E428AB00D83005 /* SnapKit */; };
- C04EDE4427E4298D00D83005 /* ForayNewTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = C04EDE4327E4298D00D83005 /* ForayNewTableViewCell.swift */; };
+ C04EDE4427E4298D00D83005 /* ForayTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = C04EDE4327E4298D00D83005 /* ForayTableViewCell.swift */; };
C09676BA27E86B6E00353D46 /* ForayLoadingOverlay.swift in Sources */ = {isa = PBXBuildFile; fileRef = C09676B927E86B6E00353D46 /* ForayLoadingOverlay.swift */; };
C09676BC27EC27E700353D46 /* UIViewController+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = C09676BB27EC27E700353D46 /* UIViewController+Extensions.swift */; };
C09676BE27EC28B100353D46 /* ForayDetailView.swift in Sources */ = {isa = PBXBuildFile; fileRef = C09676BD27EC28B100353D46 /* ForayDetailView.swift */; };
@@ -36,7 +36,7 @@
C04B45AC27DEF118001451A3 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
C04B45B127DEF118001451A3 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
C04B45B727DEF2ED001451A3 /* ForayTableViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ForayTableViewController.swift; sourceTree = "<group>"; };
- C04EDE4327E4298D00D83005 /* ForayNewTableViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ForayNewTableViewCell.swift; sourceTree = "<group>"; };
+ C04EDE4327E4298D00D83005 /* ForayTableViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ForayTableViewCell.swift; sourceTree = "<group>"; };
C09676B927E86B6E00353D46 /* ForayLoadingOverlay.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ForayLoadingOverlay.swift; sourceTree = "<group>"; };
C09676BB27EC27E700353D46 /* UIViewController+Extensions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "UIViewController+Extensions.swift"; sourceTree = "<group>"; };
C09676BD27EC28B100353D46 /* ForayDetailView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ForayDetailView.swift; sourceTree = "<group>"; };
@@ -94,7 +94,7 @@
isa = PBXGroup;
children = (
C04B45B727DEF2ED001451A3 /* ForayTableViewController.swift */,
- C04EDE4327E4298D00D83005 /* ForayNewTableViewCell.swift */,
+ C04EDE4327E4298D00D83005 /* ForayTableViewCell.swift */,
C0FEAF5E27E14C52000A7648 /* ForayDetailViewController.swift */,
C09676BD27EC28B100353D46 /* ForayDetailView.swift */,
C09676B927E86B6E00353D46 /* ForayLoadingOverlay.swift */,
@@ -226,7 +226,7 @@
C04B45B827DEF2ED001451A3 /* ForayTableViewController.swift in Sources */,
C0FEAF5F27E14C52000A7648 /* ForayDetailViewController.swift in Sources */,
C0C73E6427EC3A650015497D /* PenguinItemViewModel.swift in Sources */,
- C04EDE4427E4298D00D83005 /* ForayNewTableViewCell.swift in Sources */,
+ C04EDE4427E4298D00D83005 /* ForayTableViewCell.swift in Sources */,
C09676BC27EC27E700353D46 /* UIViewController+Extensions.swift in Sources */,
C04B45A427DEF117001451A3 /* AppDelegate.swift in Sources */,
C09676BA27E86B6E00353D46 /* ForayLoadingOverlay.swift in Sources */,
diff --git a/foray/Scenes/ForayNewTableViewCell.swift b/foray/Scenes/ForayTableViewCell.swift
index 224709a..3849169 100644
--- a/foray/Scenes/ForayNewTableViewCell.swift
+++ b/foray/Scenes/ForayTableViewCell.swift
@@ -8,7 +8,7 @@
import UIKit
import SnapKit
-class ForayNewTableViewCell: UITableViewCell {
+class ForayTableViewCell: UITableViewCell {
let container: UIView = UIView()
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
}