Skip to content

Commit

Permalink
remove schemes
Browse files Browse the repository at this point in the history
  • Loading branch information
krystxf committed Jun 21, 2024
1 parent 2ae7c80 commit 3013e69
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 313 deletions.
2 changes: 1 addition & 1 deletion app/metro-now-widgets/Core/Provider.swift
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ struct Provider: TimelineProvider {
let currentLocation = locationManager.location

guard let currentLocation else {
var entries: [WidgetEntry] = []
let entries: [WidgetEntry] = []
let timeline = Timeline(entries: entries, policy: .atEnd)
completion(timeline)
return
Expand Down
46 changes: 18 additions & 28 deletions app/metro-now.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,6 @@
objects = {

/* Begin PBXBuildFile section */
2D0E85CC2C213F6F00C53B60 /* metro-stations.geojson in Resources */ = {isa = PBXBuildFile; fileRef = 2D0E85CB2C213F6F00C53B60 /* metro-stations.geojson */; };
2D0E85CD2C213F6F00C53B60 /* metro-routes.geojson in Resources */ = {isa = PBXBuildFile; fileRef = 2D0E85CA2C213F6F00C53B60 /* metro-routes.geojson */; };
2D0E85CE2C213F6F00C53B60 /* metro-stations.geojson in Resources */ = {isa = PBXBuildFile; fileRef = 2D0E85CB2C213F6F00C53B60 /* metro-stations.geojson */; };
2D0E85CF2C213F6F00C53B60 /* metro-routes.geojson in Resources */ = {isa = PBXBuildFile; fileRef = 2D0E85CA2C213F6F00C53B60 /* metro-routes.geojson */; };
2D0E85D02C213F6F00C53B60 /* metro-stations.geojson in Resources */ = {isa = PBXBuildFile; fileRef = 2D0E85CB2C213F6F00C53B60 /* metro-stations.geojson */; };
2D0E85D12C213F6F00C53B60 /* metro-routes.geojson in Resources */ = {isa = PBXBuildFile; fileRef = 2D0E85CA2C213F6F00C53B60 /* metro-routes.geojson */; };
2D0E85D22C213F6F00C53B60 /* metro-stations.geojson in Resources */ = {isa = PBXBuildFile; fileRef = 2D0E85CB2C213F6F00C53B60 /* metro-stations.geojson */; };
2D0E85D32C213F6F00C53B60 /* metro-routes.geojson in Resources */ = {isa = PBXBuildFile; fileRef = 2D0E85CA2C213F6F00C53B60 /* metro-routes.geojson */; };
2D1B2C3B2BFAD6CC007ED5EB /* LocationModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2D1B2C3A2BFAD6CC007ED5EB /* LocationModel.swift */; };
2D1B2C3C2BFAD6CC007ED5EB /* LocationModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2D1B2C3A2BFAD6CC007ED5EB /* LocationModel.swift */; };
2D1B2C3F2BFAD70F007ED5EB /* timeUtils.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2D1B2C3E2BFAD70F007ED5EB /* timeUtils.swift */; };
Expand All @@ -31,6 +23,7 @@
2D1B2C502BFAD8ED007ED5EB /* metroRoutesTypes.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2D1B2C4E2BFAD8ED007ED5EB /* metroRoutesTypes.swift */; };
2D1B2C522BFAD90B007ED5EB /* metroStationsTypes.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2D1B2C512BFAD90B007ED5EB /* metroStationsTypes.swift */; };
2D1B2C532BFAD90B007ED5EB /* metroStationsTypes.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2D1B2C512BFAD90B007ED5EB /* metroStationsTypes.swift */; };
2D1D11832C25061A00C671CD /* StationLocationMapView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2D1D11822C25061A00C671CD /* StationLocationMapView.swift */; };
2D350E672BFBE50600F68039 /* MapStationAnnotationView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2D350E662BFBE50600F68039 /* MapStationAnnotationView.swift */; };
2D373CC22C0825790025BCDF /* ListWidgetView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2D373CC12C0825790025BCDF /* ListWidgetView.swift */; };
2D4486862BFAA10A005C59CE /* metro_now_watchApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2D4486852BFAA10A005C59CE /* metro_now_watchApp.swift */; };
Expand All @@ -41,7 +34,6 @@
2D4D8F852C0010A5006F9080 /* networkUtils.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2D4D8F842C0010A5006F9080 /* networkUtils.swift */; };
2D84CCA12BF8BD7500D2382B /* PlatformListViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2D84CCA02BF8BD7500D2382B /* PlatformListViewModel.swift */; };
2D9213E92C081D99004A37C2 /* WidgetView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2D9213E82C081D99004A37C2 /* WidgetView.swift */; };
2D94BD8E2C21DE250006CA04 /* StationLocationMapView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2D94BD8D2C21DE250006CA04 /* StationLocationMapView.swift */; };
2DC639DC2BF3CCBA00A72C7F /* metro_nowApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2DC639DB2BF3CCBA00A72C7F /* metro_nowApp.swift */; };
2DC639DE2BF3CCBA00A72C7F /* PlatformListView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2DC639DD2BF3CCBA00A72C7F /* PlatformListView.swift */; };
2DC639E02BF3CCBC00A72C7F /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 2DC639DF2BF3CCBC00A72C7F /* Assets.xcassets */; };
Expand All @@ -54,6 +46,11 @@
2DC63A222BF50EDD00A72C7F /* timeUtilsTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2DC63A212BF50EDD00A72C7F /* timeUtilsTests.swift */; };
2DC63A242BF5266700A72C7F /* metroUtilsTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2DC63A232BF5266700A72C7F /* metroUtilsTests.swift */; };
2DC63A262BF5280F00A72C7F /* jsonUtilsTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2DC63A252BF5280F00A72C7F /* jsonUtilsTests.swift */; };
2DD3DEA92C07D319002233DE /* metro-stations.geojson in Resources */ = {isa = PBXBuildFile; fileRef = 2DD3DEA72C07D319002233DE /* metro-stations.geojson */; };
2DD3DEAA2C07D319002233DE /* metro-stations.geojson in Resources */ = {isa = PBXBuildFile; fileRef = 2DD3DEA72C07D319002233DE /* metro-stations.geojson */; };
2DD3DEAC2C07D319002233DE /* metro-routes.geojson in Resources */ = {isa = PBXBuildFile; fileRef = 2DD3DEA82C07D319002233DE /* metro-routes.geojson */; };
2DD3DEAD2C07D319002233DE /* metro-routes.geojson in Resources */ = {isa = PBXBuildFile; fileRef = 2DD3DEA82C07D319002233DE /* metro-routes.geojson */; };
2DD3DEB02C07EC22002233DE /* metro-stations.geojson in Resources */ = {isa = PBXBuildFile; fileRef = 2DD3DEA72C07D319002233DE /* metro-stations.geojson */; };
2DD3DEB32C07F737002233DE /* MediumWidgetView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2DD3DEB22C07F737002233DE /* MediumWidgetView.swift */; };
2DD3DED22C080185002233DE /* SmallWidgetPlaceholderView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2DD3DED12C080185002233DE /* SmallWidgetPlaceholderView.swift */; };
2DD3DED42C080240002233DE /* MediumWidgetPlaceholderView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2DD3DED32C080240002233DE /* MediumWidgetPlaceholderView.swift */; };
Expand Down Expand Up @@ -130,8 +127,6 @@
/* End PBXCopyFilesBuildPhase section */

