[Libreoffice-commits] core.git: 2 commits - ios/experimental
jan Iversen
jani at libreoffice.org
Fri Jun 16 06:08:46 UTC 2017
ios/experimental/LibreOfficeLight/LibreOfficeLight.xcodeproj/project.pbxproj | 231 ----------
ios/experimental/LibreOfficeLight/LibreOfficeLight/DocumentController.swift | 181 ++-----
ios/experimental/LibreOfficeLight/LibreOfficeLight/Info.plist | 2
ios/experimental/LibreOfficeLight/LibreOfficeLight/en.lproj/Main.storyboard | 136 +++--
ios/experimental/LibreOfficeLight/LibreOfficeLightTests/Info.plist | 22
ios/experimental/LibreOfficeLight/LibreOfficeLightTests/LibreOfficeLightTests.swift | 36 -
ios/experimental/LibreOfficeLight/LibreOfficeLightUITests/Info.plist | 22
ios/experimental/LibreOfficeLight/LibreOfficeLightUITests/LibreOfficeLightUITests.swift | 36 -
8 files changed, 139 insertions(+), 527 deletions(-)
New commits:
commit 9e425891f79a834abb03e3d69ee0c3665944faaa
Author: jan Iversen <jani at libreoffice.org>
Date: Fri Jun 16 08:06:03 2017 +0200
iOS, iCloud picker added
Use documentPicker instead of own programming
Change-Id: Ibd4e0f987254830aeaba1140ec1f84b649ca1387
diff --git a/ios/experimental/LibreOfficeLight/LibreOfficeLight/DocumentController.swift b/ios/experimental/LibreOfficeLight/LibreOfficeLight/DocumentController.swift
index 683b82a357fe..4016bfc1d81c 100755
--- a/ios/experimental/LibreOfficeLight/LibreOfficeLight/DocumentController.swift
+++ b/ios/experimental/LibreOfficeLight/LibreOfficeLight/DocumentController.swift
@@ -9,16 +9,19 @@ import UIKit
-class DocumentController: UIViewController, DocumentActionsControlDelegate, UIDocumentMenuDelegate
+class DocumentController: UIViewController, MenuDelegate, UIDocumentPickerDelegate
{
- func documentMenu(_: UIDocumentMenuViewController, didPickDocumentPicker: UIDocumentPickerViewController)
+ public func documentPicker(_ controller: UIDocumentPickerViewController, didPickDocumentAt url: URL)
{
}
- func documentMenuWasCancelled(_: UIDocumentMenuViewController)
+ func documentPickerWasCancelled(_ controller: UIDocumentPickerViewController)
{
}
+
+
+
// Show sidemenu (part of documentcontroller)
@IBAction func doMenu(_ sender: UIBarButtonItem)
{
@@ -72,86 +75,44 @@ class DocumentController: UIViewController, DocumentActionsControlDelegate, UIDo
- func actionNew(_ name : String)
- {
- // JIX Close active documents if any
- // Start new (with default name
-
- // Only interact with DocumentBrowser
-
- }
-
-
-
- func actionOpen()
- {
- let importMenu = UIDocumentMenuViewController(documentTypes: [], in: .import)
-// let importMenu = UIDocumentMenuViewController(documentTypes: ["com.jani.Editors.docx",
-// "com.jani.Editors.doc",
-// "com.jani.Editors.xlsx",
-// "com.jani.Editors.xls",
-// "com.jani.Editors.pptx",
-// "com.jani.Editors.ppt",
-// "com.jani.Editors.pdf",
-// "com.jani.Editors.odt",
-// "com.jani.Editors.ods",
-// "com.jani.Editors.odp"], in: .import)
- importMenu.delegate = self
- self.present(importMenu, animated: true, completion: nil)
-
- // JIX Close active documents if any
- // Present FileManager
-// performSegue(withIdentifier: "showFileManager", sender: self)
-
- // start DocumentBrowser with new document
- }
-
-
-
- // Called when returning from filemanager
- @IBAction func returned(segue: UIStoryboardSegue)
- {
- // JIX actually open document
- print("I returned")
- }
-
-
-
- func actionDelete()
+ func actionMenuSelected(_ tag : Int)
{
- // JIX Close active documents if any
- // Delete document
- }
+ switch tag
+ {
+ case 1: // New
+ print("menu New to be done")
+ case 2: // Open...
+ let openMenu = UIDocumentPickerViewController(documentTypes: ["public.content"], in: .open)
+ openMenu.delegate = self
+ self.present(openMenu, animated: true, completion: nil)
+ print("menu Open... to be done")
+ case 3: // Save
+ print("menu Save to be done")
- func actionSave()
- {
- // call save in DocumentBrowser
-
- }
+ case 4: // Save as...
+ print("menu Save as... to be done")
+ case 5: // Save as PDF...
+ print("menu Save as PDF... to be done")
+ case 6: // Print...
+ print("menu Print... to be done")
- func actionSaveAs(_ name : String)
- {
- // call saveas in DocumentBrowser
+ case 7: // Copy TO iPad
+ print("menu Copy TO iPad to be done")
- }
+ case 8: // Delete FROM iPad
+ print("menu Delete FROM iPad to be done")
+ case 9: // Move FROM iPad
+ print("menu Move FROM iPad to be done")
-
- func actionPDF()
- {
- // call savePDF in documentBrowser
- }
-
-
-
- func actionPrint()
- {
- // call print in DocumentBrowser
+ default: // should not happen
+ print("unknown menu" + String(tag))
+ }
}
@@ -161,9 +122,9 @@ class DocumentController: UIViewController, DocumentActionsControlDelegate, UIDo
super.viewDidLoad()
// Do any additional setup after loading the view.
-// let path = Bundle.main.path(forResource: "Info", ofType: "plist")
-// let dict = NSDictionary(contentsOfFile: path!)
-// let tableData = dict!.object(forKey: "CFBundleDocumentTypes")
+ // let path = Bundle.main.path(forResource: "Info", ofType: "plist")
+ // let dict = NSDictionary(contentsOfFile: path!)
+ // let tableData = dict!.object(forKey: "CFBundleDocumentTypes")
}
@@ -178,15 +139,9 @@ class DocumentController: UIViewController, DocumentActionsControlDelegate, UIDo
// Protocol for action popover callback
-protocol DocumentActionsControlDelegate
+protocol MenuDelegate
{
- func actionNew(_ name : String)
- func actionOpen()
- func actionDelete()
- func actionSave()
- func actionSaveAs(_ name : String)
- func actionPDF()
- func actionPrint()
+ func actionMenuSelected(_ tag : Int)
}
@@ -194,78 +149,38 @@ protocol DocumentActionsControlDelegate
class DocumentActions: UITableViewController
{
// Pointer to callback class
- var delegate : DocumentActionsControlDelegate?
+ var delegate : MenuDelegate?
var isDocActive : Bool = false
// Calling class might enable/disable each button
@IBOutlet weak var buttonNew: UIButton!
@IBOutlet weak var buttonOpen: UIButton!
- @IBOutlet weak var buttonDelete: UIButton!
@IBOutlet weak var buttonSave: UIButton!
@IBOutlet weak var buttonSaveAs: UIButton!
- @IBOutlet weak var buttonPDF: UIButton!
+ @IBOutlet weak var buttonSaveAsPDF: UIButton!
@IBOutlet weak var buttonPrint: UIButton!
+ @IBOutlet weak var buttonCopyTOiPad: UIButton!
+ @IBOutlet weak var buttonDeleteFROMiPad: UIButton!
+ @IBOutlet weak var buttonMoveFROMiPad: UIButton!
- // Actions
- @IBAction func doOpen(_ sender: UIButton)
- {
- delegate?.actionOpen()
- dismiss(animated: false)
- }
-
-
-
- @IBAction func doDelete(_ sender: UIButton)
- {
- delegate?.actionDelete()
- dismiss(animated: false)
- }
-
-
-
- @IBAction func doSave(_ sender: UIButton)
- {
- delegate?.actionSave()
- dismiss(animated: false)
- }
-
-
- @IBAction func doPDF(_ sender: UIButton)
- {
- delegate?.actionPDF()
- dismiss(animated: false)
- }
-
-
-
- @IBAction func doPrint(_ sender: UIButton)
+ // Actions
+ @IBAction func actionMenuSelect(_ sender: UIButton)
{
- delegate?.actionPrint()
dismiss(animated: false)
+ delegate?.actionMenuSelected(sender.tag)
}
-
override func viewDidLoad()
{
super.viewDidLoad()
- buttonDelete.isEnabled = isDocActive
+ buttonDeleteFROMiPad.isEnabled = isDocActive
buttonSave.isEnabled = isDocActive
buttonSaveAs.isEnabled = isDocActive
- buttonPDF.isEnabled = isDocActive
+ buttonSaveAsPDF.isEnabled = isDocActive
buttonPrint.isEnabled = isDocActive
}
-
-
-
- // Last stop before displaying popover
- override func prepare(for segue: UIStoryboardSegue, sender: Any?)
- {
-// let vc = segue.destination as! setNameAction
-// vc.delegateDoc = self.delegate
-// vc.protocolActionToPerform = (segue.identifier == "showNew") ? 2 : 3
- }
}
diff --git a/ios/experimental/LibreOfficeLight/LibreOfficeLight/Info.plist b/ios/experimental/LibreOfficeLight/LibreOfficeLight/Info.plist
index 0542143e728a..4d613161e5b4 100755
--- a/ios/experimental/LibreOfficeLight/LibreOfficeLight/Info.plist
+++ b/ios/experimental/LibreOfficeLight/LibreOfficeLight/Info.plist
@@ -363,7 +363,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
- <string>0.4.6</string>
+ <string>0.4.7</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
diff --git a/ios/experimental/LibreOfficeLight/LibreOfficeLight/en.lproj/Main.storyboard b/ios/experimental/LibreOfficeLight/LibreOfficeLight/en.lproj/Main.storyboard
index 8602d97f1683..99c184ed4c56 100755
--- a/ios/experimental/LibreOfficeLight/LibreOfficeLight/en.lproj/Main.storyboard
+++ b/ios/experimental/LibreOfficeLight/LibreOfficeLight/en.lproj/Main.storyboard
@@ -348,7 +348,7 @@
<objects>
<tableViewController autoresizesArchivedViewToFullSize="NO" title="Document Actions" automaticallyAdjustsScrollViewInsets="NO" modalTransitionStyle="crossDissolve" modalPresentationStyle="overCurrentContext" clearsSelectionOnViewWillAppear="NO" id="IER-X5-Ax8" customClass="DocumentActions" customModule="LibreOfficeLight" customModuleProvider="target" sceneMemberID="viewController">
<tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="static" style="plain" separatorStyle="default" rowHeight="30" sectionHeaderHeight="28" sectionFooterHeight="28" id="RqF-IL-YJc">
- <rect key="frame" x="0.0" y="0.0" width="134" height="210"/>
+ <rect key="frame" x="0.0" y="0.0" width="134" height="270"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<sections>
@@ -361,14 +361,12 @@
<rect key="frame" x="0.0" y="0.0" width="134" height="29.5"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
- <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="mCx-kB-iUI">
+ <button opaque="NO" tag="1" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="mCx-kB-iUI">
<rect key="frame" x="8" y="0.0" width="118" height="30"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<state key="normal" title="New"/>
<connections>
- <segue destination="99b-cf-b84" kind="popoverPresentation" identifier="showNew" popoverAnchorView="mCx-kB-iUI" id="NIs-pA-xdK">
- <popoverArrowDirection key="popoverArrowDirection" up="YES" down="YES" left="YES" right="YES"/>
- </segue>
+ <action selector="actionMenuSelect:" destination="IER-X5-Ax8" eventType="touchUpInside" id="0gI-or-ji1"/>
</connections>
</button>
</subviews>
@@ -381,104 +379,145 @@
<rect key="frame" x="0.0" y="0.0" width="134" height="29.5"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
- <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="myk-zs-md7">
- <rect key="frame" x="8" y="-1" width="118" height="30"/>
+ <button opaque="NO" tag="2" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="myk-zs-md7">
+ <rect key="frame" x="8" y="2" width="118" height="30"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
+ <accessibility key="accessibilityConfiguration" identifier="actionOpen"/>
<state key="normal" title="Open..."/>
<connections>
- <action selector="doOpen:" destination="IER-X5-Ax8" eventType="touchUpInside" id="Nk2-o7-3r9"/>
+ <action selector="actionMenuSelect:" destination="IER-X5-Ax8" eventType="touchUpInside" id="0gI-or-ji2"/>
</connections>
</button>
</subviews>
</tableViewCellContentView>
</tableViewCell>
- <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" id="mPa-wa-TDO">
+ <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" id="XW7-H5-0ob">
<rect key="frame" x="0.0" y="60" width="134" height="30"/>
<autoresizingMask key="autoresizingMask"/>
- <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="mPa-wa-TDO" id="jhW-pd-Qkl">
+ <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="XW7-H5-0ob" id="lJN-OL-mO8">
<rect key="frame" x="0.0" y="0.0" width="134" height="29.5"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
- <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Iva-rO-9V3">
- <rect key="frame" x="8" y="-1" width="118" height="30"/>
+ <button opaque="NO" tag="3" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="b90-ja-Wm0">
+ <rect key="frame" x="8" y="-2" width="118" height="30"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <state key="normal" title="Delete..."/>
+ <accessibility key="accessibilityConfiguration" identifier="actionSave"/>
+ <state key="normal" title="Save"/>
<connections>
- <action selector="doDelete:" destination="IER-X5-Ax8" eventType="touchUpInside" id="WhW-7L-FOo"/>
+ <action selector="actionMenuSelect:" destination="IER-X5-Ax8" eventType="touchUpInside" id="0gI-or-ji3"/>
</connections>
</button>
</subviews>
</tableViewCellContentView>
</tableViewCell>
- <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" id="XW7-H5-0ob">
+ <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" id="AN7-6j-wO7">
<rect key="frame" x="0.0" y="90" width="134" height="30"/>
<autoresizingMask key="autoresizingMask"/>
- <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="XW7-H5-0ob" id="lJN-OL-mO8">
+ <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="AN7-6j-wO7" id="kl1-nQ-aIu">
<rect key="frame" x="0.0" y="0.0" width="134" height="29.5"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
- <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="b90-ja-Wm0">
- <rect key="frame" x="8" y="-1" width="118" height="30"/>
+ <button opaque="NO" tag="4" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="6vH-aM-aYe">
+ <rect key="frame" x="8" y="-2" width="118" height="30"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <state key="normal" title="Save"/>
+ <accessibility key="accessibilityConfiguration" identifier="actionSaveAs"/>
+ <state key="normal" title="Save as..."/>
<connections>
- <action selector="doSave:" destination="IER-X5-Ax8" eventType="touchUpInside" id="7Uc-hy-ogX"/>
+ <action selector="actionMenuSelect:" destination="IER-X5-Ax8" eventType="touchUpInside" id="0gI-or-ji4"/>
</connections>
</button>
</subviews>
</tableViewCellContentView>
</tableViewCell>
- <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" id="fqs-uC-KiW">
+ <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" id="GmK-gj-GYu">
<rect key="frame" x="0.0" y="120" width="134" height="30"/>
<autoresizingMask key="autoresizingMask"/>
- <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="fqs-uC-KiW" id="nT7-Ly-JW5">
+ <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="GmK-gj-GYu" id="3OK-Zz-mqN">
<rect key="frame" x="0.0" y="0.0" width="134" height="29.5"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
- <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ioJ-xc-RrS">
+ <button opaque="NO" tag="5" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="apE-3B-lUt">
<rect key="frame" x="8" y="-1" width="118" height="30"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <state key="normal" title="Save as..."/>
+ <state key="normal" title="Save as PDF"/>
<connections>
- <segue destination="99b-cf-b84" kind="popoverPresentation" identifier="showSaveAs" popoverAnchorView="ioJ-xc-RrS" id="etF-bX-EXf">
- <popoverArrowDirection key="popoverArrowDirection" up="YES" down="YES" left="YES" right="YES"/>
- </segue>
+ <action selector="actionMenuSelect:" destination="IER-X5-Ax8" eventType="touchUpInside" id="0gI-or-ji5"/>
</connections>
</button>
</subviews>
</tableViewCellContentView>
</tableViewCell>
- <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" id="GmK-gj-GYu">
+ <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" id="1ly-sz-g0x">
<rect key="frame" x="0.0" y="150" width="134" height="30"/>
<autoresizingMask key="autoresizingMask"/>
- <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="GmK-gj-GYu" id="3OK-Zz-mqN">
+ <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="1ly-sz-g0x" id="wVi-tX-eKD">
<rect key="frame" x="0.0" y="0.0" width="134" height="29.5"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
- <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="apE-3B-lUt">
+ <button opaque="NO" tag="6" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="516-b0-K4N" userLabel="Button Print">
<rect key="frame" x="8" y="-1" width="118" height="30"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <state key="normal" title="PDF"/>
+ <accessibility key="accessibilityConfiguration" identifier="actionPrint"/>
+ <state key="normal" title="Print..."/>
<connections>
- <action selector="doPDF:" destination="IER-X5-Ax8" eventType="touchUpInside" id="ATe-5t-jab"/>
+ <action selector="actionMenuSelect:" destination="IER-X5-Ax8" eventType="touchUpInside" id="0gI-or-ji6"/>
</connections>
</button>
</subviews>
</tableViewCellContentView>
</tableViewCell>
- <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" id="1ly-sz-g0x">
+ <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" id="fqs-uC-KiW">
<rect key="frame" x="0.0" y="180" width="134" height="30"/>
<autoresizingMask key="autoresizingMask"/>
- <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="1ly-sz-g0x" id="wVi-tX-eKD">
+ <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="fqs-uC-KiW" id="nT7-Ly-JW5">
<rect key="frame" x="0.0" y="0.0" width="134" height="29.5"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
- <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="516-b0-K4N" userLabel="Button Print">
+ <button opaque="NO" tag="7" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ioJ-xc-RrS">
<rect key="frame" x="8" y="-1" width="118" height="30"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <state key="normal" title="Print..."/>
+ <accessibility key="accessibilityConfiguration" identifier="actionCopyTOiPad"/>
+ <state key="normal" title="copy to iPad..."/>
+ <connections>
+ <action selector="actionMenuSelect:" destination="IER-X5-Ax8" eventType="touchUpInside" id="0gI-or-ji7"/>
+ </connections>
+ </button>
+ </subviews>
+ </tableViewCellContentView>
+ </tableViewCell>
+ <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" id="mPa-wa-TDO">
+ <rect key="frame" x="0.0" y="210" width="134" height="30"/>
+ <autoresizingMask key="autoresizingMask"/>
+ <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="mPa-wa-TDO" id="jhW-pd-Qkl">
+ <rect key="frame" x="0.0" y="0.0" width="134" height="29.5"/>
+ <autoresizingMask key="autoresizingMask"/>
+ <subviews>
+ <button opaque="NO" tag="8" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Iva-rO-9V3">
+ <rect key="frame" x="8" y="-1" width="118" height="30"/>
+ <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
+ <accessibility key="accessibilityConfiguration" identifier="actionDeleteFROMiPad"/>
+ <state key="normal" title="Delete on iPad"/>
+ <connections>
+ <action selector="actionMenuSelect:" destination="IER-X5-Ax8" eventType="touchUpInside" id="0gI-or-ji8"/>
+ </connections>
+ </button>
+ </subviews>
+ </tableViewCellContentView>
+ </tableViewCell>
+ <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" id="Hhp-Vn-cil">
+ <rect key="frame" x="0.0" y="240" width="134" height="30"/>
+ <autoresizingMask key="autoresizingMask"/>
+ <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="Hhp-Vn-cil" id="HqE-XS-WoF">
+ <rect key="frame" x="0.0" y="0.0" width="134" height="29.5"/>
+ <autoresizingMask key="autoresizingMask"/>
+ <subviews>
+ <button opaque="NO" tag="9" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="27a-gO-mBQ">
+ <rect key="frame" x="8" y="-1" width="118" height="30"/>
+ <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
+ <accessibility key="accessibilityConfiguration" identifier="actionMoveFROMiPad"/>
+ <state key="normal" title="move from iPad..."/>
<connections>
- <action selector="doPrint:" destination="IER-X5-Ax8" eventType="touchUpInside" id="07n-Ba-Tp9"/>
+ <action selector="actionMenuSelect:" destination="IER-X5-Ax8" eventType="touchUpInside" id="0gI-or-ji9"/>
</connections>
</button>
</subviews>
@@ -493,20 +532,22 @@
</connections>
</tableView>
<extendedEdge key="edgesForExtendedLayout"/>
- <value key="contentSizeForViewInPopover" type="size" width="200" height="230"/>
+ <value key="contentSizeForViewInPopover" type="size" width="134" height="210"/>
<nil key="simulatedStatusBarMetrics"/>
<nil key="simulatedTopBarMetrics"/>
<nil key="simulatedBottomBarMetrics"/>
<freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
- <size key="freeformSize" width="134" height="210"/>
+ <size key="freeformSize" width="134" height="270"/>
<connections>
- <outlet property="buttonDelete" destination="Iva-rO-9V3" id="i8x-8H-YoE"/>
- <outlet property="buttonNew" destination="mCx-kB-iUI" id="70b-Qo-y3M"/>
- <outlet property="buttonOpen" destination="myk-zs-md7" id="XLW-EG-UgD"/>
- <outlet property="buttonPDF" destination="apE-3B-lUt" id="j3U-Dx-UxJ"/>
- <outlet property="buttonPrint" destination="516-b0-K4N" id="WL3-KB-jS1"/>
- <outlet property="buttonSave" destination="b90-ja-Wm0" id="GPH-29-EFu"/>
- <outlet property="buttonSaveAs" destination="ioJ-xc-RrS" id="Ndn-1D-CcB"/>
+ <outlet property="buttonCopyTOiPad" destination="ioJ-xc-RrS" id="GgZ-Km-3hu"/>
+ <outlet property="buttonDeleteFROMiPad" destination="Iva-rO-9V3" id="taN-OB-BO4"/>
+ <outlet property="buttonMoveFROMiPad" destination="27a-gO-mBQ" id="FPK-vv-xTH"/>
+ <outlet property="buttonNew" destination="mCx-kB-iUI" id="Bxx-gc-1KK"/>
+ <outlet property="buttonOpen" destination="myk-zs-md7" id="CST-dF-vGl"/>
+ <outlet property="buttonPrint" destination="516-b0-K4N" id="kok-Tt-Y8w"/>
+ <outlet property="buttonSave" destination="b90-ja-Wm0" id="tlk-Ku-xp6"/>
+ <outlet property="buttonSaveAs" destination="6vH-aM-aYe" id="BMc-YI-Ssc"/>
+ <outlet property="buttonSaveAsPDF" destination="apE-3B-lUt" id="r3J-xa-Syi"/>
</connections>
</tableViewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="D6j-Ov-CSK" userLabel="First Responder" sceneMemberID="firstResponder"/>
@@ -518,7 +559,4 @@
<image name="document" width="20" height="20"/>
<image name="menu" width="22" height="22"/>
</resources>
- <inferredMetricsTieBreakers>
- <segue reference="etF-bX-EXf"/>
- </inferredMetricsTieBreakers>
</document>
commit af63fbad1933b343631c89283d9e57dcdf9fdab2
Author: jan Iversen <jani at libreoffice.org>
Date: Wed Jun 14 16:53:00 2017 +0200
iOS, remove test targets
Testing will be done differently
Change-Id: I94b121bb89e553fdc96427f8c19c7d2b11821554
diff --git a/ios/experimental/LibreOfficeLight/LibreOfficeLight.xcodeproj/project.pbxproj b/ios/experimental/LibreOfficeLight/LibreOfficeLight.xcodeproj/project.pbxproj
index 3fa67664894c..d485ec26b603 100644
--- a/ios/experimental/LibreOfficeLight/LibreOfficeLight.xcodeproj/project.pbxproj
+++ b/ios/experimental/LibreOfficeLight/LibreOfficeLight.xcodeproj/project.pbxproj
@@ -19,8 +19,6 @@
397E08FE1E597BD8001374E0 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 397E08FD1E597BD8001374E0 /* AppDelegate.swift */; };
397E09031E597BD8001374E0 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 397E09011E597BD8001374E0 /* Main.storyboard */; };
397E09081E597BD8001374E0 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 397E09071E597BD8001374E0 /* Assets.xcassets */; };
- 397E09161E597BD8001374E0 /* LibreOfficeLightTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 397E09151E597BD8001374E0 /* LibreOfficeLightTests.swift */; };
- 397E09211E597BD8001374E0 /* LibreOfficeLightUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 397E09201E597BD8001374E0 /* LibreOfficeLightUITests.swift */; };
3992D85A1E5B762A00BEA987 /* DocumentController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3992D8591E5B762A00BEA987 /* DocumentController.swift */; };
3992D85D1E5B764A00BEA987 /* SideMenu.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3992D85B1E5B764A00BEA987 /* SideMenu.swift */; };
399648471E5B87DC00E73E83 /* ViewProperties.swift in Sources */ = {isa = PBXBuildFile; fileRef = 399648461E5B87DC00E73E83 /* ViewProperties.swift */; };
@@ -33,23 +31,6 @@
39B091CE1E5F0BB800682A59 /* unorc in Resources */ = {isa = PBXBuildFile; fileRef = 39B08B9C1E5F0BB600682A59 /* unorc */; };
/* End PBXBuildFile section */
-/* Begin PBXContainerItemProxy section */
- 397E09121E597BD8001374E0 /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = 397E08F21E597BD8001374E0 /* Project object */;
- proxyType = 1;
- remoteGlobalIDString = 397E08F91E597BD8001374E0;
- remoteInfo = LibreOfficeLight;
- };
- 397E091D1E597BD8001374E0 /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = 397E08F21E597BD8001374E0 /* Project object */;
- proxyType = 1;
- remoteGlobalIDString = 397E08F91E597BD8001374E0;
- remoteInfo = LibreOfficeLight;
- };
-/* End PBXContainerItemProxy section */
-
/* Begin PBXFileReference section */
39022C171EDC142F00100066 /* lokit.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = lokit.mm; sourceTree = "<group>"; };
39022C191EDC14D300100066 /* lokit-Bridging-Header.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "lokit-Bridging-Header.h"; sourceTree = "<group>"; };
@@ -66,12 +47,6 @@
397E08FD1E597BD8001374E0 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = AppDelegate.swift; path = LibreOfficeLight/AppDelegate.swift; sourceTree = SOURCE_ROOT; };
397E09021E597BD8001374E0 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = en; path = en.lproj/Main.storyboard; sourceTree = "<group>"; };
397E09071E597BD8001374E0 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Assets.xcassets; path = LibreOfficeLight/Assets.xcassets; sourceTree = SOURCE_ROOT; };
- 397E09111E597BD8001374E0 /* LibreOfficeLightTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = LibreOfficeLightTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
- 397E09151E597BD8001374E0 /* LibreOfficeLightTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = LibreOfficeLightTests.swift; path = LibreOfficeLightTests/LibreOfficeLightTests.swift; sourceTree = SOURCE_ROOT; };
- 397E09171E597BD8001374E0 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = Info.plist; path = LibreOfficeLightTests/Info.plist; sourceTree = SOURCE_ROOT; };
- 397E091C1E597BD8001374E0 /* LibreOfficeLightUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = LibreOfficeLightUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
- 397E09201E597BD8001374E0 /* LibreOfficeLightUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = LibreOfficeLightUITests.swift; path = LibreOfficeLightUITests/LibreOfficeLightUITests.swift; sourceTree = SOURCE_ROOT; };
- 397E09221E597BD8001374E0 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = Info.plist; path = LibreOfficeLightUITests/Info.plist; sourceTree = SOURCE_ROOT; };
3992D8591E5B762A00BEA987 /* DocumentController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = DocumentController.swift; path = LibreOfficeLight/DocumentController.swift; sourceTree = SOURCE_ROOT; };
3992D85B1E5B764A00BEA987 /* SideMenu.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = SideMenu.swift; path = LibreOfficeLight/SideMenu.swift; sourceTree = SOURCE_ROOT; };
399648461E5B87DC00E73E83 /* ViewProperties.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = ViewProperties.swift; path = LibreOfficeLight/ViewProperties.swift; sourceTree = SOURCE_ROOT; };
@@ -94,20 +69,6 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
- 397E090E1E597BD8001374E0 /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- 397E09191E597BD8001374E0 /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
@@ -138,8 +99,6 @@
39B084E41E5F0B5200682A59 /* Resources */,
3911D89F1E5993600050D6BC /* Support files */,
397E08FC1E597BD8001374E0 /* LibreOfficeLight */,
- 397E09141E597BD8001374E0 /* LibreOfficeLightTests */,
- 397E091F1E597BD8001374E0 /* LibreOfficeLightUITests */,
397E08FB1E597BD8001374E0 /* Products */,
3972753A1E77D9F7006ACDCC /* Frameworks */,
);
@@ -149,8 +108,6 @@
isa = PBXGroup;
children = (
397E08FA1E597BD8001374E0 /* LibreOfficeLight.app */,
- 397E09111E597BD8001374E0 /* LibreOfficeLightTests.xctest */,
- 397E091C1E597BD8001374E0 /* LibreOfficeLightUITests.xctest */,
);
name = Products;
sourceTree = "<group>";
@@ -171,24 +128,6 @@
path = LibreOfficeLight;
sourceTree = SOURCE_ROOT;
};
- 397E09141E597BD8001374E0 /* LibreOfficeLightTests */ = {
- isa = PBXGroup;
- children = (
- 397E09151E597BD8001374E0 /* LibreOfficeLightTests.swift */,
- 397E09171E597BD8001374E0 /* Info.plist */,
- );
- path = LibreOfficeLightTests;
- sourceTree = SOURCE_ROOT;
- };
- 397E091F1E597BD8001374E0 /* LibreOfficeLightUITests */ = {
- isa = PBXGroup;
- children = (
- 397E09201E597BD8001374E0 /* LibreOfficeLightUITests.swift */,
- 397E09221E597BD8001374E0 /* Info.plist */,
- );
- path = LibreOfficeLightUITests;
- sourceTree = SOURCE_ROOT;
- };
39B084E41E5F0B5200682A59 /* Resources */ = {
isa = PBXGroup;
children = (
@@ -227,42 +166,6 @@
productReference = 397E08FA1E597BD8001374E0 /* LibreOfficeLight.app */;
productType = "com.apple.product-type.application";
};
- 397E09101E597BD8001374E0 /* LibreOfficeLightTests */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 397E09281E597BD8001374E0 /* Build configuration list for PBXNativeTarget "LibreOfficeLightTests" */;
- buildPhases = (
- 397E090D1E597BD8001374E0 /* Sources */,
- 397E090E1E597BD8001374E0 /* Frameworks */,
- 397E090F1E597BD8001374E0 /* Resources */,
- );
- buildRules = (
- );
- dependencies = (
- 397E09131E597BD8001374E0 /* PBXTargetDependency */,
- );
- name = LibreOfficeLightTests;
- productName = LibreOfficeLightTests;
- productReference = 397E09111E597BD8001374E0 /* LibreOfficeLightTests.xctest */;
- productType = "com.apple.product-type.bundle.unit-test";
- };
- 397E091B1E597BD8001374E0 /* LibreOfficeLightUITests */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 397E092B1E597BD8001374E0 /* Build configuration list for PBXNativeTarget "LibreOfficeLightUITests" */;
- buildPhases = (
- 397E09181E597BD8001374E0 /* Sources */,
- 397E09191E597BD8001374E0 /* Frameworks */,
- 397E091A1E597BD8001374E0 /* Resources */,
- );
- buildRules = (
- );
- dependencies = (
- 397E091E1E597BD8001374E0 /* PBXTargetDependency */,
- );
- name = LibreOfficeLightUITests;
- productName = LibreOfficeLightUITests;
- productReference = 397E091C1E597BD8001374E0 /* LibreOfficeLightUITests.xctest */;
- productType = "com.apple.product-type.bundle.ui-testing";
- };
/* End PBXNativeTarget section */
/* Begin PBXProject section */
@@ -279,6 +182,9 @@
LastSwiftMigration = 0820;
ProvisioningStyle = Automatic;
SystemCapabilities = {
+ com.apple.ApplicationGroups.iOS = {
+ enabled = 0;
+ };
com.apple.Push = {
enabled = 0;
};
@@ -287,16 +193,6 @@
};
};
};
- 397E09101E597BD8001374E0 = {
- CreatedOnToolsVersion = 8.2;
- ProvisioningStyle = Automatic;
- TestTargetID = 397E08F91E597BD8001374E0;
- };
- 397E091B1E597BD8001374E0 = {
- CreatedOnToolsVersion = 8.2;
- ProvisioningStyle = Automatic;
- TestTargetID = 397E08F91E597BD8001374E0;
- };
};
};
buildConfigurationList = 397E08F51E597BD8001374E0 /* Build configuration list for PBXProject "LibreOfficeLight" */;
@@ -312,8 +208,6 @@
projectRoot = "";
targets = (
397E08F91E597BD8001374E0 /* LibreOfficeLight */,
- 397E09101E597BD8001374E0 /* LibreOfficeLightTests */,
- 397E091B1E597BD8001374E0 /* LibreOfficeLightUITests */,
);
};
/* End PBXProject section */
@@ -342,20 +236,6 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
- 397E090F1E597BD8001374E0 /* Resources */ = {
- isa = PBXResourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- 397E091A1E597BD8001374E0 /* Resources */ = {
- isa = PBXResourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
/* End PBXResourcesBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
@@ -372,37 +252,8 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
- 397E090D1E597BD8001374E0 /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 397E09161E597BD8001374E0 /* LibreOfficeLightTests.swift in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- 397E09181E597BD8001374E0 /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 397E09211E597BD8001374E0 /* LibreOfficeLightUITests.swift in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
/* End PBXSourcesBuildPhase section */
-/* Begin PBXTargetDependency section */
- 397E09131E597BD8001374E0 /* PBXTargetDependency */ = {
- isa = PBXTargetDependency;
- target = 397E08F91E597BD8001374E0 /* LibreOfficeLight */;
- targetProxy = 397E09121E597BD8001374E0 /* PBXContainerItemProxy */;
- };
- 397E091E1E597BD8001374E0 /* PBXTargetDependency */ = {
- isa = PBXTargetDependency;
- target = 397E08F91E597BD8001374E0 /* LibreOfficeLight */;
- targetProxy = 397E091D1E597BD8001374E0 /* PBXContainerItemProxy */;
- };
-/* End PBXTargetDependency section */
-
/* Begin PBXVariantGroup section */
39022C221EDC303200100066 /* InfoPlist.strings */ = {
isa = PBXVariantGroup;
@@ -650,64 +501,6 @@
};
name = Release;
};
- 397E09291E597BD8001374E0 /* Debug */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 39B084E21E5F0A9600682A59 /* lo.xcconfig */;
- buildSettings = {
- ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
- BUNDLE_LOADER = "$(TEST_HOST)";
- INFOPLIST_FILE = LibreOfficeLightTests/Info.plist;
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
- PRODUCT_BUNDLE_IDENTIFIER = com.jani.Editors.LibreOfficeLight.LibreOfficeLightTests;
- PRODUCT_NAME = "$(TARGET_NAME)";
- SWIFT_VERSION = 3.0;
- TEST_HOST = "$(BUILT_PRODUCTS_DIR)/LibreOfficeLight.app/LibreOfficeLight";
- };
- name = Debug;
- };
- 397E092A1E597BD8001374E0 /* Release */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 39B084E21E5F0A9600682A59 /* lo.xcconfig */;
- buildSettings = {
- ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
- BUNDLE_LOADER = "$(TEST_HOST)";
- INFOPLIST_FILE = LibreOfficeLightTests/Info.plist;
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
- PRODUCT_BUNDLE_IDENTIFIER = com.jani.Editors.LibreOfficeLight.LibreOfficeLightTests;
- PRODUCT_NAME = "$(TARGET_NAME)";
- SWIFT_VERSION = 3.0;
- TEST_HOST = "$(BUILT_PRODUCTS_DIR)/LibreOfficeLight.app/LibreOfficeLight";
- };
- name = Release;
- };
- 397E092C1E597BD8001374E0 /* Debug */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 39B084E21E5F0A9600682A59 /* lo.xcconfig */;
- buildSettings = {
- ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
- INFOPLIST_FILE = LibreOfficeLightUITests/Info.plist;
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
- PRODUCT_BUNDLE_IDENTIFIER = com.jani.Editors.LibreOfficeLight.LibreOfficeLightUITests;
- PRODUCT_NAME = "$(TARGET_NAME)";
- SWIFT_VERSION = 3.0;
- TEST_TARGET_NAME = LibreOfficeLight;
- };
- name = Debug;
- };
- 397E092D1E597BD8001374E0 /* Release */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 39B084E21E5F0A9600682A59 /* lo.xcconfig */;
- buildSettings = {
- ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
- INFOPLIST_FILE = LibreOfficeLightUITests/Info.plist;
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
- PRODUCT_BUNDLE_IDENTIFIER = com.jani.Editors.LibreOfficeLight.LibreOfficeLightUITests;
- PRODUCT_NAME = "$(TARGET_NAME)";
- SWIFT_VERSION = 3.0;
- TEST_TARGET_NAME = LibreOfficeLight;
- };
- name = Release;
- };
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
@@ -729,24 +522,6 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
- 397E09281E597BD8001374E0 /* Build configuration list for PBXNativeTarget "LibreOfficeLightTests" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 397E09291E597BD8001374E0 /* Debug */,
- 397E092A1E597BD8001374E0 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- 397E092B1E597BD8001374E0 /* Build configuration list for PBXNativeTarget "LibreOfficeLightUITests" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 397E092C1E597BD8001374E0 /* Debug */,
- 397E092D1E597BD8001374E0 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
/* End XCConfigurationList section */
};
rootObject = 397E08F21E597BD8001374E0 /* Project object */;
diff --git a/ios/experimental/LibreOfficeLight/LibreOfficeLightTests/Info.plist b/ios/experimental/LibreOfficeLight/LibreOfficeLightTests/Info.plist
deleted file mode 100644
index 6c6c23c43adc..000000000000
--- a/ios/experimental/LibreOfficeLight/LibreOfficeLightTests/Info.plist
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>CFBundleDevelopmentRegion</key>
- <string>en</string>
- <key>CFBundleExecutable</key>
- <string>$(EXECUTABLE_NAME)</string>
- <key>CFBundleIdentifier</key>
- <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
- <key>CFBundleInfoDictionaryVersion</key>
- <string>6.0</string>
- <key>CFBundleName</key>
- <string>$(PRODUCT_NAME)</string>
- <key>CFBundlePackageType</key>
- <string>BNDL</string>
- <key>CFBundleShortVersionString</key>
- <string>1.0</string>
- <key>CFBundleVersion</key>
- <string>1</string>
-</dict>
-</plist>
diff --git a/ios/experimental/LibreOfficeLight/LibreOfficeLightTests/LibreOfficeLightTests.swift b/ios/experimental/LibreOfficeLight/LibreOfficeLightTests/LibreOfficeLightTests.swift
deleted file mode 100644
index bf6b081cda1e..000000000000
--- a/ios/experimental/LibreOfficeLight/LibreOfficeLightTests/LibreOfficeLightTests.swift
+++ /dev/null
@@ -1,36 +0,0 @@
-//
-// LibreOfficeLightTests.swift
-// LibreOfficeLightTests
-//
-// Created by Jan Iversen on 19/02/2017.
-// Copyright © 2017 jani. All rights reserved.
-//
-
-import XCTest
- at testable import LibreOfficeLight
-
-class LibreOfficeLightTests: XCTestCase {
-
- override func setUp() {
- super.setUp()
- // Put setup code here. This method is called before the invocation of each test method in the class.
- }
-
- override func tearDown() {
- // Put teardown code here. This method is called after the invocation of each test method in the class.
- super.tearDown()
- }
-
- func testExample() {
- // This is an example of a functional test case.
- // Use XCTAssert and related functions to verify your tests produce the correct results.
- }
-
- func testPerformanceExample() {
- // This is an example of a performance test case.
- self.measure {
- // Put the code you want to measure the time of here.
- }
- }
-
-}
diff --git a/ios/experimental/LibreOfficeLight/LibreOfficeLightUITests/Info.plist b/ios/experimental/LibreOfficeLight/LibreOfficeLightUITests/Info.plist
deleted file mode 100644
index 6c6c23c43adc..000000000000
--- a/ios/experimental/LibreOfficeLight/LibreOfficeLightUITests/Info.plist
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>CFBundleDevelopmentRegion</key>
- <string>en</string>
- <key>CFBundleExecutable</key>
- <string>$(EXECUTABLE_NAME)</string>
- <key>CFBundleIdentifier</key>
- <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
- <key>CFBundleInfoDictionaryVersion</key>
- <string>6.0</string>
- <key>CFBundleName</key>
- <string>$(PRODUCT_NAME)</string>
- <key>CFBundlePackageType</key>
- <string>BNDL</string>
- <key>CFBundleShortVersionString</key>
- <string>1.0</string>
- <key>CFBundleVersion</key>
- <string>1</string>
-</dict>
-</plist>
diff --git a/ios/experimental/LibreOfficeLight/LibreOfficeLightUITests/LibreOfficeLightUITests.swift b/ios/experimental/LibreOfficeLight/LibreOfficeLightUITests/LibreOfficeLightUITests.swift
deleted file mode 100644
index 4e8279547aaa..000000000000
--- a/ios/experimental/LibreOfficeLight/LibreOfficeLightUITests/LibreOfficeLightUITests.swift
+++ /dev/null
@@ -1,36 +0,0 @@
-//
-// LibreOfficeLightUITests.swift
-// LibreOfficeLightUITests
-//
-// Created by Jan Iversen on 19/02/2017.
-// Copyright © 2017 jani. All rights reserved.
-//
-
-import XCTest
-
-class LibreOfficeLightUITests: XCTestCase {
-
- override func setUp() {
- super.setUp()
-
- // Put setup code here. This method is called before the invocation of each test method in the class.
-
- // In UI tests it is usually best to stop immediately when a failure occurs.
- continueAfterFailure = false
- // UI tests must launch the application that they test. Doing this in setup will make sure it happens for each test method.
- XCUIApplication().launch()
-
- // In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this.
- }
-
- override func tearDown() {
- // Put teardown code here. This method is called after the invocation of each test method in the class.
- super.tearDown()
- }
-
- func testExample() {
- // Use recording to get started writing UI tests.
- // Use XCTAssert and related functions to verify your tests produce the correct results.
- }
-
-}
More information about the Libreoffice-commits
mailing list