From e811d4a56012a05f23f4f7514335aaee09e38b24 Mon Sep 17 00:00:00 2001 From: mattbarker016 Date: Wed, 26 Sep 2018 22:01:46 -0400 Subject: [PATCH] Improved file hierarchy --- TCAT.xcodeproj/project.pbxproj | 8 ++++---- TCAT/AppDelegate.swift | 4 ++-- {Build-Phases => TCAT/Supporting Files}/fabric-config.sh | 0 TCAT/{ => Utilities}/EventPayload.swift | 0 4 files changed, 6 insertions(+), 6 deletions(-) rename {Build-Phases => TCAT/Supporting Files}/fabric-config.sh (100%) rename TCAT/{ => Utilities}/EventPayload.swift (100%) diff --git a/TCAT.xcodeproj/project.pbxproj b/TCAT.xcodeproj/project.pbxproj index 6eefe8ae..b2ddb1f1 100644 --- a/TCAT.xcodeproj/project.pbxproj +++ b/TCAT.xcodeproj/project.pbxproj @@ -154,7 +154,7 @@ D183AA011E6CB092006A9A15 /* Extensions.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = Extensions.swift; path = Utilities/Extensions.swift; sourceTree = ""; }; D94BD2FC2159993D00C9214E /* Keys.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Keys.plist; path = "Supporting Files/Keys.plist"; sourceTree = ""; }; D94BD2FE2159994400C9214E /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = "GoogleService-Info.plist"; path = "Supporting Files/GoogleService-Info.plist"; sourceTree = ""; }; - D94BD30021599E3200C9214E /* EventPayload.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = EventPayload.swift; sourceTree = ""; }; + D94BD30021599E3200C9214E /* EventPayload.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = EventPayload.swift; path = Utilities/EventPayload.swift; sourceTree = ""; }; DC2E96431FBF41CB009955C6 /* FavoritesTableViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = FavoritesTableViewController.swift; path = Controllers/FavoritesTableViewController.swift; sourceTree = ""; }; DC2E96451FC21B29009955C6 /* HeaderView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = HeaderView.swift; path = Views/HeaderView.swift; sourceTree = ""; }; DCB7170F1FB76EA600BE4D26 /* AllStopsTableViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = AllStopsTableViewController.swift; path = Controllers/AllStopsTableViewController.swift; sourceTree = ""; }; @@ -313,10 +313,10 @@ children = ( DD99E2F51F6DB06A0073E8F7 /* Constants.swift */, BFCA712C206AC69000E4CCE5 /* Keys.swift */, - 449A7C841D80D0E80019300C /* Info.plist */, - E34490CC1F8EEFFF0064D284 /* SFText-Bold.otf */, D94BD2FE2159994400C9214E /* GoogleService-Info.plist */, + 449A7C841D80D0E80019300C /* Info.plist */, D94BD2FC2159993D00C9214E /* Keys.plist */, + E34490CC1F8EEFFF0064D284 /* SFText-Bold.otf */, DD623C8A1E6D0585005ED004 /* SFText-Medium.otf */, DD623C8B1E6D0585005ED004 /* SFText-Regular.otf */, DD623C8C1E6D0585005ED004 /* SFText-Semibold.otf */, @@ -783,7 +783,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Build-Phases/fabric-config.sh\"\n\n"; + shellScript = "\"${SRCROOT}/TCAT/Supporting Files/fabric-config.sh\"\n\n"; }; /* End PBXShellScriptBuildPhase section */ diff --git a/TCAT/AppDelegate.swift b/TCAT/AppDelegate.swift index bd3e230d..315b41da 100755 --- a/TCAT/AppDelegate.swift +++ b/TCAT/AppDelegate.swift @@ -26,7 +26,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { // Update shortcut items AppShortcuts.shared.updateShortcutItems() - // Set Up Register, Fabric / Crashlytics (RELEASE) + // Set Up Analytics #if !DEBUG Crashlytics.start(withAPIKey: Keys.fabricAPIKey.value) #endif @@ -45,7 +45,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { // Check app version if let version = userDefaults.value(forKey: Constants.UserDefaults.version) as? String { if version != Constants.App.version { - // TODO: User has just updated the app. + // User has just updated the app. } } diff --git a/Build-Phases/fabric-config.sh b/TCAT/Supporting Files/fabric-config.sh similarity index 100% rename from Build-Phases/fabric-config.sh rename to TCAT/Supporting Files/fabric-config.sh diff --git a/TCAT/EventPayload.swift b/TCAT/Utilities/EventPayload.swift similarity index 100% rename from TCAT/EventPayload.swift rename to TCAT/Utilities/EventPayload.swift