Scan.storyboard 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14113" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="bdK-eL-mz4">
  3. <device id="retina4_7" orientation="portrait">
  4. <adaptation id="fullscreen"/>
  5. </device>
  6. <dependencies>
  7. <deployment identifier="iOS"/>
  8. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14088"/>
  9. <capability name="Safe area layout guides" minToolsVersion="9.0"/>
  10. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  11. </dependencies>
  12. <scenes>
  13. <!--Drag Drop View Controller-->
  14. <scene sceneID="tne-QT-ifu">
  15. <objects>
  16. <viewController extendedLayoutIncludesOpaqueBars="YES" id="BYZ-38-t0r" customClass="DragDropViewController" customModule="Nextcloud" customModuleProvider="target" sceneMemberID="viewController">
  17. <view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
  18. <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
  19. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  20. <subviews>
  21. <collectionView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" showsHorizontalScrollIndicator="NO" showsVerticalScrollIndicator="NO" dataMode="prototypes" translatesAutoresizingMaskIntoConstraints="NO" id="jwq-kF-6Nq" userLabel="collectionViewSource">
  22. <rect key="frame" x="0.0" y="72" width="375" height="175"/>
  23. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  24. <constraints>
  25. <constraint firstAttribute="height" constant="175" id="0Wb-eO-Qiu"/>
  26. </constraints>
  27. <collectionViewFlowLayout key="collectionViewLayout" scrollDirection="horizontal" minimumLineSpacing="10" minimumInteritemSpacing="10" id="Dhy-fV-Qmr">
  28. <size key="itemSize" width="150" height="150"/>
  29. <size key="headerReferenceSize" width="0.0" height="0.0"/>
  30. <size key="footerReferenceSize" width="0.0" height="0.0"/>
  31. <inset key="sectionInset" minX="0.0" minY="0.0" maxX="0.0" maxY="0.0"/>
  32. </collectionViewFlowLayout>
  33. <cells>
  34. <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="cell1" id="Lca-vD-NY2" customClass="ScanCell" customModule="Nextcloud" customModuleProvider="target">
  35. <rect key="frame" x="0.0" y="12.5" width="150" height="150"/>
  36. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  37. <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO">
  38. <rect key="frame" x="0.0" y="0.0" width="150" height="150"/>
  39. <autoresizingMask key="autoresizingMask"/>
  40. <subviews>
  41. <imageView userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="sam-7M-bIk">
  42. <rect key="frame" x="10" y="10" width="130" height="130"/>
  43. </imageView>
  44. <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="06r-jm-ARX">
  45. <rect key="frame" x="0.0" y="0.0" width="25" height="25"/>
  46. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  47. <state key="normal" backgroundImage="deleteImagePage"/>
  48. </button>
  49. </subviews>
  50. </view>
  51. <constraints>
  52. <constraint firstAttribute="trailing" secondItem="sam-7M-bIk" secondAttribute="trailing" constant="10" id="8AX-l8-Lm0"/>
  53. <constraint firstItem="sam-7M-bIk" firstAttribute="top" secondItem="Lca-vD-NY2" secondAttribute="top" constant="10" id="YId-9R-Qgw"/>
  54. <constraint firstItem="sam-7M-bIk" firstAttribute="leading" secondItem="Lca-vD-NY2" secondAttribute="leading" constant="10" id="pbq-jr-YKl"/>
  55. <constraint firstAttribute="bottom" secondItem="sam-7M-bIk" secondAttribute="bottom" constant="10" id="zD5-jG-EEP"/>
  56. </constraints>
  57. <connections>
  58. <outlet property="customImageView" destination="sam-7M-bIk" id="mgQ-wh-sSH"/>
  59. </connections>
  60. </collectionViewCell>
  61. </cells>
  62. <connections>
  63. <outlet property="dataSource" destination="BYZ-38-t0r" id="NZe-jU-1hk"/>
  64. <outlet property="delegate" destination="BYZ-38-t0r" id="B55-sR-2nI"/>
  65. </connections>
  66. </collectionView>
  67. <imageView userInteractionEnabled="NO" alpha="0.80000000000000004" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="Cem-9x-d8O">
  68. <rect key="frame" x="0.0" y="257" width="375" height="366"/>
  69. </imageView>
  70. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="PDF" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="YHy-9G-ngy">
  71. <rect key="frame" x="0.0" y="257" width="375" height="30"/>
  72. <color key="backgroundColor" white="1" alpha="0.5" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  73. <constraints>
  74. <constraint firstAttribute="height" constant="30" id="vrg-ki-2Lk"/>
  75. </constraints>
  76. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  77. <nil key="textColor"/>
  78. <nil key="highlightedColor"/>
  79. </label>
  80. <collectionView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" dataMode="prototypes" translatesAutoresizingMaskIntoConstraints="NO" id="fGo-qU-AYi" userLabel="collectionViewDestination">
  81. <rect key="frame" x="0.0" y="292" width="375" height="331"/>
  82. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  83. <collectionViewFlowLayout key="collectionViewLayout" minimumLineSpacing="10" minimumInteritemSpacing="10" id="9Sn-Y3-S86">
  84. <size key="itemSize" width="100" height="100"/>
  85. <size key="headerReferenceSize" width="0.0" height="0.0"/>
  86. <size key="footerReferenceSize" width="0.0" height="0.0"/>
  87. <inset key="sectionInset" minX="0.0" minY="0.0" maxX="0.0" maxY="0.0"/>
  88. </collectionViewFlowLayout>
  89. <cells>
  90. <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="cell2" id="Pph-tY-PGX" customClass="ScanCell" customModule="Nextcloud" customModuleProvider="target">
  91. <rect key="frame" x="0.0" y="0.0" width="100" height="100"/>
  92. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  93. <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO">
  94. <rect key="frame" x="0.0" y="0.0" width="100" height="100"/>
  95. <autoresizingMask key="autoresizingMask"/>
  96. <subviews>
  97. <imageView userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="chrome" translatesAutoresizingMaskIntoConstraints="NO" id="sdV-W7-Hkd">
  98. <rect key="frame" x="10" y="10" width="80" height="80"/>
  99. </imageView>
  100. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Page" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="wcM-U8-GLh">
  101. <rect key="frame" x="10" y="70" width="80" height="20"/>
  102. <color key="backgroundColor" white="0.0" alpha="0.39940068490000002" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  103. <constraints>
  104. <constraint firstAttribute="height" constant="20" id="8He-ef-19r"/>
  105. </constraints>
  106. <fontDescription key="fontDescription" name="AvenirNext-DemiBold" family="Avenir Next" pointSize="11"/>
  107. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  108. <nil key="highlightedColor"/>
  109. </label>
  110. <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="wSg-Gm-0s3">
  111. <rect key="frame" x="0.0" y="0.0" width="25" height="25"/>
  112. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  113. <state key="normal" backgroundImage="deleteImagePage"/>
  114. </button>
  115. </subviews>
  116. </view>
  117. <constraints>
  118. <constraint firstItem="wcM-U8-GLh" firstAttribute="leading" secondItem="Pph-tY-PGX" secondAttribute="leading" constant="10" id="EXk-95-OKd"/>
  119. <constraint firstItem="sdV-W7-Hkd" firstAttribute="top" secondItem="Pph-tY-PGX" secondAttribute="top" constant="10" id="G76-6T-Zpt"/>
  120. <constraint firstAttribute="trailing" secondItem="sdV-W7-Hkd" secondAttribute="trailing" constant="10" id="Jia-SE-8bu"/>
  121. <constraint firstAttribute="bottom" secondItem="sdV-W7-Hkd" secondAttribute="bottom" constant="10" id="Ljw-b9-Sp8"/>
  122. <constraint firstItem="sdV-W7-Hkd" firstAttribute="leading" secondItem="Pph-tY-PGX" secondAttribute="leading" constant="10" id="kwQ-gl-6Bj"/>
  123. <constraint firstAttribute="bottom" secondItem="wcM-U8-GLh" secondAttribute="bottom" constant="10" id="qat-UY-DBH"/>
  124. <constraint firstAttribute="trailing" secondItem="wcM-U8-GLh" secondAttribute="trailing" constant="10" id="rLg-WD-x2l"/>
  125. </constraints>
  126. <connections>
  127. <outlet property="customImageView" destination="sdV-W7-Hkd" id="edM-S1-vkM"/>
  128. <outlet property="customLabel" destination="wcM-U8-GLh" id="BhF-OG-y3p"/>
  129. </connections>
  130. </collectionViewCell>
  131. </cells>
  132. <connections>
  133. <outlet property="dataSource" destination="BYZ-38-t0r" id="8ul-vH-HVX"/>
  134. <outlet property="delegate" destination="BYZ-38-t0r" id="ljh-bt-3WA"/>
  135. </connections>
  136. </collectionView>
  137. </subviews>
  138. <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  139. <constraints>
  140. <constraint firstItem="YHy-9G-ngy" firstAttribute="leading" secondItem="Cem-9x-d8O" secondAttribute="leading" id="3bD-Za-YFV"/>
  141. <constraint firstItem="6Tk-OE-BBY" firstAttribute="trailing" secondItem="jwq-kF-6Nq" secondAttribute="trailing" id="6EM-YK-lEy"/>
  142. <constraint firstItem="fGo-qU-AYi" firstAttribute="top" secondItem="YHy-9G-ngy" secondAttribute="bottom" constant="5" id="8xQ-RJ-qkm"/>
  143. <constraint firstItem="Cem-9x-d8O" firstAttribute="top" secondItem="jwq-kF-6Nq" secondAttribute="bottom" constant="10" id="DAv-ec-qU8"/>
  144. <constraint firstItem="jwq-kF-6Nq" firstAttribute="leading" secondItem="6Tk-OE-BBY" secondAttribute="leading" id="ELU-RG-o16"/>
  145. <constraint firstItem="fGo-qU-AYi" firstAttribute="trailing" secondItem="6Tk-OE-BBY" secondAttribute="trailing" id="Ew2-9q-DKl"/>
  146. <constraint firstAttribute="bottom" secondItem="fGo-qU-AYi" secondAttribute="bottom" constant="44" id="Eza-ZC-K9z"/>
  147. <constraint firstItem="YHy-9G-ngy" firstAttribute="top" secondItem="Cem-9x-d8O" secondAttribute="top" id="Rf5-5j-Ctt"/>
  148. <constraint firstItem="Cem-9x-d8O" firstAttribute="trailing" secondItem="fGo-qU-AYi" secondAttribute="trailing" id="SaR-bw-LHt"/>
  149. <constraint firstItem="Cem-9x-d8O" firstAttribute="bottom" secondItem="fGo-qU-AYi" secondAttribute="bottom" id="aJX-RZ-dYz"/>
  150. <constraint firstItem="fGo-qU-AYi" firstAttribute="leading" secondItem="6Tk-OE-BBY" secondAttribute="leading" id="aU0-Bn-B6T"/>
  151. <constraint firstItem="jwq-kF-6Nq" firstAttribute="top" secondItem="6Tk-OE-BBY" secondAttribute="top" constant="8" id="dyH-ym-lrb"/>
  152. <constraint firstItem="YHy-9G-ngy" firstAttribute="trailing" secondItem="Cem-9x-d8O" secondAttribute="trailing" id="naD-7x-WYn"/>
  153. <constraint firstItem="Cem-9x-d8O" firstAttribute="leading" secondItem="fGo-qU-AYi" secondAttribute="leading" id="rKz-dt-nW1"/>
  154. </constraints>
  155. <viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/>
  156. </view>
  157. <navigationItem key="navigationItem" id="zeb-Ex-mE8">
  158. <barButtonItem key="leftBarButtonItem" title="Cancel" id="9KU-yn-lBS" userLabel="Cancel">
  159. <connections>
  160. <action selector="cancelActionWithSender:" destination="BYZ-38-t0r" id="NrA-pA-mQ4"/>
  161. </connections>
  162. </barButtonItem>
  163. <barButtonItem key="rightBarButtonItem" title="Save" id="LAS-W8-RG6">
  164. <connections>
  165. <action selector="saveActionWithSender:" destination="BYZ-38-t0r" id="k1e-Qy-ks2"/>
  166. </connections>
  167. </barButtonItem>
  168. </navigationItem>
  169. <connections>
  170. <outlet property="cancel" destination="9KU-yn-lBS" id="zw7-9b-sq4"/>
  171. <outlet property="collectionViewDestination" destination="fGo-qU-AYi" id="ATh-9Q-SWs"/>
  172. <outlet property="collectionViewSource" destination="jwq-kF-6Nq" id="6hn-7D-P8K"/>
  173. <outlet property="labelTitlePDFzone" destination="YHy-9G-ngy" id="hQk-4n-stD"/>
  174. <outlet property="save" destination="LAS-W8-RG6" id="Dan-xp-JAB"/>
  175. </connections>
  176. </viewController>
  177. <placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
  178. </objects>
  179. <point key="canvasLocation" x="476" y="130.88455772113943"/>
  180. </scene>
  181. <!--Navigation Controller-->
  182. <scene sceneID="CuH-8W-IGw">
  183. <objects>
  184. <navigationController automaticallyAdjustsScrollViewInsets="NO" toolbarHidden="NO" id="bdK-eL-mz4" sceneMemberID="viewController">
  185. <toolbarItems/>
  186. <navigationBar key="navigationBar" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" translucent="NO" id="xl6-fB-rBw">
  187. <rect key="frame" x="0.0" y="20" width="375" height="44"/>
  188. <autoresizingMask key="autoresizingMask"/>
  189. </navigationBar>
  190. <nil name="viewControllers"/>
  191. <toolbar key="toolbar" opaque="NO" clearsContextBeforeDrawing="NO" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" id="byl-bn-jhW">
  192. <rect key="frame" x="0.0" y="623" width="375" height="44"/>
  193. <autoresizingMask key="autoresizingMask"/>
  194. </toolbar>
  195. <connections>
  196. <segue destination="BYZ-38-t0r" kind="relationship" relationship="rootViewController" id="3p3-I3-fyK"/>
  197. </connections>
  198. </navigationController>
  199. <placeholder placeholderIdentifier="IBFirstResponder" id="93C-Sa-crZ" userLabel="First Responder" sceneMemberID="firstResponder"/>
  200. </objects>
  201. <point key="canvasLocation" x="-290" y="131"/>
  202. </scene>
  203. </scenes>
  204. <resources>
  205. <image name="chrome" width="738" height="738"/>
  206. <image name="deleteImagePage" width="25" height="25"/>
  207. </resources>
  208. </document>