diff --git a/.github/workflows/CI.yaml b/.github/workflows/CI.yaml index 271b34a..a617717 100644 --- a/.github/workflows/CI.yaml +++ b/.github/workflows/CI.yaml @@ -5,7 +5,7 @@ on: [push] jobs: build: name: Build LazyMan - runs-on: macos-latest + runs-on: macos-11 steps: - name: Checkout uses: actions/checkout@v1 @@ -20,7 +20,9 @@ jobs: - name: Install Pods run: pod install - name: Choose Xcode Version - run: sudo xcode-select -switch /Applications/Xcode_11.2.1.app + uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: '12.5.1' - name: Install dpkg run: brew install dpkg - name: Checkout ldid @@ -36,7 +38,7 @@ jobs: chmod +x ldid2 cp ldid2 /usr/local/bin/ldid2 - name: Generate build number - uses: einaregilsson/build-number@v2 + uses: einaregilsson/build-number@v3 with: token: ${{ secrets.github_token }} - name: Build App diff --git a/.gitignore b/.gitignore index f1d9b87..7736ed1 100644 --- a/.gitignore +++ b/.gitignore @@ -2,11 +2,17 @@ # # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore -## Build generated +## User settings +xcuserdata/ + +## compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9) +*.xcscmblueprint +*.xccheckout + +## compatibility with Xcode 3 and earlier (ignoring not required starting Xcode 4) build/ DerivedData/ - -## Various settings +*.moved-aside *.pbxuser !default.pbxuser *.mode1v3 @@ -15,16 +21,11 @@ DerivedData/ !default.mode2v3 *.perspectivev3 !default.perspectivev3 -xcuserdata/ -*.storyboardbak - -## Other -*.moved-aside -*.xccheckout -*.xcscmblueprint ## Obj-C/Swift specific *.hmap + +## App packaging *.ipa *.dSYM.zip *.dSYM @@ -38,6 +39,13 @@ playground.xcworkspace # Add this line if you want to avoid checking in source code from Swift Package Manager dependencies. # Packages/ # Package.pins +# Package.resolved +# *.xcodeproj +# +# Xcode automatically generates this directory with a .xcworkspacedata file and xcuserdata +# hence it is not needed unless you have added a package configuration file to your project +# .swiftpm + .build/ # CocoaPods @@ -47,22 +55,45 @@ playground.xcworkspace # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control # Pods/ +# +# Add this line if you want to avoid checking in source code from the Xcode workspace +# *.xcworkspace # Carthage # # Add this line if you want to avoid checking in source code from Carthage dependencies. # Carthage/Checkouts -Carthage/Build +Carthage/Build/ + +# Accio dependency management +Dependencies/ +.accio/ # fastlane # -# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the -# screenshots whenever they are needed. +# It is recommended to not store the screenshots in the git repo. +# Instead, use fastlane to re-generate the screenshots whenever they are needed. # For more information about the recommended setup visit: # https://docs.fastlane.tools/best-practices/source-control/#source-control fastlane/report.xml fastlane/Preview.html -fastlane/screenshots +fastlane/screenshots/**/*.png fastlane/test_output + +# Code Injection +# +# After new code Injection tools there's a generated folder /iOSInjectionProject +# https://github.com/johnno1962/injectionforxcode + +iOSInjectionProject/ + +# Ignore bundler +vendor/ + +# Storyboard version number +*.storyboardbak + +# Local development config +LocalConfig.xcconfig \ No newline at end of file diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..385e548 --- /dev/null +++ b/Gemfile @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +source "https://rubygems.org" + +git_source(:github) {|repo_name| "https://github.com/#{repo_name}" } + +gem "cocoapods", "~> 1.10" diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 0000000..b6765cb --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,95 @@ +GEM + remote: https://rubygems.org/ + specs: + CFPropertyList (3.0.3) + activesupport (5.2.6) + concurrent-ruby (~> 1.0, >= 1.0.2) + i18n (>= 0.7, < 2) + minitest (~> 5.1) + tzinfo (~> 1.1) + addressable (2.8.0) + public_suffix (>= 2.0.2, < 5.0) + algoliasearch (1.27.5) + httpclient (~> 2.8, >= 2.8.3) + json (>= 1.5.1) + atomos (0.1.3) + claide (1.0.3) + cocoapods (1.10.2) + addressable (~> 2.6) + claide (>= 1.0.2, < 2.0) + cocoapods-core (= 1.10.2) + cocoapods-deintegrate (>= 1.0.3, < 2.0) + cocoapods-downloader (>= 1.4.0, < 2.0) + cocoapods-plugins (>= 1.0.0, < 2.0) + cocoapods-search (>= 1.0.0, < 2.0) + cocoapods-trunk (>= 1.4.0, < 2.0) + cocoapods-try (>= 1.1.0, < 2.0) + colored2 (~> 3.1) + escape (~> 0.0.4) + fourflusher (>= 2.3.0, < 3.0) + gh_inspector (~> 1.0) + molinillo (~> 0.6.6) + nap (~> 1.0) + ruby-macho (~> 1.4) + xcodeproj (>= 1.19.0, < 2.0) + cocoapods-core (1.10.2) + activesupport (> 5.0, < 6) + addressable (~> 2.6) + algoliasearch (~> 1.0) + concurrent-ruby (~> 1.1) + fuzzy_match (~> 2.0.4) + nap (~> 1.0) + netrc (~> 0.11) + public_suffix + typhoeus (~> 1.0) + cocoapods-deintegrate (1.0.4) + cocoapods-downloader (1.4.0) + cocoapods-plugins (1.0.0) + nap + cocoapods-search (1.0.0) + cocoapods-trunk (1.5.0) + nap (>= 0.8, < 2.0) + netrc (~> 0.11) + cocoapods-try (1.2.0) + colored2 (3.1.2) + concurrent-ruby (1.1.9) + escape (0.0.4) + ethon (0.14.0) + ffi (>= 1.15.0) + ffi (1.15.3) + fourflusher (2.3.1) + fuzzy_match (2.0.4) + gh_inspector (1.1.3) + httpclient (2.8.3) + i18n (1.8.10) + concurrent-ruby (~> 1.0) + json (2.5.1) + minitest (5.14.4) + molinillo (0.6.6) + nanaimo (0.3.0) + nap (1.1.0) + netrc (0.11.0) + public_suffix (4.0.6) + rexml (3.2.5) + ruby-macho (1.4.0) + thread_safe (0.3.6) + typhoeus (1.4.0) + ethon (>= 0.9.0) + tzinfo (1.2.9) + thread_safe (~> 0.1) + xcodeproj (1.20.0) + CFPropertyList (>= 2.3.3, < 4.0) + atomos (~> 0.1.3) + claide (>= 1.0.2, < 2.0) + colored2 (~> 3.1) + nanaimo (~> 0.3.0) + rexml (~> 3.2.4) + +PLATFORMS + ruby + +DEPENDENCIES + cocoapods (~> 1.10) + +BUNDLED WITH + 2.1.4 diff --git a/LazyMan-iOS.xcodeproj/project.pbxproj b/LazyMan-iOS.xcodeproj/project.pbxproj index 6678113..b0dc7a6 100644 --- a/LazyMan-iOS.xcodeproj/project.pbxproj +++ b/LazyMan-iOS.xcodeproj/project.pbxproj @@ -20,6 +20,7 @@ 01434A742040D3FF0094E221 /* GameTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 01434A732040D3FF0094E221 /* GameTableViewCell.swift */; }; 01434A762040DAA70094E221 /* GameViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 01434A752040DAA70094E221 /* GameViewController.swift */; }; 015F34602055EA960005453C /* GameSettingsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 015F345F2055EA960005453C /* GameSettingsViewController.swift */; }; + 017757C82713558E0009C23C /* PrimarySplitViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 017757C72713558E0009C23C /* PrimarySplitViewController.swift */; }; 0179AEC22076DB5D00539C6D /* nhlschedule2018-04-05.json in Resources */ = {isa = PBXBuildFile; fileRef = 0179AEC12076DB5D00539C6D /* nhlschedule2018-04-05.json */; }; 0179AEC42076F84200539C6D /* mlbschedule2018-04-05.json in Resources */ = {isa = PBXBuildFile; fileRef = 0179AEC32076F84200539C6D /* mlbschedule2018-04-05.json */; }; 0186CA43208A7BE800F7907A /* UIView+searcVisualEffectsSubview.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0186CA42208A7BE800F7907A /* UIView+searcVisualEffectsSubview.swift */; }; @@ -31,6 +32,7 @@ 01DC7B9720925325003C311A /* GameListTableBackgroundView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 01DC7B9620925325003C311A /* GameListTableBackgroundView.xib */; }; 01DC7B9F2092BE6B003C311A /* SettingsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 01DC7B9E2092BE6B003C311A /* SettingsViewController.swift */; }; 01DC7BA020940B23003C311A /* Settings.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 01DC7BA220940B23003C311A /* Settings.storyboard */; }; + 01DC8E7D26C09A1D003EDA9D /* LocalConfig-template.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 01DC8E7C26C09A1D003EDA9D /* LocalConfig-template.xcconfig */; }; 01EC4DE5225AA78300034D83 /* DarkOptionViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 01EC4DE4225AA78300034D83 /* DarkOptionViewController.swift */; }; 01EC4DE7225AA97500034D83 /* CDN+OptionSelectorCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 01EC4DE6225AA97500034D83 /* CDN+OptionSelectorCell.swift */; }; 01EC4DE9225AA98500034D83 /* Feed+OptionSelectorCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 01EC4DE8225AA98500034D83 /* Feed+OptionSelectorCell.swift */; }; @@ -68,6 +70,7 @@ 01434A732040D3FF0094E221 /* GameTableViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GameTableViewCell.swift; sourceTree = ""; }; 01434A752040DAA70094E221 /* GameViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GameViewController.swift; sourceTree = ""; }; 015F345F2055EA960005453C /* GameSettingsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GameSettingsViewController.swift; sourceTree = ""; }; + 017757C72713558E0009C23C /* PrimarySplitViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PrimarySplitViewController.swift; sourceTree = ""; }; 0179AEC12076DB5D00539C6D /* nhlschedule2018-04-05.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "nhlschedule2018-04-05.json"; sourceTree = ""; }; 0179AEC32076F84200539C6D /* mlbschedule2018-04-05.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "mlbschedule2018-04-05.json"; sourceTree = ""; }; 0186CA42208A7BE800F7907A /* UIView+searcVisualEffectsSubview.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "UIView+searcVisualEffectsSubview.swift"; sourceTree = ""; }; @@ -80,6 +83,9 @@ 01DC7B9620925325003C311A /* GameListTableBackgroundView.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = GameListTableBackgroundView.xib; sourceTree = ""; }; 01DC7B9E2092BE6B003C311A /* SettingsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SettingsViewController.swift; sourceTree = ""; }; 01DC7BA120940B23003C311A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Settings.storyboard; sourceTree = ""; }; + 01DC8E7A26C091EE003EDA9D /* Config.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Config.xcconfig; sourceTree = ""; }; + 01DC8E7B26C094CB003EDA9D /* LocalConfig.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = LocalConfig.xcconfig; sourceTree = ""; }; + 01DC8E7C26C09A1D003EDA9D /* LocalConfig-template.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = "LocalConfig-template.xcconfig"; sourceTree = ""; }; 01EC4DE4225AA78300034D83 /* DarkOptionViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DarkOptionViewController.swift; sourceTree = ""; }; 01EC4DE6225AA97500034D83 /* CDN+OptionSelectorCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "CDN+OptionSelectorCell.swift"; sourceTree = ""; }; 01EC4DE8225AA98500034D83 /* Feed+OptionSelectorCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Feed+OptionSelectorCell.swift"; sourceTree = ""; }; @@ -164,6 +170,7 @@ 013CF1F120901A30001A24EC /* GameListTableViewController.swift */, 01DC7B942092530A003C311A /* GameListTableBackgroundView.swift */, 01DC7B9620925325003C311A /* GameListTableBackgroundView.xib */, + 017757C72713558E0009C23C /* PrimarySplitViewController.swift */, ); path = GameList; sourceTree = ""; @@ -207,6 +214,9 @@ 012CB8B9203A3E7C00E76740 /* LaunchScreen.storyboard */, 012CB8B7203A3E7C00E76740 /* Assets.xcassets */, 010E4585203A6B4A001EF46C /* Icons.xcassets */, + 01DC8E7A26C091EE003EDA9D /* Config.xcconfig */, + 01DC8E7B26C094CB003EDA9D /* LocalConfig.xcconfig */, + 01DC8E7C26C09A1D003EDA9D /* LocalConfig-template.xcconfig */, ); path = Resources; sourceTree = ""; @@ -328,6 +338,7 @@ 012CB8B6203A3E7C00E76740 /* GameList.storyboard in Resources */, 01344C862061D0EC0040BDE7 /* Game.storyboard in Resources */, 0142C652226A72EE0060A017 /* GoogleService-Info.plist in Resources */, + 01DC8E7D26C09A1D003EDA9D /* LocalConfig-template.xcconfig in Resources */, 0179AEC22076DB5D00539C6D /* nhlschedule2018-04-05.json in Resources */, 01DC7BA020940B23003C311A /* Settings.storyboard in Resources */, ); @@ -344,7 +355,8 @@ inputFileListPaths = ( ); inputPaths = ( - "$(BUILT_PRODUCTS_DIR)/$(INFOPLIST_PATH)", + "${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}/Contents/Resources/DWARF/${TARGET_NAME}", + "$(SRCROOT)/$(BUILT_PRODUCTS_DIR)/$(INFOPLIST_PATH)", ); name = Crashlytics; outputFileListPaths = ( @@ -353,7 +365,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Fabric/run\"\n"; + shellScript = "\"${PODS_ROOT}/FirebaseCrashlytics/run\"\n"; }; 019B740C23AD78F50033DA82 /* Build/Version Number in Storyboard */ = { isa = PBXShellScriptBuildPhase; @@ -436,6 +448,7 @@ "${BUILT_PRODUCTS_DIR}/GoogleUtilities/GoogleUtilities.framework", "${BUILT_PRODUCTS_DIR}/OptionSelector/OptionSelector.framework", "${BUILT_PRODUCTS_DIR}/Pantomime-iOS/Pantomime.framework", + "${BUILT_PRODUCTS_DIR}/PromisesObjC/FBLPromises.framework", "${BUILT_PRODUCTS_DIR}/Protobuf/protobuf.framework", "${BUILT_PRODUCTS_DIR}/nanopb/nanopb.framework", ); @@ -445,6 +458,7 @@ "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleUtilities.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/OptionSelector.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Pantomime.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/FBLPromises.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/protobuf.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/nanopb.framework", ); @@ -488,6 +502,7 @@ 01EC4DE5225AA78300034D83 /* DarkOptionViewController.swift in Sources */, 015F34602055EA960005453C /* GameSettingsViewController.swift in Sources */, 01EC4DE7225AA97500034D83 /* CDN+OptionSelectorCell.swift in Sources */, + 017757C82713558E0009C23C /* PrimarySplitViewController.swift in Sources */, 01EC4DEB225AA99400034D83 /* Playlist+OptionSelectorCell.swift in Sources */, 013CF1F220901A30001A24EC /* GameListTableViewController.swift in Sources */, 0186CA43208A7BE800F7907A /* UIView+searcVisualEffectsSubview.swift in Sources */, @@ -541,6 +556,7 @@ /* Begin XCBuildConfiguration section */ 012CB8BD203A3E7C00E76740 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 01DC8E7A26C091EE003EDA9D /* Config.xcconfig */; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; CLANG_ANALYZER_NONNULL = YES; @@ -600,6 +616,7 @@ }; 012CB8BE203A3E7C00E76740 /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 01DC8E7A26C091EE003EDA9D /* Config.xcconfig */; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; CLANG_ANALYZER_NONNULL = YES; @@ -659,10 +676,9 @@ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - DEVELOPMENT_TEAM = ""; INFOPLIST_FILE = "$(SRCROOT)/LazyMan-iOS/Resources/Info.plist"; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "dev.nickt.LazyMan-iOS"; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; SWIFT_VERSION = 5.0; @@ -679,10 +695,9 @@ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - DEVELOPMENT_TEAM = ""; INFOPLIST_FILE = "$(SRCROOT)/LazyMan-iOS/Resources/Info.plist"; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "dev.nickt.LazyMan-iOS"; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; SWIFT_VERSION = 5.0; diff --git a/LazyMan-iOS.xcodeproj/xcshareddata/xcschemes/LazyMan-iOS.xcscheme b/LazyMan-iOS.xcodeproj/xcshareddata/xcschemes/LazyMan-iOS.xcscheme new file mode 100644 index 0000000..832d67d --- /dev/null +++ b/LazyMan-iOS.xcodeproj/xcshareddata/xcschemes/LazyMan-iOS.xcscheme @@ -0,0 +1,85 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/LazyMan-iOS/AppDelegate.swift b/LazyMan-iOS/AppDelegate.swift index 1fd2f0e..ecc599e 100644 --- a/LazyMan-iOS/AppDelegate.swift +++ b/LazyMan-iOS/AppDelegate.swift @@ -17,45 +17,54 @@ class AppDelegate: UIResponder, UIApplicationDelegate { func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { + // Configure Firebase/Crashlytics + FirebaseApp.configure() + + // Initialize Chromecast + _ = CastManager.shared + // Configures navigation bar UINavigationBar.appearance().barStyle = .black UINavigationBar.appearance().isTranslucent = false + if #available(iOS 13.0, *) { + let barAppearance = UINavigationBarAppearance() + barAppearance.configureWithOpaqueBackground() + barAppearance.backgroundColor = .black + UINavigationBar.appearance().standardAppearance = barAppearance + UINavigationBar.appearance().scrollEdgeAppearance = barAppearance + } + // Configures table view selection to be darker let selectedView = UIView() selectedView.backgroundColor = UIColor.darkGray UITableViewCell.appearance().selectedBackgroundView = selectedView UITableViewCell.appearance().backgroundColor = .black - // Configures split view controller - if let splitViewController = self.window?.rootViewController as? UISplitViewController { - splitViewController.preferredDisplayMode = .allVisible - splitViewController.view.backgroundColor = .black + let appStoryboard = UIStoryboard(name: "GameList", bundle: nil) + let mainNavigationController = appStoryboard.instantiateViewController(withIdentifier: "MainNavigationController") + let noGamesViewController = appStoryboard.instantiateViewController(withIdentifier: "NoGame") - splitViewController.delegate = (splitViewController.viewControllers.first as? UINavigationController)? - .viewControllers.first as? GameListViewController + let splitViewController: UISplitViewController + if #available(iOS 14.0, *) { + splitViewController = PrimarySplitViewController(style: .doubleColumn) + splitViewController.preferredSplitBehavior = .tile - if let navigationController = splitViewController.viewControllers.last as? UINavigationController { - navigationController.topViewController?.navigationItem.leftBarButtonItem = - splitViewController.displayModeButtonItem - } + } else { + splitViewController = PrimarySplitViewController() } - // Configure Firebase/Crashlytics - FirebaseApp.configure() - - // Initialize Chromecast - _ = CastManager.shared - // Wrap main view in the GCKUICastContainerViewController and display the mini controller. - let appStoryboard = UIStoryboard(name: "GameList", bundle: nil) - let navigationController = appStoryboard.instantiateInitialViewController()! - let castContainerVC = GCKCastContext.sharedInstance().createCastContainerController(for: navigationController) + let castContainerVC = GCKCastContext.sharedInstance().createCastContainerController(for: splitViewController) castContainerVC.view.backgroundColor = .clear castContainerVC.miniMediaControlsItemEnabled = true + if #available(iOS 13.0, *) { + castContainerVC.overrideUserInterfaceStyle = .dark + } window = UIWindow(frame: UIScreen.main.bounds) window?.rootViewController = castContainerVC + splitViewController.viewControllers = [mainNavigationController, noGamesViewController] window?.makeKeyAndVisible() // Refresh notifications diff --git a/LazyMan-iOS/GameList/Base.lproj/GameList.storyboard b/LazyMan-iOS/GameList/Base.lproj/GameList.storyboard index 16e0733..2032975 100644 --- a/LazyMan-iOS/GameList/Base.lproj/GameList.storyboard +++ b/LazyMan-iOS/GameList/Base.lproj/GameList.storyboard @@ -1,11 +1,9 @@ - - - - + + - + @@ -13,7 +11,7 @@ - + @@ -27,7 +25,7 @@ - + @@ -45,7 +43,7 @@ + @@ -103,7 +102,6 @@ - @@ -114,7 +112,7 @@ - + @@ -144,20 +142,6 @@ - - - - - - - - - - - - - - @@ -185,15 +169,15 @@ - + - + - + @@ -325,12 +309,12 @@ + - diff --git a/LazyMan-iOS/GameList/GameListViewController.swift b/LazyMan-iOS/GameList/GameListViewController.swift index b8d37f3..da64e3c 100644 --- a/LazyMan-iOS/GameList/GameListViewController.swift +++ b/LazyMan-iOS/GameList/GameListViewController.swift @@ -28,7 +28,14 @@ class GameListViewController: UIViewController, GameListViewControllerType { // MARK: - Properties - internal var collapseDetailViewController = true + internal var collapseDetailViewController: Bool { + get { + (self.splitViewController as? PrimarySplitViewController)?.collapseDetailViewController ?? true + } + set { + (self.splitViewController as? PrimarySplitViewController)?.collapseDetailViewController = newValue + } + } private var weekFormatter = DateFormatter() private var date = Date() // Only update with updateDate() private var league: League = .NHL { @@ -100,7 +107,6 @@ class GameListViewController: UIViewController, GameListViewControllerType { super.loadView() self.league = SettingsManager.shared.defaultLeague self.leagueControl.selectedSegmentIndex = SettingsManager.shared.defaultLeague == .NHL ? 0 : 1 - self.splitViewController?.delegate = self self.calendar.scope = .week self.weekFormatter.dateFormat = "EEEE MMMM d, yyyy" self.updateDate(date: self.date, wasSwiped: false, firstLoad: true) @@ -288,11 +294,3 @@ extension GameListViewController: UIPageViewControllerDelegate { } } } - -extension GameListViewController: UISplitViewControllerDelegate { - func splitViewController(_ splitViewController: UISplitViewController, - collapseSecondary secondaryViewController: UIViewController, - onto primaryViewController: UIViewController) -> Bool { - return self.collapseDetailViewController - } -} diff --git a/LazyMan-iOS/GameList/PrimarySplitViewController.swift b/LazyMan-iOS/GameList/PrimarySplitViewController.swift new file mode 100644 index 0000000..0597ccd --- /dev/null +++ b/LazyMan-iOS/GameList/PrimarySplitViewController.swift @@ -0,0 +1,36 @@ +// +// PrimarySplitViewController.swift +// LazyMan-iOS +// +// Created by Nick Thompson on 10/10/21. +// Copyright © 2021 Nick Thompson. All rights reserved. +// + +import UIKit + +class PrimarySplitViewController: UISplitViewController, UISplitViewControllerDelegate { + + internal var collapseDetailViewController = true + + override func viewDidLoad() { + super.viewDidLoad() + self.delegate = self + self.preferredDisplayMode = .allVisible + } + + func splitViewController( + _ splitViewController: UISplitViewController, + collapseSecondary secondaryViewController: UIViewController, + onto primaryViewController: UIViewController + ) -> Bool { + return self.collapseDetailViewController + } + + @available(iOS 14.0, *) + public func splitViewController( + _ svc: UISplitViewController, + topColumnForCollapsingToProposedTopColumn proposedTopColumn: UISplitViewController.Column + ) -> UISplitViewController.Column { + return .primary + } +} diff --git a/LazyMan-iOS/Resources/Config.xcconfig b/LazyMan-iOS/Resources/Config.xcconfig new file mode 100644 index 0000000..3449ab0 --- /dev/null +++ b/LazyMan-iOS/Resources/Config.xcconfig @@ -0,0 +1,16 @@ +// +// Config.xcconfig +// LazyMan-iOS +// +// Created by Nick Thompson on 8/8/21. +// Copyright © 2021 Nick Thompson. All rights reserved. +// + +// Copy LocalConfig-template.xcconfig to LocalConfig.xcconfig to configure + +#include? "LocalConfig.xcconfig" + +DEVELOPMENT_TEAM = $(LOCAL_DEVELOPMENT_TEAM) +PRODUCT_BUNDLE_IDENTIFIER = dev.nickt.LazyMan-iOS$(DEVELOPMENT_TEAM) + +#include? "LocalConfig.xcconfig" diff --git a/LazyMan-iOS/Resources/Info.plist b/LazyMan-iOS/Resources/Info.plist index 274dfff..8564f2d 100644 --- a/LazyMan-iOS/Resources/Info.plist +++ b/LazyMan-iOS/Resources/Info.plist @@ -22,11 +22,6 @@ $(CURRENT_PROJECT_VERSION) LSRequiresIPhoneOS - NSAppTransportSecurity - - NSAllowsArbitraryLoads - - NSBluetoothAlwaysUsageDescription LazyMan uses Bluetooth to discover nearby Cast devices. NSBluetoothPeripheralUsageDescription @@ -39,8 +34,6 @@ UILaunchStoryboardName LaunchScreen - UIMainStoryboardFile - GameList UIRequiredDeviceCapabilities armv7 diff --git a/LazyMan-iOS/Resources/LocalConfig-template.xcconfig b/LazyMan-iOS/Resources/LocalConfig-template.xcconfig new file mode 100644 index 0000000..bd4d88e --- /dev/null +++ b/LazyMan-iOS/Resources/LocalConfig-template.xcconfig @@ -0,0 +1,2 @@ +// Set your development tean id +LOCAL_DEVELOPMENT_TEAM = diff --git a/LazyMan-iOS/Settings/SettingsViewController.swift b/LazyMan-iOS/Settings/SettingsViewController.swift index 5e857af..113c36c 100644 --- a/LazyMan-iOS/Settings/SettingsViewController.swift +++ b/LazyMan-iOS/Settings/SettingsViewController.swift @@ -62,6 +62,10 @@ class SettingsViewController: UITableViewController, SettingsViewType { // Set version and build number let versionString = "Version: \(Bundle.main.releaseVersionNumber) – Build: \(Bundle.main.buildVersionNumber)" self.versionBuildLabel.text = versionString + + if #available(iOS 13.0, *) { + self.overrideUserInterfaceStyle = .dark + } } // MARK: - SettingsViewType diff --git a/LazyMan.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/LazyMan.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings new file mode 100644 index 0000000..54782e3 --- /dev/null +++ b/LazyMan.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings @@ -0,0 +1,8 @@ + + + + + IDEWorkspaceSharedSettings_AutocreateContextsIfNeeded + + + diff --git a/LazyManCore.xcodeproj/project.pbxproj b/LazyManCore.xcodeproj/project.pbxproj index 5f263a6..86a7234 100644 --- a/LazyManCore.xcodeproj/project.pbxproj +++ b/LazyManCore.xcodeproj/project.pbxproj @@ -1044,7 +1044,7 @@ SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = 3; - TVOS_DEPLOYMENT_TARGET = 12.4; + TVOS_DEPLOYMENT_TARGET = 13.0; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; @@ -1120,7 +1120,7 @@ SWIFT_OPTIMIZATION_LEVEL = "-O"; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = 3; - TVOS_DEPLOYMENT_TARGET = 12.4; + TVOS_DEPLOYMENT_TARGET = 13.0; VALIDATE_PRODUCT = YES; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; @@ -1194,7 +1194,7 @@ "@executable_path/../Frameworks", "@loader_path/Frameworks", ); - MACOSX_DEPLOYMENT_TARGET = 10.14; + MACOSX_DEPLOYMENT_TARGET = 10.15; MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; MTL_FAST_MATH = YES; ONLY_ACTIVE_ARCH = YES; @@ -1272,7 +1272,7 @@ "@executable_path/../Frameworks", "@loader_path/Frameworks", ); - MACOSX_DEPLOYMENT_TARGET = 10.14; + MACOSX_DEPLOYMENT_TARGET = 10.15; MTL_ENABLE_DEBUG_INFO = NO; MTL_FAST_MATH = YES; PRODUCT_BUNDLE_IDENTIFIER = dev.nickt.LazyManCore; diff --git a/LazyManCore/Managers/FeedManager.swift b/LazyManCore/Managers/FeedManager.swift index 969cba6..6a6845b 100644 --- a/LazyManCore/Managers/FeedManager.swift +++ b/LazyManCore/Managers/FeedManager.swift @@ -126,7 +126,7 @@ public class FeedManager: FeedManagerType { */ private func getMasterURL(league: League, cdn: CDN, playbackID: Int, date: Date) -> URL? { let dateString = DateUtils.convertToYYYYMMDD(from: date, timeZone: TimeZone(identifier: "America/Los_Angeles")!) - let masterURLSource = "http://nhl.freegamez.ga/getM3U8.php?league=\(league.rawValue)&date=\(dateString)&id=\(playbackID)&cdn=\(cdn.rawValue)" + let masterURLSource = "https://freegamez.ga/getM3U8.php?league=\(league.rawValue)&date=\(dateString)&id=\(playbackID)&cdn=\(cdn.rawValue)" if let contents = try? String(contentsOf: URL(string: masterURLSource)!) { return URL(string: contents) diff --git a/LazyManCore/Models/Schedules/NHLScheduleResponse+ScheduleResponse.swift b/LazyManCore/Models/Schedules/NHLScheduleResponse+ScheduleResponse.swift index 3ec5bbd..9231fd8 100644 --- a/LazyManCore/Models/Schedules/NHLScheduleResponse+ScheduleResponse.swift +++ b/LazyManCore/Models/Schedules/NHLScheduleResponse+ScheduleResponse.swift @@ -92,6 +92,6 @@ private extension NHLScheduleResponse.GameResponse { liveGameState: liveGameState, homeTeamScore: homeTeamScore, awayTeamScore: awayTeamScore, - feeds: content.media.asFeeds(for: gameDate)) + feeds: content.media?.asFeeds(for: gameDate) ?? []) } } diff --git a/LazyManCore/Models/Schedules/NHLScheduleResponse.swift b/LazyManCore/Models/Schedules/NHLScheduleResponse.swift index 2ff9de3..6c0e502 100644 --- a/LazyManCore/Models/Schedules/NHLScheduleResponse.swift +++ b/LazyManCore/Models/Schedules/NHLScheduleResponse.swift @@ -35,7 +35,7 @@ struct NHLScheduleResponse: Codable { struct ContentResponse: Codable { let link: String - let media: MediaResponse + let media: MediaResponse? } struct MediaResponse: Codable { diff --git a/LazyManCore/Models/Schedules/SharedScheduleResponse.swift b/LazyManCore/Models/Schedules/SharedScheduleResponse.swift index 616d208..6423bf4 100644 --- a/LazyManCore/Models/Schedules/SharedScheduleResponse.swift +++ b/LazyManCore/Models/Schedules/SharedScheduleResponse.swift @@ -21,10 +21,8 @@ enum SharedScheduleResponse { struct TeamResponse: Codable { let id: Int let name: String - let link: String let abbreviation: String let teamName: String - let shortName: String } struct GameStatusResponse: Codable { diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/angels.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/MLB/angels.imageset/Contents.json index b340da5..cc62584 100644 --- a/LazyManCore/Resources/Logos.xcassets/MLB/angels.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/MLB/angels.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "angeles.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "angels-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/angels.imageset/angeles.png b/LazyManCore/Resources/Logos.xcassets/MLB/angels.imageset/angeles.png deleted file mode 100644 index 7bf427b..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/MLB/angels.imageset/angeles.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/angels.imageset/angels-dark.pdf b/LazyManCore/Resources/Logos.xcassets/MLB/angels.imageset/angels-dark.pdf new file mode 100644 index 0000000..2649a10 Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/MLB/angels.imageset/angels-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/astros.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/MLB/astros.imageset/Contents.json index 9182f06..c54cc27 100644 --- a/LazyManCore/Resources/Logos.xcassets/MLB/astros.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/MLB/astros.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "astros.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "astros-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/astros.imageset/astros-dark.pdf b/LazyManCore/Resources/Logos.xcassets/MLB/astros.imageset/astros-dark.pdf new file mode 100644 index 0000000..f4a7015 Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/MLB/astros.imageset/astros-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/astros.imageset/astros.png b/LazyManCore/Resources/Logos.xcassets/MLB/astros.imageset/astros.png deleted file mode 100644 index 52b2acb..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/MLB/astros.imageset/astros.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/athletics.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/MLB/athletics.imageset/Contents.json index 7ed7ba8..bced0e7 100644 --- a/LazyManCore/Resources/Logos.xcassets/MLB/athletics.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/MLB/athletics.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "athletics.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "athletics-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/athletics.imageset/athletics-dark.pdf b/LazyManCore/Resources/Logos.xcassets/MLB/athletics.imageset/athletics-dark.pdf new file mode 100644 index 0000000..af836b3 Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/MLB/athletics.imageset/athletics-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/athletics.imageset/athletics.png b/LazyManCore/Resources/Logos.xcassets/MLB/athletics.imageset/athletics.png deleted file mode 100644 index 27b4a00..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/MLB/athletics.imageset/athletics.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/blue-jays.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/MLB/blue-jays.imageset/Contents.json index 9a1306c..286984e 100644 --- a/LazyManCore/Resources/Logos.xcassets/MLB/blue-jays.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/MLB/blue-jays.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "blue-jays.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "blue-jays-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/blue-jays.imageset/blue-jays-dark.pdf b/LazyManCore/Resources/Logos.xcassets/MLB/blue-jays.imageset/blue-jays-dark.pdf new file mode 100644 index 0000000..c02e2ad Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/MLB/blue-jays.imageset/blue-jays-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/blue-jays.imageset/blue-jays.png b/LazyManCore/Resources/Logos.xcassets/MLB/blue-jays.imageset/blue-jays.png deleted file mode 100644 index 787386f..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/MLB/blue-jays.imageset/blue-jays.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/braves.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/MLB/braves.imageset/Contents.json index f39f26e..361838a 100644 --- a/LazyManCore/Resources/Logos.xcassets/MLB/braves.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/MLB/braves.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "braves.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "braves-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/braves.imageset/braves-dark.pdf b/LazyManCore/Resources/Logos.xcassets/MLB/braves.imageset/braves-dark.pdf new file mode 100644 index 0000000..2054bb6 Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/MLB/braves.imageset/braves-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/braves.imageset/braves.png b/LazyManCore/Resources/Logos.xcassets/MLB/braves.imageset/braves.png deleted file mode 100644 index 3a6d0ed..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/MLB/braves.imageset/braves.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/brewers.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/MLB/brewers.imageset/Contents.json index 3d621c4..76c1b74 100644 --- a/LazyManCore/Resources/Logos.xcassets/MLB/brewers.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/MLB/brewers.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "brewers.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "brewers-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/brewers.imageset/brewers-dark.pdf b/LazyManCore/Resources/Logos.xcassets/MLB/brewers.imageset/brewers-dark.pdf new file mode 100644 index 0000000..173ce3a Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/MLB/brewers.imageset/brewers-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/brewers.imageset/brewers.png b/LazyManCore/Resources/Logos.xcassets/MLB/brewers.imageset/brewers.png deleted file mode 100644 index 61b5066..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/MLB/brewers.imageset/brewers.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/cardinals.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/MLB/cardinals.imageset/Contents.json index 45a7f37..4da9922 100644 --- a/LazyManCore/Resources/Logos.xcassets/MLB/cardinals.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/MLB/cardinals.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "cardinals.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "cardinals-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/cardinals.imageset/cardinals-dark.pdf b/LazyManCore/Resources/Logos.xcassets/MLB/cardinals.imageset/cardinals-dark.pdf new file mode 100644 index 0000000..6e1f36b Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/MLB/cardinals.imageset/cardinals-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/cardinals.imageset/cardinals.png b/LazyManCore/Resources/Logos.xcassets/MLB/cardinals.imageset/cardinals.png deleted file mode 100644 index d5c460a..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/MLB/cardinals.imageset/cardinals.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/cubs.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/MLB/cubs.imageset/Contents.json index 1d9af29..d652aba 100644 --- a/LazyManCore/Resources/Logos.xcassets/MLB/cubs.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/MLB/cubs.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "cubs.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "cubs-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/cubs.imageset/cubs-dark.pdf b/LazyManCore/Resources/Logos.xcassets/MLB/cubs.imageset/cubs-dark.pdf new file mode 100644 index 0000000..893f6a3 Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/MLB/cubs.imageset/cubs-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/cubs.imageset/cubs.png b/LazyManCore/Resources/Logos.xcassets/MLB/cubs.imageset/cubs.png deleted file mode 100644 index 07e7df7..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/MLB/cubs.imageset/cubs.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/d-backs.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/MLB/d-backs.imageset/Contents.json index a11bc0f..33fbb9d 100644 --- a/LazyManCore/Resources/Logos.xcassets/MLB/d-backs.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/MLB/d-backs.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "diamondbacks.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "d-backs-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/d-backs.imageset/d-backs-dark.pdf b/LazyManCore/Resources/Logos.xcassets/MLB/d-backs.imageset/d-backs-dark.pdf new file mode 100644 index 0000000..9473f2a Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/MLB/d-backs.imageset/d-backs-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/d-backs.imageset/diamondbacks.png b/LazyManCore/Resources/Logos.xcassets/MLB/d-backs.imageset/diamondbacks.png deleted file mode 100644 index a69f358..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/MLB/d-backs.imageset/diamondbacks.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/dodgers.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/MLB/dodgers.imageset/Contents.json index f94a1dc..b7e0dc8 100644 --- a/LazyManCore/Resources/Logos.xcassets/MLB/dodgers.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/MLB/dodgers.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "dodgers.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "dodgers-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/dodgers.imageset/dodgers-dark.pdf b/LazyManCore/Resources/Logos.xcassets/MLB/dodgers.imageset/dodgers-dark.pdf new file mode 100644 index 0000000..7cece51 Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/MLB/dodgers.imageset/dodgers-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/dodgers.imageset/dodgers.png b/LazyManCore/Resources/Logos.xcassets/MLB/dodgers.imageset/dodgers.png deleted file mode 100644 index 542610d..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/MLB/dodgers.imageset/dodgers.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/giants.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/MLB/giants.imageset/Contents.json index fe74859..e8a4734 100644 --- a/LazyManCore/Resources/Logos.xcassets/MLB/giants.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/MLB/giants.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "giants.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "giants-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/giants.imageset/giants-dark.pdf b/LazyManCore/Resources/Logos.xcassets/MLB/giants.imageset/giants-dark.pdf new file mode 100644 index 0000000..e30e4ee Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/MLB/giants.imageset/giants-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/giants.imageset/giants.png b/LazyManCore/Resources/Logos.xcassets/MLB/giants.imageset/giants.png deleted file mode 100644 index e15d4fd..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/MLB/giants.imageset/giants.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/indians.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/MLB/indians.imageset/Contents.json index 08b700e..23ed493 100644 --- a/LazyManCore/Resources/Logos.xcassets/MLB/indians.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/MLB/indians.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "indians.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "indians-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/indians.imageset/indians-dark.pdf b/LazyManCore/Resources/Logos.xcassets/MLB/indians.imageset/indians-dark.pdf new file mode 100644 index 0000000..18ea9f0 Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/MLB/indians.imageset/indians-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/indians.imageset/indians.png b/LazyManCore/Resources/Logos.xcassets/MLB/indians.imageset/indians.png deleted file mode 100644 index 42cd6a1..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/MLB/indians.imageset/indians.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/mariners.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/MLB/mariners.imageset/Contents.json index 6bc3b1c..95f2f33 100644 --- a/LazyManCore/Resources/Logos.xcassets/MLB/mariners.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/MLB/mariners.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "mariners.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "mariners-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/mariners.imageset/mariners-dark.pdf b/LazyManCore/Resources/Logos.xcassets/MLB/mariners.imageset/mariners-dark.pdf new file mode 100644 index 0000000..95c15f9 Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/MLB/mariners.imageset/mariners-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/mariners.imageset/mariners.png b/LazyManCore/Resources/Logos.xcassets/MLB/mariners.imageset/mariners.png deleted file mode 100644 index ca29bdc..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/MLB/mariners.imageset/mariners.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/marlins.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/MLB/marlins.imageset/Contents.json index c964017..3192163 100644 --- a/LazyManCore/Resources/Logos.xcassets/MLB/marlins.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/MLB/marlins.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "marlins.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "marlins-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/marlins.imageset/marlins-dark.pdf b/LazyManCore/Resources/Logos.xcassets/MLB/marlins.imageset/marlins-dark.pdf new file mode 100644 index 0000000..3e68dd8 Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/MLB/marlins.imageset/marlins-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/marlins.imageset/marlins.png b/LazyManCore/Resources/Logos.xcassets/MLB/marlins.imageset/marlins.png deleted file mode 100644 index 6102fc4..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/MLB/marlins.imageset/marlins.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/mets.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/MLB/mets.imageset/Contents.json index fb29636..7503dde 100644 --- a/LazyManCore/Resources/Logos.xcassets/MLB/mets.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/MLB/mets.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "mets.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "mets-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/mets.imageset/mets-dark.pdf b/LazyManCore/Resources/Logos.xcassets/MLB/mets.imageset/mets-dark.pdf new file mode 100644 index 0000000..9a60549 Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/MLB/mets.imageset/mets-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/mets.imageset/mets.png b/LazyManCore/Resources/Logos.xcassets/MLB/mets.imageset/mets.png deleted file mode 100644 index 88e55b6..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/MLB/mets.imageset/mets.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/nationals.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/MLB/nationals.imageset/Contents.json index 3707ee2..582520e 100644 --- a/LazyManCore/Resources/Logos.xcassets/MLB/nationals.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/MLB/nationals.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "nationals.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "nationals-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/nationals.imageset/nationals-dark.pdf b/LazyManCore/Resources/Logos.xcassets/MLB/nationals.imageset/nationals-dark.pdf new file mode 100644 index 0000000..d2ce0e5 Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/MLB/nationals.imageset/nationals-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/nationals.imageset/nationals.png b/LazyManCore/Resources/Logos.xcassets/MLB/nationals.imageset/nationals.png deleted file mode 100644 index 9687741..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/MLB/nationals.imageset/nationals.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/orioles.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/MLB/orioles.imageset/Contents.json index 7a0dc21..b514879 100644 --- a/LazyManCore/Resources/Logos.xcassets/MLB/orioles.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/MLB/orioles.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "orioles.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "orioles-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/orioles.imageset/orioles-dark.pdf b/LazyManCore/Resources/Logos.xcassets/MLB/orioles.imageset/orioles-dark.pdf new file mode 100644 index 0000000..81eb555 Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/MLB/orioles.imageset/orioles-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/orioles.imageset/orioles.png b/LazyManCore/Resources/Logos.xcassets/MLB/orioles.imageset/orioles.png deleted file mode 100644 index c4856ac..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/MLB/orioles.imageset/orioles.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/padres.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/MLB/padres.imageset/Contents.json index c97a08a..9bc1d08 100644 --- a/LazyManCore/Resources/Logos.xcassets/MLB/padres.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/MLB/padres.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "padres.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "padres-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/padres.imageset/padres-dark.pdf b/LazyManCore/Resources/Logos.xcassets/MLB/padres.imageset/padres-dark.pdf new file mode 100644 index 0000000..701f4bc Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/MLB/padres.imageset/padres-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/padres.imageset/padres.png b/LazyManCore/Resources/Logos.xcassets/MLB/padres.imageset/padres.png deleted file mode 100644 index 818566c..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/MLB/padres.imageset/padres.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/phillies.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/MLB/phillies.imageset/Contents.json index 98f2f53..f0fb8fc 100644 --- a/LazyManCore/Resources/Logos.xcassets/MLB/phillies.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/MLB/phillies.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "phillies.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "phillies-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/phillies.imageset/phillies-dark.pdf b/LazyManCore/Resources/Logos.xcassets/MLB/phillies.imageset/phillies-dark.pdf new file mode 100644 index 0000000..9f053c6 Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/MLB/phillies.imageset/phillies-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/phillies.imageset/phillies.png b/LazyManCore/Resources/Logos.xcassets/MLB/phillies.imageset/phillies.png deleted file mode 100644 index dcb3a64..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/MLB/phillies.imageset/phillies.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/pirates.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/MLB/pirates.imageset/Contents.json index 0b8c51e..1b5bf45 100644 --- a/LazyManCore/Resources/Logos.xcassets/MLB/pirates.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/MLB/pirates.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "pirates.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "pirates-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/pirates.imageset/pirates-dark.pdf b/LazyManCore/Resources/Logos.xcassets/MLB/pirates.imageset/pirates-dark.pdf new file mode 100644 index 0000000..78d6a37 Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/MLB/pirates.imageset/pirates-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/pirates.imageset/pirates.png b/LazyManCore/Resources/Logos.xcassets/MLB/pirates.imageset/pirates.png deleted file mode 100644 index 46b79f3..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/MLB/pirates.imageset/pirates.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/rangers.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/MLB/rangers.imageset/Contents.json index fd5c08c..7ec43c3 100644 --- a/LazyManCore/Resources/Logos.xcassets/MLB/rangers.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/MLB/rangers.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "rangers.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "rangers-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/rangers.imageset/rangers-dark.pdf b/LazyManCore/Resources/Logos.xcassets/MLB/rangers.imageset/rangers-dark.pdf new file mode 100644 index 0000000..8a408d5 Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/MLB/rangers.imageset/rangers-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/rangers.imageset/rangers.png b/LazyManCore/Resources/Logos.xcassets/MLB/rangers.imageset/rangers.png deleted file mode 100644 index 794cc7d..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/MLB/rangers.imageset/rangers.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/rays.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/MLB/rays.imageset/Contents.json index 1232cb2..ce80301 100644 --- a/LazyManCore/Resources/Logos.xcassets/MLB/rays.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/MLB/rays.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "rays.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "rays-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/rays.imageset/rays-dark.pdf b/LazyManCore/Resources/Logos.xcassets/MLB/rays.imageset/rays-dark.pdf new file mode 100644 index 0000000..8b28556 Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/MLB/rays.imageset/rays-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/rays.imageset/rays.png b/LazyManCore/Resources/Logos.xcassets/MLB/rays.imageset/rays.png deleted file mode 100644 index f352ba5..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/MLB/rays.imageset/rays.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/red-sox.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/MLB/red-sox.imageset/Contents.json index f4314f7..be86179 100644 --- a/LazyManCore/Resources/Logos.xcassets/MLB/red-sox.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/MLB/red-sox.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "red-sox.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "red-sox-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/red-sox.imageset/red-sox-dark.pdf b/LazyManCore/Resources/Logos.xcassets/MLB/red-sox.imageset/red-sox-dark.pdf new file mode 100644 index 0000000..7ef5b97 Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/MLB/red-sox.imageset/red-sox-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/red-sox.imageset/red-sox.png b/LazyManCore/Resources/Logos.xcassets/MLB/red-sox.imageset/red-sox.png deleted file mode 100644 index dd79e19..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/MLB/red-sox.imageset/red-sox.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/reds.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/MLB/reds.imageset/Contents.json index 89d4915..b4efcb9 100644 --- a/LazyManCore/Resources/Logos.xcassets/MLB/reds.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/MLB/reds.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "reds.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "reds-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/reds.imageset/reds-dark.pdf b/LazyManCore/Resources/Logos.xcassets/MLB/reds.imageset/reds-dark.pdf new file mode 100644 index 0000000..8910da8 Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/MLB/reds.imageset/reds-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/reds.imageset/reds.png b/LazyManCore/Resources/Logos.xcassets/MLB/reds.imageset/reds.png deleted file mode 100644 index ae24014..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/MLB/reds.imageset/reds.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/rockies.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/MLB/rockies.imageset/Contents.json index 46e993d..48f8ec2 100644 --- a/LazyManCore/Resources/Logos.xcassets/MLB/rockies.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/MLB/rockies.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "rockies.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "rockies-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/rockies.imageset/rockies-dark.pdf b/LazyManCore/Resources/Logos.xcassets/MLB/rockies.imageset/rockies-dark.pdf new file mode 100644 index 0000000..01a3bfe Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/MLB/rockies.imageset/rockies-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/rockies.imageset/rockies.png b/LazyManCore/Resources/Logos.xcassets/MLB/rockies.imageset/rockies.png deleted file mode 100644 index bd42d80..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/MLB/rockies.imageset/rockies.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/royals.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/MLB/royals.imageset/Contents.json index 4e0da52..cd479fc 100644 --- a/LazyManCore/Resources/Logos.xcassets/MLB/royals.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/MLB/royals.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "royals.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "royals-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/royals.imageset/royals-dark.pdf b/LazyManCore/Resources/Logos.xcassets/MLB/royals.imageset/royals-dark.pdf new file mode 100644 index 0000000..14ecf99 Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/MLB/royals.imageset/royals-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/royals.imageset/royals.png b/LazyManCore/Resources/Logos.xcassets/MLB/royals.imageset/royals.png deleted file mode 100644 index cc0f491..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/MLB/royals.imageset/royals.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/tigers.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/MLB/tigers.imageset/Contents.json index ea6d9d0..5ee953e 100644 --- a/LazyManCore/Resources/Logos.xcassets/MLB/tigers.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/MLB/tigers.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "tigers.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "tigers-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/tigers.imageset/tigers-dark.pdf b/LazyManCore/Resources/Logos.xcassets/MLB/tigers.imageset/tigers-dark.pdf new file mode 100644 index 0000000..7bf329d Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/MLB/tigers.imageset/tigers-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/tigers.imageset/tigers.png b/LazyManCore/Resources/Logos.xcassets/MLB/tigers.imageset/tigers.png deleted file mode 100644 index 9724e63..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/MLB/tigers.imageset/tigers.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/twins.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/MLB/twins.imageset/Contents.json index 38964d9..6d972f6 100644 --- a/LazyManCore/Resources/Logos.xcassets/MLB/twins.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/MLB/twins.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "twins.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "twins-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/twins.imageset/twins-dark.pdf b/LazyManCore/Resources/Logos.xcassets/MLB/twins.imageset/twins-dark.pdf new file mode 100644 index 0000000..d07b80b Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/MLB/twins.imageset/twins-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/twins.imageset/twins.png b/LazyManCore/Resources/Logos.xcassets/MLB/twins.imageset/twins.png deleted file mode 100644 index 9373d4a..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/MLB/twins.imageset/twins.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/white-sox.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/MLB/white-sox.imageset/Contents.json index a6f2f3c..c8963bd 100644 --- a/LazyManCore/Resources/Logos.xcassets/MLB/white-sox.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/MLB/white-sox.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "white-sox.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "white-sox-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/white-sox.imageset/white-sox-dark.pdf b/LazyManCore/Resources/Logos.xcassets/MLB/white-sox.imageset/white-sox-dark.pdf new file mode 100644 index 0000000..c8fe739 Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/MLB/white-sox.imageset/white-sox-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/white-sox.imageset/white-sox.png b/LazyManCore/Resources/Logos.xcassets/MLB/white-sox.imageset/white-sox.png deleted file mode 100644 index 756b214..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/MLB/white-sox.imageset/white-sox.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/yankees.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/MLB/yankees.imageset/Contents.json index de3a025..b54ab55 100644 --- a/LazyManCore/Resources/Logos.xcassets/MLB/yankees.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/MLB/yankees.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "yankees.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "yankees-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/yankees.imageset/yankees-dark.pdf b/LazyManCore/Resources/Logos.xcassets/MLB/yankees.imageset/yankees-dark.pdf new file mode 100644 index 0000000..a2325c0 Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/MLB/yankees.imageset/yankees-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/MLB/yankees.imageset/yankees.png b/LazyManCore/Resources/Logos.xcassets/MLB/yankees.imageset/yankees.png deleted file mode 100644 index e256faf..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/MLB/yankees.imageset/yankees.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/avalanche.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/NHL/avalanche.imageset/Contents.json index 48cb67f..2e0504e 100644 --- a/LazyManCore/Resources/Logos.xcassets/NHL/avalanche.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/NHL/avalanche.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "avalanche.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "avalanche-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/avalanche.imageset/avalanche-dark.pdf b/LazyManCore/Resources/Logos.xcassets/NHL/avalanche.imageset/avalanche-dark.pdf new file mode 100644 index 0000000..58720b5 Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/NHL/avalanche.imageset/avalanche-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/avalanche.imageset/avalanche.png b/LazyManCore/Resources/Logos.xcassets/NHL/avalanche.imageset/avalanche.png deleted file mode 100644 index b310d51..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/NHL/avalanche.imageset/avalanche.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/blackhawks.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/NHL/blackhawks.imageset/Contents.json index 59c1387..91e3386 100644 --- a/LazyManCore/Resources/Logos.xcassets/NHL/blackhawks.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/NHL/blackhawks.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "blackhawks.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "blackhawks-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/blackhawks.imageset/blackhawks-dark.pdf b/LazyManCore/Resources/Logos.xcassets/NHL/blackhawks.imageset/blackhawks-dark.pdf new file mode 100644 index 0000000..a6df57f Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/NHL/blackhawks.imageset/blackhawks-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/blackhawks.imageset/blackhawks.png b/LazyManCore/Resources/Logos.xcassets/NHL/blackhawks.imageset/blackhawks.png deleted file mode 100644 index dd4022b..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/NHL/blackhawks.imageset/blackhawks.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/blue-jackets.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/NHL/blue-jackets.imageset/Contents.json index e6fafd8..7de0248 100644 --- a/LazyManCore/Resources/Logos.xcassets/NHL/blue-jackets.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/NHL/blue-jackets.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "blue-jackets.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "blue-jackets-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/blue-jackets.imageset/blue-jackets-dark.pdf b/LazyManCore/Resources/Logos.xcassets/NHL/blue-jackets.imageset/blue-jackets-dark.pdf new file mode 100644 index 0000000..d465ed4 Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/NHL/blue-jackets.imageset/blue-jackets-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/blue-jackets.imageset/blue-jackets.png b/LazyManCore/Resources/Logos.xcassets/NHL/blue-jackets.imageset/blue-jackets.png deleted file mode 100644 index f1cc36b..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/NHL/blue-jackets.imageset/blue-jackets.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/blues.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/NHL/blues.imageset/Contents.json index ba1854b..2df1418 100644 --- a/LazyManCore/Resources/Logos.xcassets/NHL/blues.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/NHL/blues.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "blues.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "blues-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/blues.imageset/blues-dark.pdf b/LazyManCore/Resources/Logos.xcassets/NHL/blues.imageset/blues-dark.pdf new file mode 100644 index 0000000..d0c2f83 Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/NHL/blues.imageset/blues-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/blues.imageset/blues.png b/LazyManCore/Resources/Logos.xcassets/NHL/blues.imageset/blues.png deleted file mode 100644 index 4f4c986..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/NHL/blues.imageset/blues.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/bruins.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/NHL/bruins.imageset/Contents.json index 0bb518e..dc0da27 100644 --- a/LazyManCore/Resources/Logos.xcassets/NHL/bruins.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/NHL/bruins.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "bruins.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "bruins-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/bruins.imageset/bruins-dark.pdf b/LazyManCore/Resources/Logos.xcassets/NHL/bruins.imageset/bruins-dark.pdf new file mode 100644 index 0000000..c168dfd Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/NHL/bruins.imageset/bruins-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/bruins.imageset/bruins.png b/LazyManCore/Resources/Logos.xcassets/NHL/bruins.imageset/bruins.png deleted file mode 100644 index 4825c79..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/NHL/bruins.imageset/bruins.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/canadiens.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/NHL/canadiens.imageset/Contents.json index 3a77857..9811656 100644 --- a/LazyManCore/Resources/Logos.xcassets/NHL/canadiens.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/NHL/canadiens.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "canadians.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "canadiens-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/canadiens.imageset/canadians.png b/LazyManCore/Resources/Logos.xcassets/NHL/canadiens.imageset/canadians.png deleted file mode 100644 index f99b733..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/NHL/canadiens.imageset/canadians.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/canadiens.imageset/canadiens-dark.pdf b/LazyManCore/Resources/Logos.xcassets/NHL/canadiens.imageset/canadiens-dark.pdf new file mode 100644 index 0000000..086cd2a Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/NHL/canadiens.imageset/canadiens-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/canucks.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/NHL/canucks.imageset/Contents.json index 6378487..0e47ba5 100644 --- a/LazyManCore/Resources/Logos.xcassets/NHL/canucks.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/NHL/canucks.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "canucks.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "canucks-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/canucks.imageset/canucks-dark.pdf b/LazyManCore/Resources/Logos.xcassets/NHL/canucks.imageset/canucks-dark.pdf new file mode 100644 index 0000000..18ea0f0 Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/NHL/canucks.imageset/canucks-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/canucks.imageset/canucks.png b/LazyManCore/Resources/Logos.xcassets/NHL/canucks.imageset/canucks.png deleted file mode 100644 index 990e150..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/NHL/canucks.imageset/canucks.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/capitals.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/NHL/capitals.imageset/Contents.json index 4468898..1290bf2 100644 --- a/LazyManCore/Resources/Logos.xcassets/NHL/capitals.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/NHL/capitals.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "capitals.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "capitals-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/capitals.imageset/capitals-dark.pdf b/LazyManCore/Resources/Logos.xcassets/NHL/capitals.imageset/capitals-dark.pdf new file mode 100644 index 0000000..039cf3e Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/NHL/capitals.imageset/capitals-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/capitals.imageset/capitals.png b/LazyManCore/Resources/Logos.xcassets/NHL/capitals.imageset/capitals.png deleted file mode 100644 index cb85b47..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/NHL/capitals.imageset/capitals.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/coyotes.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/NHL/coyotes.imageset/Contents.json index 888b794..303be6e 100644 --- a/LazyManCore/Resources/Logos.xcassets/NHL/coyotes.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/NHL/coyotes.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "coyotes.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "coyotes-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/coyotes.imageset/coyotes-dark.pdf b/LazyManCore/Resources/Logos.xcassets/NHL/coyotes.imageset/coyotes-dark.pdf new file mode 100644 index 0000000..4e551d9 Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/NHL/coyotes.imageset/coyotes-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/coyotes.imageset/coyotes.png b/LazyManCore/Resources/Logos.xcassets/NHL/coyotes.imageset/coyotes.png deleted file mode 100644 index ac9da03..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/NHL/coyotes.imageset/coyotes.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/devils.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/NHL/devils.imageset/Contents.json index 1227aa8..5d6f5d0 100644 --- a/LazyManCore/Resources/Logos.xcassets/NHL/devils.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/NHL/devils.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "devils.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "devils-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/devils.imageset/devils-dark.pdf b/LazyManCore/Resources/Logos.xcassets/NHL/devils.imageset/devils-dark.pdf new file mode 100644 index 0000000..85d0bcc Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/NHL/devils.imageset/devils-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/devils.imageset/devils.png b/LazyManCore/Resources/Logos.xcassets/NHL/devils.imageset/devils.png deleted file mode 100644 index 18c28b9..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/NHL/devils.imageset/devils.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/ducks.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/NHL/ducks.imageset/Contents.json index 922951c..8b44e57 100644 --- a/LazyManCore/Resources/Logos.xcassets/NHL/ducks.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/NHL/ducks.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "ducks.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "ducks-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/ducks.imageset/ducks-dark.pdf b/LazyManCore/Resources/Logos.xcassets/NHL/ducks.imageset/ducks-dark.pdf new file mode 100644 index 0000000..506d3ad Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/NHL/ducks.imageset/ducks-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/ducks.imageset/ducks.png b/LazyManCore/Resources/Logos.xcassets/NHL/ducks.imageset/ducks.png deleted file mode 100644 index 410c78c..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/NHL/ducks.imageset/ducks.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/flames.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/NHL/flames.imageset/Contents.json index 3129b07..80e9366 100644 --- a/LazyManCore/Resources/Logos.xcassets/NHL/flames.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/NHL/flames.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "flames.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "flames-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/flames.imageset/flames-dark.pdf b/LazyManCore/Resources/Logos.xcassets/NHL/flames.imageset/flames-dark.pdf new file mode 100644 index 0000000..549ad19 Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/NHL/flames.imageset/flames-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/flames.imageset/flames.png b/LazyManCore/Resources/Logos.xcassets/NHL/flames.imageset/flames.png deleted file mode 100644 index a4bd4a0..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/NHL/flames.imageset/flames.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/flyers.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/NHL/flyers.imageset/Contents.json index 483934e..beae709 100644 --- a/LazyManCore/Resources/Logos.xcassets/NHL/flyers.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/NHL/flyers.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "flyers.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "flyers-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/flyers.imageset/flyers-dark.pdf b/LazyManCore/Resources/Logos.xcassets/NHL/flyers.imageset/flyers-dark.pdf new file mode 100644 index 0000000..58478cc Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/NHL/flyers.imageset/flyers-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/flyers.imageset/flyers.png b/LazyManCore/Resources/Logos.xcassets/NHL/flyers.imageset/flyers.png deleted file mode 100644 index e2d2c0b..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/NHL/flyers.imageset/flyers.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/golden-knights.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/NHL/golden-knights.imageset/Contents.json index 31737a3..50da79c 100644 --- a/LazyManCore/Resources/Logos.xcassets/NHL/golden-knights.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/NHL/golden-knights.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "golden-knights.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "golden-knights-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/golden-knights.imageset/golden-knights-dark.pdf b/LazyManCore/Resources/Logos.xcassets/NHL/golden-knights.imageset/golden-knights-dark.pdf new file mode 100644 index 0000000..2304108 Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/NHL/golden-knights.imageset/golden-knights-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/golden-knights.imageset/golden-knights.png b/LazyManCore/Resources/Logos.xcassets/NHL/golden-knights.imageset/golden-knights.png deleted file mode 100644 index e8e7937..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/NHL/golden-knights.imageset/golden-knights.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/hurricanes.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/NHL/hurricanes.imageset/Contents.json index 08b0fa0..e438776 100644 --- a/LazyManCore/Resources/Logos.xcassets/NHL/hurricanes.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/NHL/hurricanes.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "hurricanes.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "hurricanes-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/hurricanes.imageset/hurricanes-dark.pdf b/LazyManCore/Resources/Logos.xcassets/NHL/hurricanes.imageset/hurricanes-dark.pdf new file mode 100644 index 0000000..78f4167 Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/NHL/hurricanes.imageset/hurricanes-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/hurricanes.imageset/hurricanes.png b/LazyManCore/Resources/Logos.xcassets/NHL/hurricanes.imageset/hurricanes.png deleted file mode 100644 index 2947c48..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/NHL/hurricanes.imageset/hurricanes.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/islanders.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/NHL/islanders.imageset/Contents.json index 83d2e1a..b6b608e 100644 --- a/LazyManCore/Resources/Logos.xcassets/NHL/islanders.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/NHL/islanders.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "islanders.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "islanders-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/islanders.imageset/islanders-dark.pdf b/LazyManCore/Resources/Logos.xcassets/NHL/islanders.imageset/islanders-dark.pdf new file mode 100644 index 0000000..051fa45 Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/NHL/islanders.imageset/islanders-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/islanders.imageset/islanders.png b/LazyManCore/Resources/Logos.xcassets/NHL/islanders.imageset/islanders.png deleted file mode 100644 index 54aaf7a..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/NHL/islanders.imageset/islanders.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/jets.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/NHL/jets.imageset/Contents.json index 270e9e0..36ce821 100644 --- a/LazyManCore/Resources/Logos.xcassets/NHL/jets.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/NHL/jets.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "jets.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "jets-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/jets.imageset/jets-dark.pdf b/LazyManCore/Resources/Logos.xcassets/NHL/jets.imageset/jets-dark.pdf new file mode 100644 index 0000000..d2352d3 Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/NHL/jets.imageset/jets-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/jets.imageset/jets.png b/LazyManCore/Resources/Logos.xcassets/NHL/jets.imageset/jets.png deleted file mode 100644 index c302e5b..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/NHL/jets.imageset/jets.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/kings.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/NHL/kings.imageset/Contents.json index bd2e1e2..225a848 100644 --- a/LazyManCore/Resources/Logos.xcassets/NHL/kings.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/NHL/kings.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "kings.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "kings-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/kings.imageset/kings-dark.pdf b/LazyManCore/Resources/Logos.xcassets/NHL/kings.imageset/kings-dark.pdf new file mode 100644 index 0000000..e87c8ea Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/NHL/kings.imageset/kings-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/kings.imageset/kings.png b/LazyManCore/Resources/Logos.xcassets/NHL/kings.imageset/kings.png deleted file mode 100644 index 5ed41e8..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/NHL/kings.imageset/kings.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/kraken.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/NHL/kraken.imageset/Contents.json new file mode 100644 index 0000000..ac5b8f9 --- /dev/null +++ b/LazyManCore/Resources/Logos.xcassets/NHL/kraken.imageset/Contents.json @@ -0,0 +1,15 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "kraken-dark.pdf" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true + } +} \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/kraken.imageset/kraken-dark.pdf b/LazyManCore/Resources/Logos.xcassets/NHL/kraken.imageset/kraken-dark.pdf new file mode 100644 index 0000000..74fbbc4 Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/NHL/kraken.imageset/kraken-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/lightning.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/NHL/lightning.imageset/Contents.json index 6b7fa20..e47375b 100644 --- a/LazyManCore/Resources/Logos.xcassets/NHL/lightning.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/NHL/lightning.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "lightning.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "lightning-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/lightning.imageset/lightning-dark.pdf b/LazyManCore/Resources/Logos.xcassets/NHL/lightning.imageset/lightning-dark.pdf new file mode 100644 index 0000000..60fe7a0 Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/NHL/lightning.imageset/lightning-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/lightning.imageset/lightning.png b/LazyManCore/Resources/Logos.xcassets/NHL/lightning.imageset/lightning.png deleted file mode 100644 index 7200d14..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/NHL/lightning.imageset/lightning.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/maple-leafs.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/NHL/maple-leafs.imageset/Contents.json index a9a22c4..96ce70a 100644 --- a/LazyManCore/Resources/Logos.xcassets/NHL/maple-leafs.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/NHL/maple-leafs.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "maple-leafs.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "maple-leafs-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/maple-leafs.imageset/maple-leafs-dark.pdf b/LazyManCore/Resources/Logos.xcassets/NHL/maple-leafs.imageset/maple-leafs-dark.pdf new file mode 100644 index 0000000..f102a6f Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/NHL/maple-leafs.imageset/maple-leafs-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/maple-leafs.imageset/maple-leafs.png b/LazyManCore/Resources/Logos.xcassets/NHL/maple-leafs.imageset/maple-leafs.png deleted file mode 100644 index da135c3..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/NHL/maple-leafs.imageset/maple-leafs.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/oilers.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/NHL/oilers.imageset/Contents.json index 381d843..9062e80 100644 --- a/LazyManCore/Resources/Logos.xcassets/NHL/oilers.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/NHL/oilers.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "oilers.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "oilers-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/oilers.imageset/oilers-dark.pdf b/LazyManCore/Resources/Logos.xcassets/NHL/oilers.imageset/oilers-dark.pdf new file mode 100644 index 0000000..587f7b4 Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/NHL/oilers.imageset/oilers-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/oilers.imageset/oilers.png b/LazyManCore/Resources/Logos.xcassets/NHL/oilers.imageset/oilers.png deleted file mode 100644 index b6e7c3c..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/NHL/oilers.imageset/oilers.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/panthers.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/NHL/panthers.imageset/Contents.json index b265561..91dcc7b 100644 --- a/LazyManCore/Resources/Logos.xcassets/NHL/panthers.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/NHL/panthers.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "panthers.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "panthers-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/panthers.imageset/panthers-dark.pdf b/LazyManCore/Resources/Logos.xcassets/NHL/panthers.imageset/panthers-dark.pdf new file mode 100644 index 0000000..c1a678f Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/NHL/panthers.imageset/panthers-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/panthers.imageset/panthers.png b/LazyManCore/Resources/Logos.xcassets/NHL/panthers.imageset/panthers.png deleted file mode 100644 index 5e3e712..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/NHL/panthers.imageset/panthers.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/penguins.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/NHL/penguins.imageset/Contents.json index eff17f6..a42db51 100644 --- a/LazyManCore/Resources/Logos.xcassets/NHL/penguins.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/NHL/penguins.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "penguins.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "penguins-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/penguins.imageset/penguins-dark.pdf b/LazyManCore/Resources/Logos.xcassets/NHL/penguins.imageset/penguins-dark.pdf new file mode 100644 index 0000000..aadb0fa Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/NHL/penguins.imageset/penguins-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/penguins.imageset/penguins.png b/LazyManCore/Resources/Logos.xcassets/NHL/penguins.imageset/penguins.png deleted file mode 100644 index 6c12c4a..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/NHL/penguins.imageset/penguins.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/predators.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/NHL/predators.imageset/Contents.json index 7d0e4b8..61efcaf 100644 --- a/LazyManCore/Resources/Logos.xcassets/NHL/predators.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/NHL/predators.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "predators.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "predators-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/predators.imageset/predators-dark.pdf b/LazyManCore/Resources/Logos.xcassets/NHL/predators.imageset/predators-dark.pdf new file mode 100644 index 0000000..67c5a59 Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/NHL/predators.imageset/predators-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/predators.imageset/predators.png b/LazyManCore/Resources/Logos.xcassets/NHL/predators.imageset/predators.png deleted file mode 100644 index 483c228..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/NHL/predators.imageset/predators.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/rangers.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/NHL/rangers.imageset/Contents.json index fd5c08c..7ec43c3 100644 --- a/LazyManCore/Resources/Logos.xcassets/NHL/rangers.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/NHL/rangers.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "rangers.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "rangers-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/rangers.imageset/rangers-dark.pdf b/LazyManCore/Resources/Logos.xcassets/NHL/rangers.imageset/rangers-dark.pdf new file mode 100644 index 0000000..71795b9 Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/NHL/rangers.imageset/rangers-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/rangers.imageset/rangers.png b/LazyManCore/Resources/Logos.xcassets/NHL/rangers.imageset/rangers.png deleted file mode 100644 index 625c989..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/NHL/rangers.imageset/rangers.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/red-wings.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/NHL/red-wings.imageset/Contents.json index 3e00f5d..06f4aa3 100644 --- a/LazyManCore/Resources/Logos.xcassets/NHL/red-wings.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/NHL/red-wings.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "red-wings.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "red-wings-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/red-wings.imageset/red-wings-dark.pdf b/LazyManCore/Resources/Logos.xcassets/NHL/red-wings.imageset/red-wings-dark.pdf new file mode 100644 index 0000000..5419da7 Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/NHL/red-wings.imageset/red-wings-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/red-wings.imageset/red-wings.png b/LazyManCore/Resources/Logos.xcassets/NHL/red-wings.imageset/red-wings.png deleted file mode 100644 index 791ba65..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/NHL/red-wings.imageset/red-wings.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/sabres.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/NHL/sabres.imageset/Contents.json index 6f67c74..96d2989 100644 --- a/LazyManCore/Resources/Logos.xcassets/NHL/sabres.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/NHL/sabres.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "sabres.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "sabres-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/sabres.imageset/sabres-dark.pdf b/LazyManCore/Resources/Logos.xcassets/NHL/sabres.imageset/sabres-dark.pdf new file mode 100644 index 0000000..72fc381 Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/NHL/sabres.imageset/sabres-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/sabres.imageset/sabres.png b/LazyManCore/Resources/Logos.xcassets/NHL/sabres.imageset/sabres.png deleted file mode 100644 index c885ecb..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/NHL/sabres.imageset/sabres.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/senators.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/NHL/senators.imageset/Contents.json index b442a59..3a2042d 100644 --- a/LazyManCore/Resources/Logos.xcassets/NHL/senators.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/NHL/senators.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "senators.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "senators-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/senators.imageset/senators-dark.pdf b/LazyManCore/Resources/Logos.xcassets/NHL/senators.imageset/senators-dark.pdf new file mode 100644 index 0000000..a34cf06 Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/NHL/senators.imageset/senators-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/senators.imageset/senators.png b/LazyManCore/Resources/Logos.xcassets/NHL/senators.imageset/senators.png deleted file mode 100644 index a6f50e5..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/NHL/senators.imageset/senators.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/sharks.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/NHL/sharks.imageset/Contents.json index 66ad78a..0b2860a 100644 --- a/LazyManCore/Resources/Logos.xcassets/NHL/sharks.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/NHL/sharks.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "sharks.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "sharks-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/sharks.imageset/sharks-dark.pdf b/LazyManCore/Resources/Logos.xcassets/NHL/sharks.imageset/sharks-dark.pdf new file mode 100644 index 0000000..ba0a9f5 Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/NHL/sharks.imageset/sharks-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/sharks.imageset/sharks.png b/LazyManCore/Resources/Logos.xcassets/NHL/sharks.imageset/sharks.png deleted file mode 100644 index 0a141d5..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/NHL/sharks.imageset/sharks.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/stars.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/NHL/stars.imageset/Contents.json index c9409d3..678b0a2 100644 --- a/LazyManCore/Resources/Logos.xcassets/NHL/stars.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/NHL/stars.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "stars.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "stars-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/stars.imageset/stars-dark.pdf b/LazyManCore/Resources/Logos.xcassets/NHL/stars.imageset/stars-dark.pdf new file mode 100644 index 0000000..f042cdc Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/NHL/stars.imageset/stars-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/stars.imageset/stars.png b/LazyManCore/Resources/Logos.xcassets/NHL/stars.imageset/stars.png deleted file mode 100644 index ab26b0e..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/NHL/stars.imageset/stars.png and /dev/null differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/wild.imageset/Contents.json b/LazyManCore/Resources/Logos.xcassets/NHL/wild.imageset/Contents.json index d254dff..a1aa465 100644 --- a/LazyManCore/Resources/Logos.xcassets/NHL/wild.imageset/Contents.json +++ b/LazyManCore/Resources/Logos.xcassets/NHL/wild.imageset/Contents.json @@ -2,20 +2,14 @@ "images" : [ { "idiom" : "universal", - "filename" : "wild.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" + "filename" : "wild-dark.pdf" } ], "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "preserves-vector-representation" : true } } \ No newline at end of file diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/wild.imageset/wild-dark.pdf b/LazyManCore/Resources/Logos.xcassets/NHL/wild.imageset/wild-dark.pdf new file mode 100644 index 0000000..339c729 Binary files /dev/null and b/LazyManCore/Resources/Logos.xcassets/NHL/wild.imageset/wild-dark.pdf differ diff --git a/LazyManCore/Resources/Logos.xcassets/NHL/wild.imageset/wild.png b/LazyManCore/Resources/Logos.xcassets/NHL/wild.imageset/wild.png deleted file mode 100644 index efe849d..0000000 Binary files a/LazyManCore/Resources/Logos.xcassets/NHL/wild.imageset/wild.png and /dev/null differ diff --git a/LazyManCore/Resources/MLBTeams.plist b/LazyManCore/Resources/MLBTeams.plist index 0cba081..142f5eb 100644 --- a/LazyManCore/Resources/MLBTeams.plist +++ b/LazyManCore/Resources/MLBTeams.plist @@ -3,304 +3,304 @@ + abbreviation + ARI + league + MLB name Arizona Diamondbacks teamName D-backs + + abbreviation - ARI + ATL league MLB - - name Atlanta Braves teamName Braves + + abbreviation - ATL + BAL league MLB - - name Baltimore Orioles teamName Orioles + + abbreviation - BAL + BOS league MLB - - name Boston Red Sox teamName Red Sox + + abbreviation - BOS + CHC league MLB - - name Chicago Cubs teamName Cubs + + abbreviation - CHC + CWS league MLB - - name Chicago White Sox teamName White Sox + + abbreviation - CWS + CIN league MLB - - name Cincinnati Reds teamName Reds + + abbreviation - CIN + CLE league MLB - - name Cleveland Indians teamName Indians + + abbreviation - CLE + COL league MLB - - name Colorado Rockies teamName Rockies + + abbreviation - COL + DET league MLB - - name Detroit Tigers teamName Tigers + + abbreviation - DET + HOU league MLB - - name Houston Astros teamName Astros + + abbreviation - HOU + KC league MLB - - name Kansas City Royals teamName Royals + + abbreviation - KC + LAA league MLB - - name Los Angeles Angels teamName Angels + + abbreviation - LAA + LAD league MLB - - name Los Angeles Dodgers teamName Dodgers + + abbreviation - LAD + MIA league MLB - - name Miami Marlins teamName Marlins + + abbreviation - MIA + MIL league MLB - - name Milwaukee Brewers teamName Brewers + + abbreviation - MIL + MIN league MLB - - name Minnesota Twins teamName Twins + + abbreviation - MIN + NYM league MLB - - name New York Mets teamName Mets + + abbreviation - NYM + NYY league MLB - - name New York Yankees teamName Yankees + + abbreviation - NYY + OAK league MLB - - name Oakland Athletics teamName Athletics + + abbreviation - OAK + PHI league MLB - - name Philadelphia Phillies teamName Phillies + + abbreviation - PHI + PIT league MLB - - name Pittsburgh Pirates teamName Pirates + + abbreviation - PIT + SD league MLB - - name San Diego Padres teamName Padres + + abbreviation - SD + SF league MLB - - name San Francisco Giants teamName Giants + + abbreviation - SF + SEA league MLB - - name Seattle Mariners teamName Mariners + + abbreviation - SEA + STL league MLB - - name St. Louis Cardinals teamName Cardinals + + abbreviation - STL + TB league MLB - - name Tampa Bay Rays teamName Rays + + abbreviation - TB + TEX league MLB - - name Texas Rangers teamName Rangers + + abbreviation - TEX + TOR league MLB - - name Toronto Blue Jays teamName Blue Jays + + abbreviation - TOR + WSH league MLB - - name Washington Nationals teamName Nationals - abbreviation - WSH - league - MLB diff --git a/LazyManCore/Resources/NHLTeams.plist b/LazyManCore/Resources/NHLTeams.plist index fcb334f..52b03af 100644 --- a/LazyManCore/Resources/NHLTeams.plist +++ b/LazyManCore/Resources/NHLTeams.plist @@ -3,314 +3,324 @@ + abbreviation + ANA + league + NHL name Anaheim Ducks teamName Ducks + + abbreviation - ANA + ARI league NHL - - name Arizona Coyotes teamName Coyotes + + abbreviation - ARI + BOS league NHL - - name Boston Bruins teamName Bruins + + abbreviation - BOS + BUF league NHL - - name Buffalo Sabres teamName Sabres + + abbreviation - BUF + CGY league NHL - - name Calgary Flames teamName Flames + + abbreviation - CGY + CAR league NHL - - name Carolina Hurricanes teamName Hurricanes + + abbreviation - CAR + CHI league NHL - - name Chicago Blackhawks teamName Blackhawks + + abbreviation - CHI + COL league NHL - - name Colorado Avalanche teamName Avalanche + + abbreviation - COL + CBJ league NHL - - name Columbus Blue Jackets teamName Blue Jackets + + abbreviation - CBJ + DAL league NHL - - name Dallas Stars teamName Stars + + abbreviation - DAL + DET league NHL - - name Detroit Red Wings teamName Red Wings + + abbreviation - DET + EDM league NHL - - name Edmonton Oilers teamName Oilers + + abbreviation - EDM + FLA league NHL - - name Florida Panthers teamName Panthers + + abbreviation - FLA + LAK league NHL - - name Los Angeles Kings teamName Kings + + abbreviation - LAK + MIN league NHL - - name Minnesota Wild teamName Wild + + abbreviation - MIN + MTL league NHL - - name Montréal Canadiens teamName Canadiens + + abbreviation - MTL + NSH league NHL - - name Nashville Predators teamName Predators + + abbreviation - NSH + NJD league NHL - - name New Jersey Devils teamName Devils + + abbreviation - NJD + NYI league NHL - - name New York Islanders teamName Islanders + + abbreviation - NYI + NYR league NHL - - name New York Rangers teamName Rangers + + abbreviation - NYR + OTT league NHL - - name Ottawa Senators teamName Senators + + abbreviation - OTT + PHI league NHL - - name Philadelphia Flyers teamName Flyers + + abbreviation - PHI + PIT league NHL - - name Pittsburgh Penguins teamName Penguins + + abbreviation - PIT + SJS league NHL - - name San Jose Sharks teamName Sharks + + abbreviation - SJS + SEA league NHL + name + Seattle Kraken + teamName + Kraken + abbreviation + STL + league + NHL name St. Louis Blues teamName Blues + + abbreviation - STL + TBL league NHL - - name Tampa Bay Lightning teamName Lightning + + abbreviation - TBL + TOR league NHL - - name Toronto Maple Leafs teamName Maple Leafs + + abbreviation - TOR + VAN league NHL - - name Vancouver Canucks teamName Canucks + + abbreviation - VAN + VGK league NHL - - name Vegas Golden Knights teamName Golden Knights + + abbreviation - VGK + WSH league NHL - - name Washington Capitals teamName Capitals + + abbreviation - WSH + WPG league NHL - - name Winnipeg Jets teamName Jets - abbreviation - WPG - league - NHL diff --git a/Podfile b/Podfile index e9b6cab..1ec32ff 100644 --- a/Podfile +++ b/Podfile @@ -32,9 +32,8 @@ target 'LazyMan-iOS' do pod 'FSCalendar', '2.7.9', :inhibit_warnings => true pod 'Pantomime', :git => 'https://github.com/inickt/Pantomime.git', :branch => 'master', :inhibit_warnings => true pod 'OptionSelector', '~> 0.2' - pod 'Firebase/Core' - pod 'Fabric' - pod 'Crashlytics' + pod 'Firebase/Analytics' + pod 'Firebase/Crashlytics' pod 'google-cast-sdk' end diff --git a/Podfile.lock b/Podfile.lock index c34ddbf..f5c3430 100644 --- a/Podfile.lock +++ b/Podfile.lock @@ -1,84 +1,89 @@ PODS: - - Crashlytics (3.14.0): - - Fabric (~> 1.10.2) - - Fabric (1.10.2) - - Firebase/Core (6.14.0): + - Firebase/Analytics (6.34.0): + - Firebase/Core + - Firebase/Core (6.34.0): - Firebase/CoreOnly - - FirebaseAnalytics (= 6.1.7) - - Firebase/CoreOnly (6.14.0): - - FirebaseCore (= 6.5.0) - - FirebaseAnalytics (6.1.7): - - FirebaseCore (~> 6.5) - - FirebaseInstanceID (~> 4.2) - - GoogleAppMeasurement (= 6.1.7) - - GoogleUtilities/AppDelegateSwizzler (~> 6.0) - - GoogleUtilities/MethodSwizzler (~> 6.0) - - GoogleUtilities/Network (~> 6.0) - - "GoogleUtilities/NSData+zlib (~> 6.0)" - - nanopb (= 0.3.9011) - - FirebaseCore (6.5.0): - - FirebaseCoreDiagnostics (~> 1.0) - - FirebaseCoreDiagnosticsInterop (~> 1.0) - - GoogleUtilities/Environment (~> 6.4) - - GoogleUtilities/Logger (~> 6.4) - - FirebaseCoreDiagnostics (1.1.2): - - FirebaseCoreDiagnosticsInterop (~> 1.0) - - GoogleDataTransportCCTSupport (~> 1.0) - - GoogleUtilities/Environment (~> 6.2) - - GoogleUtilities/Logger (~> 6.2) - - nanopb (~> 0.3.901) - - FirebaseCoreDiagnosticsInterop (1.1.0) - - FirebaseInstanceID (4.2.8): - - FirebaseCore (~> 6.5) - - GoogleUtilities/Environment (~> 6.4) - - GoogleUtilities/UserDefaults (~> 6.4) + - FirebaseAnalytics (= 6.9.0) + - Firebase/CoreOnly (6.34.0): + - FirebaseCore (= 6.10.4) + - Firebase/Crashlytics (6.34.0): + - Firebase/CoreOnly + - FirebaseCrashlytics (~> 4.6.2) + - FirebaseAnalytics (6.9.0): + - FirebaseCore (~> 6.10) + - FirebaseInstallations (~> 1.7) + - GoogleAppMeasurement (= 6.9.0) + - GoogleUtilities/AppDelegateSwizzler (~> 6.7) + - GoogleUtilities/MethodSwizzler (~> 6.7) + - GoogleUtilities/Network (~> 6.7) + - "GoogleUtilities/NSData+zlib (~> 6.7)" + - nanopb (~> 1.30906.0) + - FirebaseCore (6.10.4): + - FirebaseCoreDiagnostics (~> 1.6) + - GoogleUtilities/Environment (~> 6.7) + - GoogleUtilities/Logger (~> 6.7) + - FirebaseCoreDiagnostics (1.7.0): + - GoogleDataTransport (~> 7.4) + - GoogleUtilities/Environment (~> 6.7) + - GoogleUtilities/Logger (~> 6.7) + - nanopb (~> 1.30906.0) + - FirebaseCrashlytics (4.6.2): + - FirebaseCore (~> 6.10) + - FirebaseInstallations (~> 1.6) + - GoogleDataTransport (~> 7.2) + - nanopb (~> 1.30906.0) + - PromisesObjC (~> 1.2) + - FirebaseInstallations (1.7.0): + - FirebaseCore (~> 6.10) + - GoogleUtilities/Environment (~> 6.7) + - GoogleUtilities/UserDefaults (~> 6.7) + - PromisesObjC (~> 1.2) - FSCalendar (2.7.9) - google-cast-sdk (4.4.6): - google-cast-sdk/Core (= 4.4.6) - Protobuf (~> 3.0) - google-cast-sdk/Core (4.4.6): - Protobuf (~> 3.0) - - GoogleAppMeasurement (6.1.7): - - GoogleUtilities/AppDelegateSwizzler (~> 6.0) - - GoogleUtilities/MethodSwizzler (~> 6.0) - - GoogleUtilities/Network (~> 6.0) - - "GoogleUtilities/NSData+zlib (~> 6.0)" - - nanopb (= 0.3.9011) - - GoogleDataTransport (3.2.0) - - GoogleDataTransportCCTSupport (1.2.3): - - GoogleDataTransport (~> 3.2) - - nanopb (~> 0.3.901) - - GoogleUtilities/AppDelegateSwizzler (6.4.0): + - GoogleAppMeasurement (6.9.0): + - GoogleUtilities/AppDelegateSwizzler (~> 6.7) + - GoogleUtilities/MethodSwizzler (~> 6.7) + - GoogleUtilities/Network (~> 6.7) + - "GoogleUtilities/NSData+zlib (~> 6.7)" + - nanopb (~> 1.30906.0) + - GoogleDataTransport (7.5.1): + - nanopb (~> 1.30906.0) + - GoogleUtilities/AppDelegateSwizzler (6.7.2): - GoogleUtilities/Environment - GoogleUtilities/Logger - GoogleUtilities/Network - - GoogleUtilities/Environment (6.4.0) - - GoogleUtilities/Logger (6.4.0): + - GoogleUtilities/Environment (6.7.2): + - PromisesObjC (~> 1.2) + - GoogleUtilities/Logger (6.7.2): - GoogleUtilities/Environment - - GoogleUtilities/MethodSwizzler (6.4.0): + - GoogleUtilities/MethodSwizzler (6.7.2): - GoogleUtilities/Logger - - GoogleUtilities/Network (6.4.0): + - GoogleUtilities/Network (6.7.2): - GoogleUtilities/Logger - "GoogleUtilities/NSData+zlib" - GoogleUtilities/Reachability - - "GoogleUtilities/NSData+zlib (6.4.0)" - - GoogleUtilities/Reachability (6.4.0): + - "GoogleUtilities/NSData+zlib (6.7.2)" + - GoogleUtilities/Reachability (6.7.2): - GoogleUtilities/Logger - - GoogleUtilities/UserDefaults (6.4.0): + - GoogleUtilities/UserDefaults (6.7.2): - GoogleUtilities/Logger - - nanopb (0.3.9011): - - nanopb/decode (= 0.3.9011) - - nanopb/encode (= 0.3.9011) - - nanopb/decode (0.3.9011) - - nanopb/encode (0.3.9011) + - nanopb (1.30906.0): + - nanopb/decode (= 1.30906.0) + - nanopb/encode (= 1.30906.0) + - nanopb/decode (1.30906.0) + - nanopb/encode (1.30906.0) - OptionSelector (0.2.3) - Pantomime (0.1.5) + - PromisesObjC (1.2.12) - Protobuf (3.11.2) DEPENDENCIES: - - Crashlytics - - Fabric - - Firebase/Core + - Firebase/Analytics + - Firebase/Crashlytics - FSCalendar (= 2.7.9) - google-cast-sdk - OptionSelector (~> 0.2) @@ -86,22 +91,20 @@ DEPENDENCIES: SPEC REPOS: trunk: - - Crashlytics - - Fabric - Firebase - FirebaseAnalytics - FirebaseCore - FirebaseCoreDiagnostics - - FirebaseCoreDiagnosticsInterop - - FirebaseInstanceID + - FirebaseCrashlytics + - FirebaseInstallations - FSCalendar - google-cast-sdk - GoogleAppMeasurement - GoogleDataTransport - - GoogleDataTransportCCTSupport - GoogleUtilities - nanopb - OptionSelector + - PromisesObjC - Protobuf EXTERNAL SOURCES: @@ -115,25 +118,23 @@ CHECKOUT OPTIONS: :git: https://github.com/inickt/Pantomime.git SPEC CHECKSUMS: - Crashlytics: 540b7e5f5da5a042647227a5e3ac51d85eed06df - Fabric: 706c8b8098fff96c33c0db69cbf81f9c551d0d74 - Firebase: 0219bb4782eb1406f1b9b0628a2e625484ce910d - FirebaseAnalytics: f68b9f3f1241385129ae0a83b63627fc420c05e5 - FirebaseCore: 632e05cc5e1199d9147122c16d92305eb04c34bd - FirebaseCoreDiagnostics: 511f4f3ed7d440bb69127e8b97c2bc8befae639e - FirebaseCoreDiagnosticsInterop: e9b1b023157e3a2fc6418b5cb601e79b9af7b3a0 - FirebaseInstanceID: ce993a3c3670a8f5d47ce371ac5d143c560608c5 + Firebase: c23a36d9e4cdf7877dfcba8dd0c58add66358999 + FirebaseAnalytics: 3bb096873ee0d7fa4b6c70f5e9166b6da413cc7f + FirebaseCore: d3a978a3cfa3240bf7e4ba7d137fdf5b22b628ec + FirebaseCoreDiagnostics: 770ac5958e1372ce67959ae4b4f31d8e127c3ac1 + FirebaseCrashlytics: 1a747c9cc084a24dc6d9511c991db1cd078154eb + FirebaseInstallations: 466c7b4d1f58fe16707693091da253726a731ed2 FSCalendar: a04b09f16f811bc92e82f3cf852a15225233b9d5 google-cast-sdk: df8b7421e35c6f9f54fc89e437d847b56d4a7885 - GoogleAppMeasurement: db118eb61a97dd8c4f7014e368d3c335cbbcf80a - GoogleDataTransport: 8e9b210c97d55fbff306cc5468ff91b9cb32dcf5 - GoogleDataTransportCCTSupport: 202d7cdf9c4a7d81a2bb7f7e7e1ba6faa421b1f2 - GoogleUtilities: 29bd0d8f850efbd28cff6d99e8b7da1f8d236bcf - nanopb: 18003b5e52dab79db540fe93fe9579f399bd1ccd + GoogleAppMeasurement: a6a3a066369828db64eda428cb2856dc1cdc7c4e + GoogleDataTransport: f56af7caa4ed338dc8e138a5d7c5973e66440833 + GoogleUtilities: 7f2f5a07f888cdb145101d6042bc4422f57e70b3 + nanopb: 59317e09cf1f1a0af72f12af412d54edf52603fc OptionSelector: 2caec96f48686f40eacf73630e472ed774f73fa7 Pantomime: 2aec2b603b91f6d5a4774ecce9c0ed073d3b4e5d + PromisesObjC: 3113f7f76903778cf4a0586bd1ab89329a0b7b97 Protobuf: dd1aaea7140debfe4dd0683fb8ef208e527ae153 -PODFILE CHECKSUM: 3e5f13534e8794b1ff37af951e6f2bdc7ec3bac9 +PODFILE CHECKSUM: 61790808e28ee9b3ba6554b0f3c77ad9ac63be97 -COCOAPODS: 1.9.0 +COCOAPODS: 1.10.2 diff --git a/team-data/.gitignore b/team-data/.gitignore new file mode 100644 index 0000000..a81c8ee --- /dev/null +++ b/team-data/.gitignore @@ -0,0 +1,138 @@ +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class + +# C extensions +*.so + +# Distribution / packaging +.Python +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +wheels/ +share/python-wheels/ +*.egg-info/ +.installed.cfg +*.egg +MANIFEST + +# PyInstaller +# Usually these files are written by a python script from a template +# before PyInstaller builds the exe, so as to inject date/other infos into it. +*.manifest +*.spec + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.nox/ +.coverage +.coverage.* +.cache +nosetests.xml +coverage.xml +*.cover +*.py,cover +.hypothesis/ +.pytest_cache/ +cover/ + +# Translations +*.mo +*.pot + +# Django stuff: +*.log +local_settings.py +db.sqlite3 +db.sqlite3-journal + +# Flask stuff: +instance/ +.webassets-cache + +# Scrapy stuff: +.scrapy + +# Sphinx documentation +docs/_build/ + +# PyBuilder +.pybuilder/ +target/ + +# Jupyter Notebook +.ipynb_checkpoints + +# IPython +profile_default/ +ipython_config.py + +# pyenv +# For a library or package, you might want to ignore these files since the code is +# intended to run in multiple environments; otherwise, check them in: +# .python-version + +# pipenv +# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. +# However, in case of collaboration, if having platform-specific dependencies or dependencies +# having no cross-platform support, pipenv may install dependencies that don't work, or not +# install all needed dependencies. +#Pipfile.lock + +# PEP 582; used by e.g. github.com/David-OConnor/pyflow +__pypackages__/ + +# Celery stuff +celerybeat-schedule +celerybeat.pid + +# SageMath parsed files +*.sage.py + +# Environments +.env +.venv +env/ +venv/ +ENV/ +env.bak/ +venv.bak/ + +# Spyder project settings +.spyderproject +.spyproject + +# Rope project settings +.ropeproject + +# mkdocs documentation +/site + +# mypy +.mypy_cache/ +.dmypy.json +dmypy.json + +# Pyre type checker +.pyre/ + +# pytype static type analyzer +.pytype/ + +# Cython debug symbols +cython_debug/ diff --git a/team-data/main.py b/team-data/main.py new file mode 100644 index 0000000..5e17dae --- /dev/null +++ b/team-data/main.py @@ -0,0 +1,116 @@ +import cairosvg +import requests + +from enum import Enum, auto +import json +from pathlib import Path +import plistlib + +BASE_PATH = Path("build") +LOGO_XCASSET_PATH = BASE_PATH / "Logos.xcassets" +ASSET_INFO = {"info": {"version": 1, "author": "xcode"}} + + +class League(Enum): + NHL = auto() + MLB = auto() + + @property + def teams_url(self): + return { + League.NHL: "https://statsapi.web.nhl.com/api/v1/teams?fields=abbreviation,teams,teamName,id,name", + League.MLB: "https://statsapi.mlb.com/api/v1/teams?fields=abbreviation,teams,teamName,id,name&sportIds=1", + }[self] + + def logo_variants(self, id): + # return [("light", self.light_logo_url(id)), ("dark", self.dark_logo_url(id))] + return [("dark", self.dark_logo_url(id))] + + def light_logo_url(self, id): + return { + League.NHL: f"https://www-league.nhlstatic.com/images/logos/teams-current-primary-light/{id}.svg", + League.MLB: f"https://www.mlbstatic.com/team-logos/team-cap-on-light/{id}.svg", + }[self] + + def dark_logo_url(self, id): + return { + League.NHL: f"https://www-league.nhlstatic.com/images/logos/teams-current-primary-dark/{id}.svg", + League.MLB: f"https://www.mlbstatic.com/team-logos/team-cap-on-dark/{id}.svg", + }[self] + + +def team_data(league: League): + print(f"Generating {league.name} team logos and name data") + teams_response = requests.get(league.teams_url) + teams = sorted(teams_response.json()["teams"], key=lambda t: t["name"]) + + for team in teams: + print(f" {team['name']} ({team['abbreviation']})") + make_imageset(league, team) + del team["id"] + team["league"] = league.name + + write_asset_contents( + LOGO_XCASSET_PATH / league.name, + { + **ASSET_INFO, + "properties": {"provides-namespace": True}, + }, + ) + + make_plist(league, teams) + print(f"Finished generating {league.name} team logos and name data\n") + + +def make_imageset(league: League, team): + team_name, id = team["teamName"], team["id"] + filename_prefix = team_name.lower().replace(" ", "-") + imageset_path = LOGO_XCASSET_PATH / league.name / (filename_prefix + ".imageset") + imageset_path.mkdir(parents=True, exist_ok=True) + + images = [] + for kind, url in league.logo_variants(id): + image_path = imageset_path / (filename_prefix + "-" + kind + ".pdf") + print(f" Writing {team_name} {kind} logo to {image_path}") + with open(image_path, "wb") as file: + cairosvg.svg2pdf(url=url, write_to=file) + images.append( + { + "idiom": "universal", + "filename": image_path.name, + # "appearances": [{"appearance": "luminosity", "value": kind}], + } + ) + + write_asset_contents( + imageset_path, + { + "images": images, + **ASSET_INFO, + "properties": {"preserves-vector-representation": True}, + }, + ) + + +def make_plist(league: League, teams): + plist_path = BASE_PATH / (league.name + "Teams.plist") + print(f"Writing {league.name} team data ({len(teams)}) to {plist_path}") + with open(plist_path, "wb") as file: + plistlib.dump(teams, file) + + +def write_asset_contents(path, attributes): + with open(path / "Contents.json", "w") as file: + json.dump( + attributes, + file, + indent=2, + separators=(",", " : "), + ) + + +if __name__ == "__main__": + for league in League: + team_data(league) + + write_asset_contents(LOGO_XCASSET_PATH, ASSET_INFO) diff --git a/team-data/requirements.txt b/team-data/requirements.txt new file mode 100644 index 0000000..01a5814 --- /dev/null +++ b/team-data/requirements.txt @@ -0,0 +1,3 @@ +requests +black +cairosvg \ No newline at end of file