Skip to content

feat: Add the iPad app - #33

Merged
scooper4711 merged 4 commits into
mainfrom
feat/ipad-app
Nov 15, 2026
Merged

scooper4711 merged 4 commits into
mainfrom
feat/ipad-app

Conversation

@scooper4711

@scooper4711 scooper4711 commented Nov 15, 2026 •

Copy link
Copy Markdown
Owner

Mapsmith on the iPad (and iPhone), printing the same true-scale tiles. Spec: docs/specs/ipad-app.

  • MapsmithUI holds the SwiftUI app shared by the Mac executable and ios/Mapsmith.xcodeproj.
  • iPad: file browser, Open in Mapsmith, drops; one map at a time.
  • Open from Scrollkeeper reads Scrollkeeper's shared App Group library; downloaded maps open from there. Scrollkeeper on the iPad takes no requests, so other maps send the user to Scrollkeeper.
  • No Page Setup on the iPad: paper picker and margin in the inspector. Printing draws every page at 100% through a custom UIPrintPageRenderer (a PDF printingItem would be scaled to the printable area).
  • Export uses the file exporter on both platforms (on the Mac it replaces the modal save panel).
  • The shared privacy manifest now declares user defaults (the ink prices already used them).

Tested: lint, 117 unit tests (MapsmithCore 98% lines, 92% regions), Mac app build, 5 iPad UI tests with screenshots in landscape and portrait.

Not tested on a real iPad or printer yet: true-scale printing via AirPrint, and the App Group (needs the signed build).

Closes #13

On the iPad Scrollkeeper takes no requests, so the bridge reports when
there is no shared library and brings Scrollkeeper forward for a map
not downloaded yet. Also add the paper sizes the iPad picks from, and
copying a dropped PDF.
The SwiftUI app moves to a MapsmithUI library; the Mac executable only
starts it. Printing, export, opening files and the Scrollkeeper window
are split so each platform supplies its own, and export uses the file
exporter on both.
ios/Mapsmith.xcodeproj builds the iPad and iPhone app on MapsmithUI,
with its icon, the App Group for Scrollkeeper's library, scripts to
run it in the simulator or install it, and UI tests that screenshot
both orientations. The privacy manifest, shared by both apps, now
declares the user defaults the ink prices are kept in.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

iPad app

1 participant