/* Begin PBXFileReference section */
2D0E85CA2C213F6F00C53B60 /* metro-routes.geojson */ = {isa = PBXFileReference; lastKnownFileType = text; path = "metro-routes.geojson"; sourceTree = "<group>"; };
2D0E85CB2C213F6F00C53B60 /* metro-stations.geojson */ = {isa = PBXFileReference; lastKnownFileType = text; path = "metro-stations.geojson"; sourceTree = "<group>"; };
2D1B2C3A2BFAD6CC007ED5EB /* LocationModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LocationModel.swift; sourceTree = "<group>"; };
2D1B2C3E2BFAD70F007ED5EB /* timeUtils.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = timeUtils.swift; sourceTree = "<group>"; };
2D1B2C412BFAD72C007ED5EB /* jsonUtils.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = jsonUtils.swift; sourceTree = "<group>"; };
Expand All @@ -140,7 +135,7 @@
2D1B2C4A2BFAD807007ED5EB /* fileUtils.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = fileUtils.swift; sourceTree = "<group>"; };
2D1B2C4E2BFAD8ED007ED5EB /* metroRoutesTypes.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = metroRoutesTypes.swift; sourceTree = "<group>"; };
2D1B2C512BFAD90B007ED5EB /* metroStationsTypes.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = metroStationsTypes.swift; sourceTree = "<group>"; };
2D1D11812C23B56A00C671CD /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; };
2D1D11822C25061A00C671CD /* StationLocationMapView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = StationLocationMapView.swift; sourceTree = "<group>"; };
2D350E662BFBE50600F68039 /* MapStationAnnotationView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MapStationAnnotationView.swift; sourceTree = "<group>"; };
2D373CC12C0825790025BCDF /* ListWidgetView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ListWidgetView.swift; sourceTree = "<group>"; };
2D4486832BFAA10A005C59CE /* metro-now-watch Watch App.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "metro-now-watch Watch App.app"; sourceTree = BUILT_PRODUCTS_DIR; };
Expand All @@ -151,7 +146,6 @@
2D4D8F842C0010A5006F9080 /* networkUtils.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = networkUtils.swift; sourceTree = "<group>"; };
2D84CCA02BF8BD7500D2382B /* PlatformListViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PlatformListViewModel.swift; sourceTree = "<group>"; };
2D9213E82C081D99004A37C2 /* WidgetView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WidgetView.swift; sourceTree = "<group>"; };
2D94BD8D2C21DE250006CA04 /* StationLocationMapView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = StationLocationMapView.swift; sourceTree = "<group>"; };
2DC639D82BF3CCBA00A72C7F /* metro-now.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "metro-now.app"; sourceTree = BUILT_PRODUCTS_DIR; };
2DC639DB2BF3CCBA00A72C7F /* metro_nowApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = metro_nowApp.swift; sourceTree = "<group>"; };
2DC639DD2BF3CCBA00A72C7F /* PlatformListView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PlatformListView.swift; sourceTree = "<group>"; };
Expand All @@ -166,6 +160,8 @@
2DC63A212BF50EDD00A72C7F /* timeUtilsTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = timeUtilsTests.swift; sourceTree = "<group>"; };
2DC63A232BF5266700A72C7F /* metroUtilsTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = metroUtilsTests.swift; sourceTree = "<group>"; };
2DC63A252BF5280F00A72C7F /* jsonUtilsTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = jsonUtilsTests.swift; sourceTree = "<group>"; };
2DD3DEA72C07D319002233DE /* metro-stations.geojson */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = "metro-stations.geojson"; path = "../../../data/metro-stations.geojson"; sourceTree = "<group>"; };
2DD3DEA82C07D319002233DE /* metro-routes.geojson */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = "metro-routes.geojson"; path = "../../../data/metro-routes.geojson"; sourceTree = "<group>"; };
2DD3DEB22C07F737002233DE /* MediumWidgetView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MediumWidgetView.swift; sourceTree = "<group>"; };
2DD3DED12C080185002233DE /* SmallWidgetPlaceholderView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SmallWidgetPlaceholderView.swift; sourceTree = "<group>"; };
2DD3DED32C080240002233DE /* MediumWidgetPlaceholderView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MediumWidgetPlaceholderView.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -265,9 +261,9 @@
2D1B2C542BFAD93F007ED5EB /* Data */ = {
isa = PBXGroup;
children = (
2DD3DEA82C07D319002233DE /* metro-routes.geojson */,
2DD3DEA72C07D319002233DE /* metro-stations.geojson */,
2DF66D972BFD39B000B31FA2 /* test-coordinates.swift */,
2D0E85CA2C213F6F00C53B60 /* metro-routes.geojson */,
2D0E85CB2C213F6F00C53B60 /* metro-stations.geojson */,
);
path = Data;
sourceTree = "<group>";
Expand Down Expand Up @@ -325,7 +321,6 @@
2DC639DA2BF3CCBA00A72C7F /* metro-now */ = {
isa = PBXGroup;
children = (
2D1D11812C23B56A00C671CD /* Info.plist */,
2DC639E92BF3CD3900A72C7F /* Core */,
2DC639DB2BF3CCBA00A72C7F /* metro_nowApp.swift */,
2DC639DF2BF3CCBC00A72C7F /* Assets.xcassets */,
Expand Down Expand Up @@ -383,9 +378,9 @@
2DC63A062BF4C24C00A72C7F /* Map */ = {
isa = PBXGroup;
children = (
2D1D11822C25061A00C671CD /* StationLocationMapView.swift */,
2DC63A072BF4C25B00A72C7F /* MapView.swift */,
2D350E662BFBE50600F68039 /* MapStationAnnotationView.swift */,
2D94BD8D2C21DE250006CA04 /* StationLocationMapView.swift */,
);
path = Map;
sourceTree = "<group>";
Expand Down Expand Up @@ -597,9 +592,9 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
2D0E85D22C213F6F00C53B60 /* metro-stations.geojson in Resources */,
2D0E85D32C213F6F00C53B60 /* metro-routes.geojson in Resources */,
2D44868D2BFAA10B005C59CE /* Preview Assets.xcassets in Resources */,
2DD3DEAD2C07D319002233DE /* metro-routes.geojson in Resources */,
2DD3DEAA2C07D319002233DE /* metro-stations.geojson in Resources */,
2D44868A2BFAA10B005C59CE /* Assets.xcassets in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand All @@ -608,9 +603,9 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
2D0E85D02C213F6F00C53B60 /* metro-stations.geojson in Resources */,
2D0E85D12C213F6F00C53B60 /* metro-routes.geojson in Resources */,
2DC639E32BF3CCBC00A72C7F /* Preview Assets.xcassets in Resources */,
2DD3DEAC2C07D319002233DE /* metro-routes.geojson in Resources */,
2DD3DEA92C07D319002233DE /* metro-stations.geojson in Resources */,
2DC639E02BF3CCBC00A72C7F /* Assets.xcassets in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand All @@ -619,18 +614,15 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
2D0E85CE2C213F6F00C53B60 /* metro-stations.geojson in Resources */,
2D0E85CF2C213F6F00C53B60 /* metro-routes.geojson in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
2DF48A422C01F185002F754E /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
2DD3DEB02C07EC22002233DE /* metro-stations.geojson in Resources */,
2DF48A502C01F186002F754E /* Assets.xcassets in Resources */,
2D0E85CC2C213F6F00C53B60 /* metro-stations.geojson in Resources */,
2D0E85CD2C213F6F00C53B60 /* metro-routes.geojson in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -668,11 +660,11 @@
2D1B2C3B2BFAD6CC007ED5EB /* LocationModel.swift in Sources */,
2D350E672BFBE50600F68039 /* MapStationAnnotationView.swift in Sources */,
2D1B2C422BFAD72C007ED5EB /* jsonUtils.swift in Sources */,
2D94BD8E2C21DE250006CA04 /* StationLocationMapView.swift in Sources */,
2D1B2C3F2BFAD70F007ED5EB /* timeUtils.swift in Sources */,
2DC639DC2BF3CCBA00A72C7F /* metro_nowApp.swift in Sources */,
2D4D8F852C0010A5006F9080 /* networkUtils.swift in Sources */,
2DF66D982BFD39B000B31FA2 /* test-coordinates.swift in Sources */,
2D1D11832C25061A00C671CD /* StationLocationMapView.swift in Sources */,
2DC63A002BF4B1E300A72C7F /* PlatformDetailView.swift in Sources */,
2DC63A022BF4B20E00A72C7F /* PlatformDetailDepartureListView:.swift in Sources */,
2DF48A712C02514E002F754E /* departuresResponseTypes.swift in Sources */,
Expand Down Expand Up @@ -931,7 +923,6 @@
DEVELOPMENT_TEAM = R6WU5ABNG2;
ENABLE_PREVIEWS = YES;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = "metro-now/Info.plist";
INFOPLIST_KEY_CFBundleDisplayName = "metro-now";
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.navigation";
INFOPLIST_KEY_NSLocationWhenInUseUsageDescription = "This app needs your location to find metro stations near you";
Expand Down Expand Up @@ -966,7 +957,6 @@
DEVELOPMENT_TEAM = R6WU5ABNG2;
ENABLE_PREVIEWS = YES;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = "metro-now/Info.plist";
INFOPLIST_KEY_CFBundleDisplayName = "metro-now";
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.navigation";
INFOPLIST_KEY_NSLocationWhenInUseUsageDescription = "This app needs your location to find metro stations near you";
Expand Down

This file was deleted.

Loading

0 comments on commit 3013e69

Please sign in to comment.