From 1832e64ad7b9af906fddeaaa45e712796355ae02 Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Mon, 6 Feb 2023 21:27:04 -0500 Subject: [PATCH] Remove now-unused hashtag table view cell --- Tusker.xcodeproj/project.pbxproj | 8 ---- .../Hashtag Cell/HashtagTableViewCell.swift | 32 --------------- .../Hashtag Cell/HashtagTableViewCell.xib | 40 ------------------- 3 files changed, 80 deletions(-) delete mode 100644 Tusker/Views/Hashtag Cell/HashtagTableViewCell.swift delete mode 100644 Tusker/Views/Hashtag Cell/HashtagTableViewCell.xib diff --git a/Tusker.xcodeproj/project.pbxproj b/Tusker.xcodeproj/project.pbxproj index c1f6f59a39..64583840d5 100644 --- a/Tusker.xcodeproj/project.pbxproj +++ b/Tusker.xcodeproj/project.pbxproj @@ -41,8 +41,6 @@ D6114E1127F899B30080E273 /* TrendingLinksViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = D6114E1027F899B30080E273 /* TrendingLinksViewController.swift */; }; D6114E1327F89B440080E273 /* TrendingLinkTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = D6114E1227F89B440080E273 /* TrendingLinkTableViewCell.swift */; }; D6114E1727F8BB210080E273 /* VersionTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = D6114E1627F8BB210080E273 /* VersionTests.swift */; }; - D611C2CF232DC61100C86A49 /* HashtagTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = D611C2CD232DC61100C86A49 /* HashtagTableViewCell.swift */; }; - D611C2D0232DC61100C86A49 /* HashtagTableViewCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = D611C2CE232DC61100C86A49 /* HashtagTableViewCell.xib */; }; D61A45E628DC0F2F002BE511 /* ConfirmLoadMoreCollectionViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = D61A45E528DC0F2F002BE511 /* ConfirmLoadMoreCollectionViewCell.swift */; }; D61A45E828DF477D002BE511 /* LoadingCollectionViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = D61A45E728DF477D002BE511 /* LoadingCollectionViewCell.swift */; }; D61A45EA28DF51EE002BE511 /* TimelineLikeCollectionViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = D61A45E928DF51EE002BE511 /* TimelineLikeCollectionViewController.swift */; }; @@ -454,8 +452,6 @@ D6114E1027F899B30080E273 /* TrendingLinksViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TrendingLinksViewController.swift; sourceTree = ""; }; D6114E1227F89B440080E273 /* TrendingLinkTableViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TrendingLinkTableViewCell.swift; sourceTree = ""; }; D6114E1627F8BB210080E273 /* VersionTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = VersionTests.swift; sourceTree = ""; }; - D611C2CD232DC61100C86A49 /* HashtagTableViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HashtagTableViewCell.swift; sourceTree = ""; }; - D611C2CE232DC61100C86A49 /* HashtagTableViewCell.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = HashtagTableViewCell.xib; sourceTree = ""; }; D61A45E528DC0F2F002BE511 /* ConfirmLoadMoreCollectionViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ConfirmLoadMoreCollectionViewCell.swift; sourceTree = ""; }; D61A45E728DF477D002BE511 /* LoadingCollectionViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LoadingCollectionViewCell.swift; sourceTree = ""; }; D61A45E928DF51EE002BE511 /* TimelineLikeCollectionViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TimelineLikeCollectionViewController.swift; sourceTree = ""; }; @@ -859,8 +855,6 @@ D611C2CC232DC5FC00C86A49 /* Hashtag Cell */ = { isa = PBXGroup; children = ( - D611C2CD232DC61100C86A49 /* HashtagTableViewCell.swift */, - D611C2CE232DC61100C86A49 /* HashtagTableViewCell.xib */, D6E77D08286D25FA00D8B732 /* TrendingHashtagCollectionViewCell.swift */, ); path = "Hashtag Cell"; @@ -1852,7 +1846,6 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( - D611C2D0232DC61100C86A49 /* HashtagTableViewCell.xib in Resources */, D6E77D0D286E6B7300D8B732 /* TrendingLinkCardCollectionViewCell.xib in Resources */, D693A73025CF91C6003A14E2 /* FeaturedProfileCollectionViewCell.xib in Resources */, D61AC1D9232EA42D00C54D2D /* InstanceTableViewCell.xib in Resources */, @@ -2002,7 +1995,6 @@ 0411610022B442870030A9B7 /* LoadingLargeImageViewController.swift in Sources */, D6A4DCE525537C7A00D9DE31 /* FastSwitchingAccountView.swift in Sources */, D6A4DCCC2553667800D9DE31 /* FastAccountSwitcherViewController.swift in Sources */, - D611C2CF232DC61100C86A49 /* HashtagTableViewCell.swift in Sources */, D627944F23A9C99800D38C68 /* EditListAccountsViewController.swift in Sources */, D6945C3423AC6431005C403C /* AddSavedHashtagViewController.swift in Sources */, D6F6A552291F098700F496A8 /* RenameListService.swift in Sources */, diff --git a/Tusker/Views/Hashtag Cell/HashtagTableViewCell.swift b/Tusker/Views/Hashtag Cell/HashtagTableViewCell.swift deleted file mode 100644 index 3a9008cf84..0000000000 --- a/Tusker/Views/Hashtag Cell/HashtagTableViewCell.swift +++ /dev/null @@ -1,32 +0,0 @@ -// -// HashtagTableViewCell.swift -// Tusker -// -// Created by Shadowfacts on 9/14/19. -// Copyright © 2019 Shadowfacts. All rights reserved. -// - -import UIKit -import Pachyderm - -class HashtagTableViewCell: UITableViewCell { - - weak var delegate: TuskerNavigationDelegate? - - @IBOutlet weak var hashtagLabel: UILabel! - - var hashtag: Hashtag! - - func updateUI(hashtag: Hashtag) { - self.hashtag = hashtag - - hashtagLabel.text = "#\(hashtag.name)" - } - -} - -extension HashtagTableViewCell: SelectableTableViewCell { - func didSelectCell() { - delegate?.selected(tag: hashtag) - } -} diff --git a/Tusker/Views/Hashtag Cell/HashtagTableViewCell.xib b/Tusker/Views/Hashtag Cell/HashtagTableViewCell.xib deleted file mode 100644 index 4f5127081d..0000000000 --- a/Tusker/Views/Hashtag Cell/HashtagTableViewCell.xib +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -