Skip to content

Commit

Permalink
[196]不要なimport削除
Browse files Browse the repository at this point in the history
  • Loading branch information
akidon0000 authored and akidon0000 committed Sep 21, 2024
1 parent d939f91 commit 3d465f5
Show file tree
Hide file tree
Showing 36 changed files with 125 additions and 118 deletions.
9 changes: 3 additions & 6 deletions Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ abstract_target 'All' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
inhibit_all_warnings!


pod 'APIKit' , '~> 5'
pod 'Kanna' , '~> 5'
pod 'R.swift' , '~> 7'
pod 'RxCocoa' , '~> 6'
pod 'RxGesture' , '~> 4'
Expand All @@ -19,11 +21,6 @@ abstract_target 'All' do
target 'univIP' do
end

target 'Features' do
pod 'APIKit' , '~> 5'
pod 'Kanna' , '~> 5'
end

target 'univIPTests' do
inherit! :search_paths
end
Expand Down
4 changes: 2 additions & 2 deletions Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@ SPEC CHECKSUMS:
RxRelay: 45eaa5db8ee4fb50e5ebd57deec0159e97fa51e6
RxSwift: a4b44f7d24599f674deebd1818eab82e58410632

PODFILE CHECKSUM: 887c7c6b279b9fdab6afb1b01f895f53c8c33205
PODFILE CHECKSUM: 04058d42c6658d2f7c18cb436a43b85af1415adf

COCOAPODS: 1.14.3
COCOAPODS: 1.15.2
54 changes: 54 additions & 0 deletions univIP.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,33 @@
/* Begin PBXBuildFile section */
15768A932C9DDE70006F81C1 /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 15768A922C9DDE70006F81C1 /* GoogleService-Info.plist */; };
15768A952C9DE129006F81C1 /* GoogleService-Info.template.plist in Resources */ = {isa = PBXBuildFile; fileRef = 15768A942C9DE129006F81C1 /* GoogleService-Info.template.plist */; };
15C670032C9E6AD2004AC48A /* AKLibrary.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1A41EAE2272914CC0064CDB7 /* AKLibrary.swift */; };
15C670042C9E6AD2004AC48A /* DateFormatter+Exetnsion.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1A6EF50E27BA5C63004D0B2C /* DateFormatter+Exetnsion.swift */; };
15C670052C9E6AD2004AC48A /* String+Exetnsion.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1A556D912963BD4B00A650B2 /* String+Exetnsion.swift */; };
15C670062C9E6AD2004AC48A /* UIColor+Exetnsion.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1ADE675D2A77A13E00B79D69 /* UIColor+Exetnsion.swift */; };
15C670072C9E6AD2004AC48A /* UIImageView+Exetnsion.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1A30D0B128F6ED2E00C4012E /* UIImageView+Exetnsion.swift */; };
15C670082C9E6AD2004AC48A /* CustomDuoButton.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1A9A15722BA41DE7008BB77E /* CustomDuoButton.swift */; };
15C670092C9E6ADE004AC48A /* ActivityIndicatorState.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1A3B75B22A93BBAF00E96B60 /* ActivityIndicatorState.swift */; };
15C6700A2C9E6ADE004AC48A /* AdItem.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1A1A4E102A09FE75003A343B /* AdItem.swift */; };
15C6700B2C9E6ADE004AC48A /* AdItems.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1A11C4002A971C3500D95122 /* AdItems.swift */; };
15C6700C2C9E6ADE004AC48A /* CreditItemModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1A11C3DB2A952B7400D95122 /* CreditItemModel.swift */; };
15C6700D2C9E6ADE004AC48A /* HomeEventInfos.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1AD8E6C52A9DA153001EF99F /* HomeEventInfos.swift */; };
15C6700E2C9E6ADE004AC48A /* HomeMiniSettingsItem.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1A58F67A2A85551E0025737A /* HomeMiniSettingsItem.swift */; };
15C6700F2C9E6ADE004AC48A /* MenuDetailItem.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1A58F6762A8532520025737A /* MenuDetailItem.swift */; };
15C670102C9E6ADE004AC48A /* MenuItem.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1A085CEB2A694AD200D31183 /* MenuItem.swift */; };
15C670112C9E6ADE004AC48A /* NewsItemModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1AE816B72A836D9F00B8DA64 /* NewsItemModel.swift */; };
15C670122C9E6ADE004AC48A /* SettingsItem.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1A085CED2A694B9300D31183 /* SettingsItem.swift */; };
15C670132C9E6ADE004AC48A /* UnivAuth.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1AED5D052A90C2DB0090B8DE /* UnivAuth.swift */; };
15C670142C9E6ADE004AC48A /* WebScrapeError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1A762FCD2A93947200F60DFA /* WebScrapeError.swift */; };
15C670152C9E6AE4004AC48A /* AdItemsAPI.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1A3A75F92916792600069818 /* AdItemsAPI.swift */; };
15C670162C9E6AE4004AC48A /* CurrentTermVersionAPI.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1A0230182A8F96490084DD0B /* CurrentTermVersionAPI.swift */; };
15C670172C9E6AE4004AC48A /* GenericAPI.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1A762FCA2A9381D900F60DFA /* GenericAPI.swift */; };
15C670182C9E6AE4004AC48A /* HelpmessegeAgreeAPI.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1AED5D0E2A9119180090B8DE /* HelpmessegeAgreeAPI.swift */; };
15C670192C9E6AE4004AC48A /* HomeEventInfosAPI.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1AD8E6C12A9DA038001EF99F /* HomeEventInfosAPI.swift */; };
15C6701A2C9E6AE4004AC48A /* LibraryCalendarWebScraper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1A6A0C602A8B1DD500342186 /* LibraryCalendarWebScraper.swift */; };
15C6701B2C9E6AE4004AC48A /* NewsItemsRSS.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1AE816BE2A838C0100B8DA64 /* NewsItemsRSS.swift */; };
15C6701C2C9E6AE4004AC48A /* NumberOfUsersAPI.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1A0230162A8F94680084DD0B /* NumberOfUsersAPI.swift */; };
15C6701D2C9E6AE4004AC48A /* TermTextAPI.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1A02301A2A8F98BF0084DD0B /* TermTextAPI.swift */; };
1A11C3D12A95240500D95122 /* CreditsRouter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1A11C3D02A95240500D95122 /* CreditsRouter.swift */; };
1A11C3D32A9524DA00D95122 /* CreditsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1A11C3D22A9524DA00D95122 /* CreditsViewController.swift */; };
1A11C3D52A95251D00D95122 /* CreditsViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1A11C3D42A95251D00D95122 /* CreditsViewModel.swift */; };
Expand Down Expand Up @@ -921,6 +948,33 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
15C670152C9E6AE4004AC48A /* AdItemsAPI.swift in Sources */,
15C670162C9E6AE4004AC48A /* CurrentTermVersionAPI.swift in Sources */,
15C670172C9E6AE4004AC48A /* GenericAPI.swift in Sources */,
15C670182C9E6AE4004AC48A /* HelpmessegeAgreeAPI.swift in Sources */,
15C670192C9E6AE4004AC48A /* HomeEventInfosAPI.swift in Sources */,
15C6701A2C9E6AE4004AC48A /* LibraryCalendarWebScraper.swift in Sources */,
15C6701B2C9E6AE4004AC48A /* NewsItemsRSS.swift in Sources */,
15C6701C2C9E6AE4004AC48A /* NumberOfUsersAPI.swift in Sources */,
15C6701D2C9E6AE4004AC48A /* TermTextAPI.swift in Sources */,
15C670092C9E6ADE004AC48A /* ActivityIndicatorState.swift in Sources */,
15C6700A2C9E6ADE004AC48A /* AdItem.swift in Sources */,
15C6700B2C9E6ADE004AC48A /* AdItems.swift in Sources */,
15C6700C2C9E6ADE004AC48A /* CreditItemModel.swift in Sources */,
15C6700D2C9E6ADE004AC48A /* HomeEventInfos.swift in Sources */,
15C6700E2C9E6ADE004AC48A /* HomeMiniSettingsItem.swift in Sources */,
15C6700F2C9E6ADE004AC48A /* MenuDetailItem.swift in Sources */,
15C670102C9E6ADE004AC48A /* MenuItem.swift in Sources */,
15C670112C9E6ADE004AC48A /* NewsItemModel.swift in Sources */,
15C670122C9E6ADE004AC48A /* SettingsItem.swift in Sources */,
15C670132C9E6ADE004AC48A /* UnivAuth.swift in Sources */,
15C670142C9E6ADE004AC48A /* WebScrapeError.swift in Sources */,
15C670032C9E6AD2004AC48A /* AKLibrary.swift in Sources */,
15C670042C9E6AD2004AC48A /* DateFormatter+Exetnsion.swift in Sources */,
15C670052C9E6AD2004AC48A /* String+Exetnsion.swift in Sources */,
15C670062C9E6AD2004AC48A /* UIColor+Exetnsion.swift in Sources */,
15C670072C9E6AD2004AC48A /* UIImageView+Exetnsion.swift in Sources */,
15C670082C9E6AD2004AC48A /* CustomDuoButton.swift in Sources */,
1A2B04CC2AAF5DEF0085188A /* ThirdPartyCreditCell.swift in Sources */,
1A2B04D02AAF5DEF0085188A /* UnivNewsTableCell.swift in Sources */,
1A2B04D42AAF5DEF0085188A /* UnivBannerView.swift in Sources */,
Expand Down
2 changes: 0 additions & 2 deletions univIP/Common/AppConstants.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
// Created by Akihiro Matsuyama on 2023/09/17.
//

