Bento, the office suite that fits in a file
TypeScript mit-licenseofficeoffice-365office-suiteoffice-toolsoffice365open-sourcepowerpointself-hostedsingle-page-appslidesslideshareslideshowslideshow-galleryslideshow-makerslideshows
tray: move the iOS implementation to tray/ios
nyblnetaa830d2d76c2
diff --git a/.gitignore b/.gitignoreindex 0a37b702..e1280d8e 100644--- a/.gitignore+++ b/.gitignore@@ -28,5 +28,5 @@ working/scripts/.cache/# generated Xcode project — regenerate with `cd tray && xcodegen`-tray/*.xcodeproj/-tray/BentoTray/Resources/starter.bento.html+tray/ios/*.xcodeproj/+tray/ios/Resources/starter.bento.htmldiff --git a/tray/README.md b/tray/README.mdindex 1f42143b..804bcc0c 100644--- a/tray/README.md+++ b/tray/README.md@@ -92,9 +92,13 @@ Needs **full Xcode** (Command Line Tools alone is not enough) and XcodeGen:```shbrew install xcodegen-cd tray && xcodegen && open BentoTray.xcodeproj+cd tray/ios && xcodegen && open BentoTray.xcodeproj```+Source lives under `tray/<platform>/` — `tray/ios/` today. The design below+(the polyfill and its protocol) is platform-neutral; only the transport lookup+and the native file layer are not.+`BentoTray.xcodeproj` is generated, never committed — a `.pbxproj` in git is amerge-conflict magnet.diff --git a/tray/BentoTray/AppDelegate.swift b/tray/ios/AppDelegate.swiftsimilarity index 100%rename from tray/BentoTray/AppDelegate.swiftrename to tray/ios/AppDelegate.swiftdiff --git a/tray/BentoTray/BentoDocument.swift b/tray/ios/BentoDocument.swiftsimilarity index 100%rename from tray/BentoTray/BentoDocument.swiftrename to tray/ios/BentoDocument.swiftdiff --git a/tray/BentoTray/DocumentBrowserViewController.swift b/tray/ios/DocumentBrowserViewController.swiftsimilarity index 100%rename from tray/BentoTray/DocumentBrowserViewController.swiftrename to tray/ios/DocumentBrowserViewController.swiftdiff --git a/tray/BentoTray/EditorViewController.swift b/tray/ios/EditorViewController.swiftsimilarity index 100%rename from tray/BentoTray/EditorViewController.swiftrename to tray/ios/EditorViewController.swiftdiff --git a/tray/BentoTray/Info.plist b/tray/ios/Info.plistsimilarity index 100%rename from tray/BentoTray/Info.plistrename to tray/ios/Info.plistdiff --git a/tray/BentoTray/Resources/bridge.js b/tray/ios/Resources/bridge.jssimilarity index 100%rename from tray/BentoTray/Resources/bridge.jsrename to tray/ios/Resources/bridge.jsdiff --git a/tray/BentoTray/SceneDelegate.swift b/tray/ios/SceneDelegate.swiftsimilarity index 100%rename from tray/BentoTray/SceneDelegate.swiftrename to tray/ios/SceneDelegate.swiftdiff --git a/tray/project.yml b/tray/ios/project.ymlsimilarity index 79%rename from tray/project.ymlrename to tray/ios/project.ymlindex 115dc2bc..f1dddd82 100644--- a/tray/project.yml+++ b/tray/ios/project.yml@@ -1,4 +1,4 @@-# XcodeGen spec — `brew install xcodegen && cd ios && xcodegen` produces+# XcodeGen spec — `brew install xcodegen && cd tray/ios && xcodegen` produces# BentoTray.xcodeproj. The project file is generated, never committed, so it# can't rot into a merge-conflict magnet the way .pbxproj does.name: BentoTray@@ -11,7 +11,8 @@ targets:type: applicationplatform: iOSsources:- - path: BentoTray+ - path: .+ excludes: [project.yml]preBuildScripts:# The seed shell for "new document". Copied from the current build rather# than committed: a 587KB binary in git would churn on every release, and@@ -19,8 +20,8 @@ targets:# normal signed channel the first time it checks.- name: Stage starter shellscript: |- SRC="$SRCROOT/../slides/dist-single/Bento_Slides.bento.html"- DST="$SRCROOT/BentoTray/Resources/starter.bento.html"+ SRC="$SRCROOT/../../slides/dist-single/Bento_Slides.bento.html"+ DST="$SRCROOT/Resources/starter.bento.html"if [ -f "$SRC" ]; thenmkdir -p "$(dirname "$DST")" && cp "$SRC" "$DST"elif [ ! -f "$DST" ]; then@@ -28,7 +29,7 @@ targets:fisettings:base:- INFOPLIST_FILE: BentoTray/Info.plist+ INFOPLIST_FILE: Info.plistPRODUCT_BUNDLE_IDENTIFIER: page.bento.trayTARGETED_DEVICE_FAMILY: "1,2" # iPhone and iPadSWIFT_VERSION: "5.0"