From 7f9ceac2e8c76e6262077bb0181c88f451645d4c Mon Sep 17 00:00:00 2001 From: Stephen Cooper <1970249+scooper4711@users.noreply.github.com> Date: Mon, 16 Nov 2026 10:42:19 +0100 Subject: [PATCH 1/2] chore: Use tabletop-kit 1.4.0 --- Package.resolved | 6 +++--- Package.swift | 2 +- .../xcshareddata/swiftpm/Package.resolved | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Package.resolved b/Package.resolved index 080b317..a1be343 100644 --- a/Package.resolved +++ b/Package.resolved @@ -1,13 +1,13 @@ { - "originHash" : "7b1948841cffa483cd3a992124b97531815f2b6d71c0a8f27f254e93055acfc2", + "originHash" : "98a975fef63e11ff2ffcc60c2ae36f0e5bec2ea011dec22b6e2537c2ffe71fbd", "pins" : [ { "identity" : "tabletop-kit", "kind" : "remoteSourceControl", "location" : "https://github.com/scooper4711/tabletop-kit.git", "state" : { - "revision" : "7c0c64754ba43c2e9cf9ebd335f72a3c2a4ef3b3", - "version" : "1.2.0" + "revision" : "e130382ac6b3f21f347eef2aaa7566d0d361e2d9", + "version" : "1.4.0" } } ], diff --git a/Package.swift b/Package.swift index 4731835..d8ddc30 100644 --- a/Package.swift +++ b/Package.swift @@ -11,7 +11,7 @@ let package = Package( .library(name: "MapsmithUI", targets: ["MapsmithUI"]) ], dependencies: [ - .package(url: "https://github.com/scooper4711/tabletop-kit.git", from: "1.3.0") + .package(url: "https://github.com/scooper4711/tabletop-kit.git", from: "1.4.0") ], targets: [ .target(name: "MapsmithCore", dependencies: [.product(name: "TablesideShared", package: "tabletop-kit")]), diff --git a/ios/Mapsmith.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/ios/Mapsmith.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved index 89e8dcd..1508959 100644 --- a/ios/Mapsmith.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/ios/Mapsmith.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -6,8 +6,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/scooper4711/tabletop-kit.git", "state" : { - "revision" : "7c0c64754ba43c2e9cf9ebd335f72a3c2a4ef3b3", - "version" : "1.2.0" + "revision" : "e130382ac6b3f21f347eef2aaa7566d0d361e2d9", + "version" : "1.4.0" } } ], From c61de550a308b795b0ed14f60d51d14cd042bd8f Mon Sep 17 00:00:00 2001 From: Stephen Cooper <1970249+scooper4711@users.noreply.github.com> Date: Mon, 16 Nov 2026 10:42:19 +0100 Subject: [PATCH 2/2] fix: Ask Scrollkeeper on the iPad to download the chosen map --- Sources/MapsmithUI/PadApp.swift | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Sources/MapsmithUI/PadApp.swift b/Sources/MapsmithUI/PadApp.swift index d15316f..54ad851 100644 --- a/Sources/MapsmithUI/PadApp.swift +++ b/Sources/MapsmithUI/PadApp.swift @@ -124,8 +124,8 @@ struct PadRootView: View { } } -/// The system side of `ApplicationLauncher` on the iPad. Scrollkeeper there takes no requests: Mapsmith only reads -/// its shared library and brings it forward to download a map. +/// The system side of `ApplicationLauncher` on the iPad. Scrollkeeper there takes no requests in the background: +/// Mapsmith reads its shared library and brings it forward with a map's download link to download it. struct PadLauncher: ApplicationLauncher { // A literal URL that is known to parse. // swiftlint:disable:next force_unwrapping @@ -143,6 +143,10 @@ struct PadLauncher: ApplicationLauncher { func openInBackground(_ url: URL) {} + func openInForeground(_ url: URL) { + UIApplication.shared.open(url) + } + func launch(_ bundleIdentifier: String) { UIApplication.shared.open(Self.scrollkeeperURL) }