import Entity

struct AppConstants {

public let menuItems: [MenuItem]
Expand Down
1 change: 0 additions & 1 deletion univIP/Features/AdItemsAPI.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

import APIKit
import RxSwift
import Entity

/// AdItemはPRアイテムとUnivアイテムで使用する
/// PRアイテムは大学生が大学生に向けて告知したい内容。比較的掲載が簡単
Expand Down
1 change: 0 additions & 1 deletion univIP/Features/HomeEventInfosAPI.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

import APIKit
import RxSwift
import Entity

protocol HomeEventInfosAPIInterface {
func getHomeEventInfos() -> Single<HomeEventInfosGetRequest.Response>
Expand Down
1 change: 0 additions & 1 deletion univIP/Features/LibraryCalendarWebScraper.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

import Kanna
import RxSwift
import Entity

protocol LibraryCalendarWebScraperInterface {
func getLibraryCalendarURL(libraryUrl: URL) -> Single<URLRequest>
Expand Down
1 change: 0 additions & 1 deletion univIP/Features/NewsItemsRSS.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

import Kanna
import RxSwift
import Entity

protocol NewsItemsRSSInterface {
func getNewsItems() -> Single<[NewsItemModel]>
Expand Down
1 change: 0 additions & 1 deletion univIP/Module/Agreement/AgreementRouter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
//

import Foundation
import Features

enum AgreementNavigationDestination {
case goWeb(URLRequest)
Expand Down
2 changes: 0 additions & 2 deletions univIP/Module/Agreement/AgreementViewModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
import Foundation
import RxRelay
import RxSwift
import Features
import AkidonComponents

protocol AgreementViewModelInterface: AnyObject {
var input: AgreementViewModel.Input { get }
Expand Down
1 change: 0 additions & 1 deletion univIP/Module/Credits/CreditsViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

import UIKit
import RxSwift
import Entity

final class CreditsViewController: UIViewController {
@IBOutlet var tableView: UITableView!
Expand Down
2 changes: 0 additions & 2 deletions univIP/Module/Credits/CreditsViewModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
import Foundation
import RxRelay
import RxSwift
import Entity
import AkidonComponents

protocol CreditsViewModelInterface: AnyObject {
var input: CreditsViewModel.Input { get }
Expand Down
1 change: 0 additions & 1 deletion univIP/Module/Credits/ThirdPartyCreditCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
//

import UIKit
import Entity
import NorthLayout

final class ThirdPartyCreditCell: UITableViewCell {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
//

import UIKit
import Features

enum HelpmessageAgreeNavigationDestination {
case back
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import Foundation
import RxRelay
import RxSwift
import Features

protocol HelpmessageAgreeViewModelInterface: AnyObject {
var input: HelpmessageAgreeViewModel.Input { get }
Expand Down
1 change: 0 additions & 1 deletion univIP/Module/Home/Banner/BannerScrollViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
//

import UIKit
import Entity

protocol BannerScrollViewControllerDelegate: AnyObject {
/// pageIndexが変わったときに呼ばれる
Expand Down
1 change: 0 additions & 1 deletion univIP/Module/Home/Banner/UnivNewsTableCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
//

import UIKit
import Entity
import NorthLayout

final class UnivNewsTableCell: UITableViewCell {
Expand Down
1 change: 0 additions & 1 deletion univIP/Module/Home/HomeMenuCollectionCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
//

import UIKit
import Entity
import NorthLayout

final class HomeMenuCollectionCell: UICollectionViewCell {
Expand Down
2 changes: 0 additions & 2 deletions univIP/Module/Home/HomeRouter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
//

import Foundation
import Entity
import Features

enum HomeNavigationDestination {
case goWeb(URLRequest)
Expand Down
2 changes: 0 additions & 2 deletions univIP/Module/Home/HomeViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
import UIKit
import WebKit
import RxSwift
import Entity
import AkidonComponents

final class HomeViewController: UIViewController {
@IBOutlet private weak var numberOfUsersLabel: UILabel!
Expand Down
3 changes: 0 additions & 3 deletions univIP/Module/Home/HomeViewModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
import Foundation
import RxRelay
import RxSwift
import Entity
import Features
import AkidonComponents

protocol HomeViewModelInterface: AnyObject {
var input: HomeViewModel.Input { get }
Expand Down
1 change: 0 additions & 1 deletion univIP/Module/Input/InputViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import UIKit
import RxSwift
import RxGesture
import AkidonComponents

final class InputViewController: UIViewController {
@IBOutlet private weak var titleLabel1: UILabel!
Expand Down
1 change: 0 additions & 1 deletion univIP/Module/Input/InputViewModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import Foundation
import RxRelay
import RxSwift
import Entity

protocol InputViewModelInterface: AnyObject {
var input: InputViewModel.Input { get }
Expand Down
1 change: 0 additions & 1 deletion univIP/Module/News/NewsRouter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
//

import Foundation
import Features

enum NewsNavigationDestination {
case goWeb(URLRequest)
Expand Down
1 change: 0 additions & 1 deletion univIP/Module/News/NewsViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

import UIKit
import RxSwift
import Entity

class NewsViewController: UIViewController {
private var tableView = UITableView()
Expand Down
3 changes: 0 additions & 3 deletions univIP/Module/News/NewsViewModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
import Foundation
import RxRelay
import RxSwift
import Entity
import Features
import AkidonComponents

protocol NewsViewModelInterface: AnyObject {
var input: NewsViewModel.Input { get }
Expand Down
1 change: 0 additions & 1 deletion univIP/Module/PRDetail/PRRouter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
//

import Foundation
import Entity

enum PRNavigationDestination {
case goWeb(URLRequest)
Expand Down
1 change: 0 additions & 1 deletion univIP/Module/PRDetail/PRViewModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import Foundation
import RxRelay
import RxSwift
import Entity

protocol PRViewModelInterface: AnyObject {
var input: PRViewModel.Input { get }
Expand Down
1 change: 0 additions & 1 deletion univIP/Module/Splash/SplashRouter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
//

import Foundation
import Features

enum SplashNavigationDestination {
case agree(String)
Expand Down
1 change: 0 additions & 1 deletion univIP/Module/Splash/SplashViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import UIKit
import WebKit
import RxSwift
import Entity
import NorthLayout

final class SplashViewController: UIViewController {
Expand Down
3 changes: 0 additions & 3 deletions univIP/Module/Splash/SplashViewModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
import Foundation
import RxRelay
import RxSwift
import Entity
import Features
import AkidonComponents

protocol SplashViewModelInterface: AnyObject {
var input: SplashViewModel.Input { get }
Expand Down
1 change: 0 additions & 1 deletion univIP/Module/Web/WebViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import UIKit
import WebKit
import RxSwift
import StoreKit
import Entity

final class WebViewController: UIViewController {
@IBOutlet private weak var closeButton: UIButton!
Expand Down
2 changes: 0 additions & 2 deletions univIP/Module/Web/WebViewModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
import Foundation
import RxRelay
import RxSwift
import Entity
import AkidonComponents

protocol WebViewModelInterface: AnyObject {
var input: WebViewModel.Input { get }
Expand Down
Loading

0 comments on commit 3d465f5

Please sign in to comment.