Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ci_scripts/ci_post_clone.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
# score-ios
#
# Created by Hsia Lu wu on 3/5/25.
#
#

echo "Downloading Secrets"
Expand Down
62 changes: 39 additions & 23 deletions score-ios.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
D86347B12CDBFF7C003DD8F6 /* UpcomingGamesView.swift in Sources */ = {isa = PBXBuildFile; fileRef = D86347B02CDBFF7C003DD8F6 /* UpcomingGamesView.swift */; };
D86347DF2CE98B3C003DD8F6 /* MainTabView.swift in Sources */ = {isa = PBXBuildFile; fileRef = D86347DE2CE98B3C003DD8F6 /* MainTabView.swift */; };
D86347E12CE98D37003DD8F6 /* TabViewIcon.swift in Sources */ = {isa = PBXBuildFile; fileRef = D86347E02CE98D37003DD8F6 /* TabViewIcon.swift */; };
D864B5AB2D793A7400A3A50E /* PastGameViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = D864B5AA2D793A7400A3A50E /* PastGameViewModel.swift */; };
D87787C82CFFAE5A00EA79E1 /* GamesViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = D87787C72CFFAE5200EA79E1 /* GamesViewModel.swift */; };
D87882282CC060FC00421F67 /* GameDetailedScoreView.swift in Sources */ = {isa = PBXBuildFile; fileRef = D87882272CC060FC00421F67 /* GameDetailedScoreView.swift */; };
D89102042CED69EF004CE226 /* Apollo in Frameworks */ = {isa = PBXBuildFile; productRef = D89102032CED69EF004CE226 /* Apollo */; };
Expand All @@ -78,6 +79,9 @@
D8B1C9D12CD2CE3D0095E563 /* PastGamesView.swift in Sources */ = {isa = PBXBuildFile; fileRef = D8B1C9D02CD2CE3C0095E563 /* PastGamesView.swift */; };
D8B1C9D32CD2D20A0095E563 /* PastGameTile.swift in Sources */ = {isa = PBXBuildFile; fileRef = D8B1C9D22CD2D20A0095E563 /* PastGameTile.swift */; };
D8DD4E642CFD48ED00F2C46E /* Team.graphql in Resources */ = {isa = PBXBuildFile; fileRef = D8DD4E632CFD48E400F2C46E /* Team.graphql */; };
FD5A38DB2D8F2BDD00CF5E30 /* GameLoadingView.swift in Sources */ = {isa = PBXBuildFile; fileRef = FD5A38DA2D8F2BDD00CF5E30 /* GameLoadingView.swift */; };
FD5A38DD2D8F30CC00CF5E30 /* GameErrorView.swift in Sources */ = {isa = PBXBuildFile; fileRef = FD5A38DC2D8F30CC00CF5E30 /* GameErrorView.swift */; };
FD5A38DF2D8F3E1400CF5E30 /* ShimmerModifier.swift in Sources */ = {isa = PBXBuildFile; fileRef = FD5A38DE2D8F3E1400CF5E30 /* ShimmerModifier.swift */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand Down Expand Up @@ -162,6 +166,8 @@
D86347B02CDBFF7C003DD8F6 /* UpcomingGamesView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UpcomingGamesView.swift; sourceTree = "<group>"; };
D86347DE2CE98B3C003DD8F6 /* MainTabView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MainTabView.swift; sourceTree = "<group>"; };
D86347E02CE98D37003DD8F6 /* TabViewIcon.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TabViewIcon.swift; sourceTree = "<group>"; };
D864B5A92D79169C00A3A50E /* ci_post_clone.sh */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; path = ci_post_clone.sh; sourceTree = "<group>"; };
D864B5AA2D793A7400A3A50E /* PastGameViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PastGameViewModel.swift; sourceTree = "<group>"; };
D87787C72CFFAE5200EA79E1 /* GamesViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GamesViewModel.swift; sourceTree = "<group>"; };
D87882272CC060FC00421F67 /* GameDetailedScoreView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GameDetailedScoreView.swift; sourceTree = "<group>"; };
D89102062CED6A28004CE226 /* schema.graphqls */ = {isa = PBXFileReference; lastKnownFileType = text; path = schema.graphqls; sourceTree = "<group>"; };
Expand All @@ -172,7 +178,9 @@
D8B1C9D02CD2CE3C0095E563 /* PastGamesView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PastGamesView.swift; sourceTree = "<group>"; };
D8B1C9D22CD2D20A0095E563 /* PastGameTile.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PastGameTile.swift; sourceTree = "<group>"; };
D8DD4E632CFD48E400F2C46E /* Team.graphql */ = {isa = PBXFileReference; lastKnownFileType = text; path = Team.graphql; sourceTree = "<group>"; };
FD31F6D22D792E10001458FA /* ci_post_clone.sh */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; path = ci_post_clone.sh; sourceTree = "<group>"; };
FD5A38DA2D8F2BDD00CF5E30 /* GameLoadingView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GameLoadingView.swift; sourceTree = "<group>"; };
FD5A38DC2D8F30CC00CF5E30 /* GameErrorView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GameErrorView.swift; sourceTree = "<group>"; };
FD5A38DE2D8F3E1400CF5E30 /* ShimmerModifier.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ShimmerModifier.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand Down Expand Up @@ -251,6 +259,7 @@
CE335CD62C922F390037F572 /* Dates.swift */,
CE528FA32C9653C200C238B5 /* Error.swift */,
CE3C9C422D011A23008BFB4C /* OrdinalSuffix.swift */,
FD5A38DE2D8F3E1400CF5E30 /* ShimmerModifier.swift */,
1C87865E2D8CDADC00EBDF74 /* String+Extension.swift */,
);
path = Utils;
Expand Down Expand Up @@ -303,7 +312,7 @@
CE725D2F2C89120100386943 = {
isa = PBXGroup;
children = (
FD31F6D12D792DF4001458FA /* ci_scripts */,
D864B5A82D79168800A3A50E /* ci_scripts */,
CEA25A972D752C6F00B9837A /* ScoreSecrets */,
CE725D3A2C89120200386943 /* score-ios */,
CE725D4B2C89120500386943 /* score-iosTests */,
Expand Down Expand Up @@ -412,6 +421,8 @@
CE8ED50D2D6C3B8000A274DE /* SportSelectorView.swift */,
CE8ED5112D6C3FCB00A274DE /* CarouselView.swift */,
CE8ED5132D6C42D400A274DE /* GameSectionHeaderView.swift */,
FD5A38DA2D8F2BDD00CF5E30 /* GameLoadingView.swift */,
FD5A38DC2D8F30CC00CF5E30 /* GameErrorView.swift */,
);
path = ListViews;
sourceTree = "<group>";
Expand All @@ -432,10 +443,19 @@
path = ScoreSecrets;
sourceTree = "<group>";
};
D864B5A82D79168800A3A50E /* ci_scripts */ = {
isa = PBXGroup;
children = (
D864B5A92D79169C00A3A50E /* ci_post_clone.sh */,
);
path = ci_scripts;
sourceTree = "<group>";
};
D87787C62CFFAE3D00EA79E1 /* ViewModels */ = {
isa = PBXGroup;
children = (
D87787C72CFFAE5200EA79E1 /* GamesViewModel.swift */,
D864B5AA2D793A7400A3A50E /* PastGameViewModel.swift */,
);
path = ViewModels;
sourceTree = "<group>";
Expand Down Expand Up @@ -466,14 +486,6 @@
path = Networking;
sourceTree = "<group>";
};
FD31F6D12D792DF4001458FA /* ci_scripts */ = {
isa = PBXGroup;
children = (
FD31F6D22D792E10001458FA /* ci_post_clone.sh */,
);
path = ci_scripts;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
Expand Down Expand Up @@ -539,7 +551,7 @@
attributes = {
BuildIndependentTargetsInParallel = 1;
LastSwiftUpdateCheck = 1510;
LastUpgradeCheck = 1510;
LastUpgradeCheck = 1620;
TargetAttributes = {
CE725D372C89120200386943 = {
CreatedOnToolsVersion = 15.1;
Expand Down Expand Up @@ -662,7 +674,9 @@
D85802102D6C38700075B036 /* DynamicScoreBox.swift in Sources */,
D8B1C9D32CD2D20A0095E563 /* PastGameTile.swift in Sources */,
CE528FA22C9651C800C238B5 /* UpcomingGameTile.swift in Sources */,
FD5A38DD2D8F30CC00CF5E30 /* GameErrorView.swift in Sources */,
CEA25A932D75279A00B9837A /* ScoreEnvironment.swift in Sources */,
FD5A38DB2D8F2BDD00CF5E30 /* GameLoadingView.swift in Sources */,
CE8ED4FC2D6BF47C00A274DE /* DummyData.swift in Sources */,
CE335CD92C9244230037F572 /* Game.swift in Sources */,
D89102102CF0EBA4004CE226 /* DataCoordinator.swift in Sources */,
Expand All @@ -674,6 +688,7 @@
1C87865D2D8CD76900EBDF74 /* TrailingFadeGradient.swift in Sources */,
CE8ED4F82D6BF42B00A274DE /* Sport.swift in Sources */,
D87882282CC060FC00421F67 /* GameDetailedScoreView.swift in Sources */,
D864B5AB2D793A7400A3A50E /* PastGameViewModel.swift in Sources */,
D83EE8862CC9917C008B693C /* ScoreSummaryTile.swift in Sources */,
CE8ED5002D6BF4BE00A274DE /* BoxScoreUpdate.swift in Sources */,
D89461192CBF393B0010C532 /* UpcomingCard.swift in Sources */,
Expand All @@ -682,6 +697,7 @@
D8B1C9D12CD2CE3D0095E563 /* PastGamesView.swift in Sources */,
CE335CD32C922E8D0037F572 /* PrimaryColors.swift in Sources */,
CE725D3C2C89120200386943 /* Home.swift in Sources */,
FD5A38DF2D8F3E1400CF5E30 /* ShimmerModifier.swift in Sources */,
CE528FA02C96420700C238B5 /* PickerView.swift in Sources */,
CE528FA42C9653C200C238B5 /* Error.swift in Sources */,
CE335CD52C922ECB0037F572 /* Constants.swift in Sources */,
Expand Down Expand Up @@ -856,28 +872,30 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
CURRENT_PROJECT_VERSION = 17;
DEVELOPMENT_ASSET_PATHS = "\"score-ios/Preview Content\"";
DEVELOPMENT_TEAM = ZGMCXU7X3U;
ENABLE_PREVIEWS = YES;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = "score-ios/Info.plist";
INFOPLIST_KEY_CFBundleDisplayName = Score;
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.sports";
INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
INFOPLIST_KEY_UILaunchScreen_Generation = YES;
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
INFOPLIST_KEY_UISupportedInterfaceOrientations = UIInterfaceOrientationPortrait;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = "com.cornellappdev.score-ios";
PRODUCT_NAME = "$(TARGET_NAME)";
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
SUPPORTS_MACCATALYST = NO;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
TARGETED_DEVICE_FAMILY = 1;
};
name = Debug;
};
Expand All @@ -888,35 +906,36 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
CURRENT_PROJECT_VERSION = 17;
DEVELOPMENT_ASSET_PATHS = "\"score-ios/Preview Content\"";
DEVELOPMENT_TEAM = ZGMCXU7X3U;
ENABLE_PREVIEWS = YES;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = "score-ios/Info.plist";
INFOPLIST_KEY_CFBundleDisplayName = Score;
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.sports";
INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
INFOPLIST_KEY_UILaunchScreen_Generation = YES;
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
INFOPLIST_KEY_UISupportedInterfaceOrientations = UIInterfaceOrientationPortrait;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = "com.cornellappdev.score-ios";
PRODUCT_NAME = "$(TARGET_NAME)";
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
SUPPORTS_MACCATALYST = NO;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
TARGETED_DEVICE_FAMILY = 1;
};
name = Release;
};
CE725D602C89120500386943 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
BUNDLE_LOADER = "$(TEST_HOST)";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
Expand All @@ -936,7 +955,6 @@
CE725D612C89120500386943 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
BUNDLE_LOADER = "$(TEST_HOST)";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
Expand All @@ -956,7 +974,6 @@
CE725D632C89120500386943 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = 9VB7SD8G8W;
Expand All @@ -974,7 +991,6 @@
CE725D642C89120500386943 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = 9VB7SD8G8W;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1510"
LastUpgradeVersion = "1620"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1510"
LastUpgradeVersion = "1620"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
6 changes: 6 additions & 0 deletions score-ios/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>UIUserInterfaceStyle</key>
<string>Light</string>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
<key>SCORE_DEV_URL</key>
<string>$(SCORE_DEV_URL)</string>
<key>SCORE_PROD_URL</key>
Expand Down
2 changes: 1 addition & 1 deletion score-ios/Models/BoxScoreUpdate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ struct BoxScoreItem: Decodable {
if let item = item {
self.team = item.team ?? ""
self.period = item.period ?? ""
self.time = item.time ?? ""
self.time = item.time ?? "--:--"
self.description = item.description ?? "N/A"
self.scorer = item.scorer ?? ""
self.assist = item.assist ?? ""
Expand Down
Loading