From 981d12f23eb26f0594f4967f99535468525e7817 Mon Sep 17 00:00:00 2001 From: MINJAE KIM Date: Thu, 19 Oct 2023 17:00:11 +0900 Subject: [PATCH] =?UTF-8?q?[DEL]=20=EB=B6=88=ED=95=84=EC=9A=94=ED=95=9C=20?= =?UTF-8?q?=ED=8C=8C=EC=9D=BC=20=EC=82=AD=EC=A0=9C=20(#155)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../LionHeart-iOS.xcodeproj/project.pbxproj | 8 ----- .../Adaptor/CurriculumListAdaptor.swift | 30 ------------------- .../CurriculumListCoordinator.swift | 15 ---------- 3 files changed, 53 deletions(-) delete mode 100644 LionHeart-iOS/LionHeart-iOS/Scenes/Adaptor/CurriculumListAdaptor.swift delete mode 100644 LionHeart-iOS/LionHeart-iOS/Scenes/Coordinator/CoordinatorInterface/CurriculumListCoordinator.swift diff --git a/LionHeart-iOS/LionHeart-iOS.xcodeproj/project.pbxproj b/LionHeart-iOS/LionHeart-iOS.xcodeproj/project.pbxproj index 4a9520e9..d043e9ee 100644 --- a/LionHeart-iOS/LionHeart-iOS.xcodeproj/project.pbxproj +++ b/LionHeart-iOS/LionHeart-iOS.xcodeproj/project.pbxproj @@ -54,9 +54,7 @@ B53F4EE72ADBC29F001C5752 /* CurriculumFactoryImpl.swift in Sources */ = {isa = PBXBuildFile; fileRef = B53F4EE62ADBC29F001C5752 /* CurriculumFactoryImpl.swift */; }; B53F4EE92ADBC44B001C5752 /* CurriculumArticleByWeekControllerable.swift in Sources */ = {isa = PBXBuildFile; fileRef = B53F4EE82ADBC44B001C5752 /* CurriculumArticleByWeekControllerable.swift */; }; B53F4EEE2ADE245B001C5752 /* CurriculumAdaptor.swift in Sources */ = {isa = PBXBuildFile; fileRef = B53F4EED2ADE245B001C5752 /* CurriculumAdaptor.swift */; }; - B53F4EF02ADE2630001C5752 /* CurriculumListAdaptor.swift in Sources */ = {isa = PBXBuildFile; fileRef = B53F4EEF2ADE2630001C5752 /* CurriculumListAdaptor.swift */; }; B53F4EF22ADE2687001C5752 /* CurriculumCoordinatorImpl.swift in Sources */ = {isa = PBXBuildFile; fileRef = B53F4EF12ADE2687001C5752 /* CurriculumCoordinatorImpl.swift */; }; - B53F4EF42ADE28FB001C5752 /* CurriculumListCoordinator.swift in Sources */ = {isa = PBXBuildFile; fileRef = B53F4EF32ADE28FB001C5752 /* CurriculumListCoordinator.swift */; }; B53F4EF62ADE2DEB001C5752 /* ChallengeAdaptor.swift in Sources */ = {isa = PBXBuildFile; fileRef = B53F4EF52ADE2DEB001C5752 /* ChallengeAdaptor.swift */; }; B53F4EF82ADE2FB0001C5752 /* ChallengeCoordinatorImpl.swift in Sources */ = {isa = PBXBuildFile; fileRef = B53F4EF72ADE2FB0001C5752 /* ChallengeCoordinatorImpl.swift */; }; B53F4EFA2ADE3151001C5752 /* BookmarkAdaptor.swift in Sources */ = {isa = PBXBuildFile; fileRef = B53F4EF92ADE3151001C5752 /* BookmarkAdaptor.swift */; }; @@ -377,9 +375,7 @@ B53F4EE62ADBC29F001C5752 /* CurriculumFactoryImpl.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CurriculumFactoryImpl.swift; sourceTree = ""; }; B53F4EE82ADBC44B001C5752 /* CurriculumArticleByWeekControllerable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CurriculumArticleByWeekControllerable.swift; sourceTree = ""; }; B53F4EED2ADE245B001C5752 /* CurriculumAdaptor.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CurriculumAdaptor.swift; sourceTree = ""; }; - B53F4EEF2ADE2630001C5752 /* CurriculumListAdaptor.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CurriculumListAdaptor.swift; sourceTree = ""; }; B53F4EF12ADE2687001C5752 /* CurriculumCoordinatorImpl.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CurriculumCoordinatorImpl.swift; sourceTree = ""; }; - B53F4EF32ADE28FB001C5752 /* CurriculumListCoordinator.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CurriculumListCoordinator.swift; sourceTree = ""; }; B53F4EF52ADE2DEB001C5752 /* ChallengeAdaptor.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ChallengeAdaptor.swift; sourceTree = ""; }; B53F4EF72ADE2FB0001C5752 /* ChallengeCoordinatorImpl.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ChallengeCoordinatorImpl.swift; sourceTree = ""; }; B53F4EF92ADE3151001C5752 /* BookmarkAdaptor.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BookmarkAdaptor.swift; sourceTree = ""; }; @@ -1446,7 +1442,6 @@ children = ( C04BE3AE2ADD4F7F001967B5 /* TodayAdaptor.swift */, B53F4EED2ADE245B001C5752 /* CurriculumAdaptor.swift */, - B53F4EEF2ADE2630001C5752 /* CurriculumListAdaptor.swift */, B53F4EF52ADE2DEB001C5752 /* ChallengeAdaptor.swift */, B53F4EF92ADE3151001C5752 /* BookmarkAdaptor.swift */, ); @@ -1463,7 +1458,6 @@ C003CC242AD9184700AFFAAC /* TabbbarCoordinator.swift */, C003CC262AD9185A00AFFAAC /* ArticleCategoryCoordinator.swift */, C003CC282AD9186B00AFFAAC /* CurriculumCoordinator.swift */, - B53F4EF32ADE28FB001C5752 /* CurriculumListCoordinator.swift */, C003CC2A2AD9187B00AFFAAC /* ChallengeCoordinator.swift */, C003CC2C2AD9189100AFFAAC /* BookmarkCoordinator.swift */, C003CC2E2AD9189F00AFFAAC /* MypageCoordinator.swift */, @@ -2011,7 +2005,6 @@ C003CC6A2ADA51C000AFFAAC /* MyPageManager.swift in Sources */, 4A3D72872A5D405C00A36189 /* BookmarkListCollectionViewCell.swift in Sources */, C003CC622ADA50C000AFFAAC /* TodayManager.swift in Sources */, - B53F4EF42ADE28FB001C5752 /* CurriculumListCoordinator.swift in Sources */, C0903CFF2AAAD7E00014786F /* APIService.swift in Sources */, F41A97A12A5D4F2500DFF9F3 /* CurriculumTableViewHeaderView.swift in Sources */, 4A2050152A5DCD1900C7AF3C /* UICollectionView+.swift in Sources */, @@ -2108,7 +2101,6 @@ C003CC642ADA50ED00AFFAAC /* BookmarkManager.swift in Sources */, C065F0032ADBD2270094912C /* AuthFactoryImpl.swift in Sources */, C0DF033D2A5A95420037F740 /* UIStackView+.swift in Sources */, - B53F4EF02ADE2630001C5752 /* CurriculumListAdaptor.swift in Sources */, 4A8980CC2A61795500746C58 /* MyPageHeaderView.swift in Sources */, C0B15E1F2AC024F20058D56B /* CurriculumTableView.swift in Sources */, C0DF03AB2A5D73C80037F740 /* NHOnboardingTextfield.swift in Sources */, diff --git a/LionHeart-iOS/LionHeart-iOS/Scenes/Adaptor/CurriculumListAdaptor.swift b/LionHeart-iOS/LionHeart-iOS/Scenes/Adaptor/CurriculumListAdaptor.swift deleted file mode 100644 index 68b8e7e4..00000000 --- a/LionHeart-iOS/LionHeart-iOS/Scenes/Adaptor/CurriculumListAdaptor.swift +++ /dev/null @@ -1,30 +0,0 @@ -// -// CurriculumListAdaptor.swift -// LionHeart-iOS -// -// Created by 김민재 on 10/17/23. -// - -import Foundation - - -final class CurriculumListAdaptor: CurriculumListByWeekNavigation { - - let coordinator: CurriculumListCoordinator - - init(coordinator: CurriculumListCoordinator) { - self.coordinator = coordinator - } - - func curriculumArticleListCellTapped(articleId: Int) { - self.coordinator.showArticleDetailViewController(articleId: articleId) - } - - func backButtonTapped() { - self.coordinator.pop() - } - - func checkTokenIsExpired() { - self.coordinator.exitApplication() - } -} diff --git a/LionHeart-iOS/LionHeart-iOS/Scenes/Coordinator/CoordinatorInterface/CurriculumListCoordinator.swift b/LionHeart-iOS/LionHeart-iOS/Scenes/Coordinator/CoordinatorInterface/CurriculumListCoordinator.swift deleted file mode 100644 index 24d73769..00000000 --- a/LionHeart-iOS/LionHeart-iOS/Scenes/Coordinator/CoordinatorInterface/CurriculumListCoordinator.swift +++ /dev/null @@ -1,15 +0,0 @@ -// -// CurriculumListCoordinator.swift -// LionHeart-iOS -// -// Created by 김민재 on 10/17/23. -// - -import Foundation - - -protocol CurriculumListCoordinator: Coordinator { - func showArticleDetailViewController(articleId: Int) - func pop() - func exitApplication() -}