KMCompressView.xib 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="22505" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
  3. <dependencies>
  4. <deployment identifier="macosx"/>
  5. <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22505"/>
  6. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  7. </dependencies>
  8. <objects>
  9. <customObject id="-2" userLabel="File's Owner" customClass="KMCompressView" customModule="PDF_Reader_Pro" customModuleProvider="target">
  10. <connections>
  11. <outlet property="batchButton" destination="gZ6-Xa-9cX" id="SNL-as-FvW"/>
  12. <outlet property="cancelButton" destination="5Hz-bj-8s4" id="CcN-d3-tMN"/>
  13. <outlet property="compressButton" destination="l8z-Ts-N37" id="SyJ-SB-cIe"/>
  14. <outlet property="compressContentView" destination="xfO-ts-aiu" id="zbh-kg-fEY"/>
  15. <outlet property="compressTitleLabel" destination="41z-iD-1bG" id="xZm-Np-WBW"/>
  16. <outlet property="fileImageView" destination="got-mA-Esq" id="Zls-7k-XND"/>
  17. <outlet property="finalSizeLabel" destination="AVp-B0-LcQ" id="syN-mv-nSW"/>
  18. <outlet property="modesLabel" destination="rdJ-HM-6MO" id="Zjz-UV-zbi"/>
  19. <outlet property="previewBox" destination="JoQ-Bg-A7A" id="IFH-92-kmH"/>
  20. <outlet property="progress" destination="rI6-3z-z33" id="EnV-KA-efW"/>
  21. <outlet property="progressSizeLabel" destination="qSB-Az-aee" id="nUn-C4-CiF"/>
  22. <outlet property="sizeLabel" destination="JF7-f4-ihM" id="03Y-DG-toK"/>
  23. <outlet property="titleLabel" destination="feZ-ij-cjM" id="4xr-Ws-a8c"/>
  24. </connections>
  25. </customObject>
  26. <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
  27. <customObject id="-3" userLabel="Application" customClass="NSObject"/>
  28. <customView id="c22-O7-iKe">
  29. <rect key="frame" x="0.0" y="0.0" width="480" height="415"/>
  30. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  31. <subviews>
  32. <view translatesAutoresizingMaskIntoConstraints="NO" id="7D3-FA-RtT">
  33. <rect key="frame" x="0.0" y="0.0" width="480" height="415"/>
  34. <subviews>
  35. <box boxType="custom" borderWidth="0.0" translatesAutoresizingMaskIntoConstraints="NO" id="zgR-t5-a16">
  36. <rect key="frame" x="0.0" y="371" width="480" height="44"/>
  37. <view key="contentView" id="IPE-td-P1g">
  38. <rect key="frame" x="0.0" y="0.0" width="480" height="44"/>
  39. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  40. </view>
  41. <constraints>
  42. <constraint firstAttribute="height" constant="44" id="xVT-JG-Rd2"/>
  43. </constraints>
  44. </box>
  45. <textField focusRingType="none" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="41z-iD-1bG">
  46. <rect key="frame" x="22" y="382" width="70" height="17"/>
  47. <textFieldCell key="cell" truncatesLastVisibleLine="YES" sendsActionOnEndEditing="YES" title="Compress" id="QvP-NZ-cHA">
  48. <font key="font" metaFont="system" size="14"/>
  49. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  50. <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
  51. </textFieldCell>
  52. </textField>
  53. <box boxType="custom" borderWidth="0.0" translatesAutoresizingMaskIntoConstraints="NO" id="Mfo-eo-5iW">
  54. <rect key="frame" x="0.0" y="64" width="480" height="307"/>
  55. <view key="contentView" id="v3J-7D-eEs">
  56. <rect key="frame" x="0.0" y="0.0" width="480" height="307"/>
  57. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  58. <subviews>
  59. <box autoresizesSubviews="NO" borderType="line" titlePosition="noTitle" translatesAutoresizingMaskIntoConstraints="NO" id="JoQ-Bg-A7A" customClass="KMBox" customModule="PDF_Reader_Pro" customModuleProvider="target">
  60. <rect key="frame" x="21" y="155" width="438" height="146"/>
  61. <view key="contentView" id="qgD-bf-gnS">
  62. <rect key="frame" x="4" y="5" width="430" height="138"/>
  63. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  64. <subviews>
  65. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="JF7-f4-ihM">
  66. <rect key="frame" x="118" y="44" width="4" height="20"/>
  67. <constraints>
  68. <constraint firstAttribute="height" constant="20" id="EAt-8m-Nxn"/>
  69. </constraints>
  70. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" id="whk-Hu-7q8">
  71. <font key="font" metaFont="system" size="14"/>
  72. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  73. <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
  74. </textFieldCell>
  75. </textField>
  76. <progressIndicator wantsLayer="YES" maxValue="100" style="bar" translatesAutoresizingMaskIntoConstraints="NO" id="rI6-3z-z33">
  77. <rect key="frame" x="120" y="10" width="240" height="20"/>
  78. <constraints>
  79. <constraint firstAttribute="width" constant="240" id="r9M-rs-3WM"/>
  80. </constraints>
  81. </progressIndicator>
  82. <textField focusRingType="none" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="feZ-ij-cjM">
  83. <rect key="frame" x="118" y="72" width="298" height="20"/>
  84. <constraints>
  85. <constraint firstAttribute="height" constant="20" id="B8h-pT-kq1"/>
  86. </constraints>
  87. <textFieldCell key="cell" truncatesLastVisibleLine="YES" sendsActionOnEndEditing="YES" id="He2-H0-3Up">
  88. <font key="font" metaFont="system" size="14"/>
  89. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  90. <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
  91. </textFieldCell>
  92. </textField>
  93. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="AVp-B0-LcQ">
  94. <rect key="frame" x="134" y="46" width="4" height="16"/>
  95. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" id="XEA-VF-Y0d">
  96. <font key="font" metaFont="system"/>
  97. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  98. <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
  99. </textFieldCell>
  100. </textField>
  101. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="qSB-Az-aee">
  102. <rect key="frame" x="373" y="12" width="4" height="16"/>
  103. <textFieldCell key="cell" lineBreakMode="clipping" id="jbV-Qh-AnI">
  104. <font key="font" metaFont="system"/>
  105. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  106. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  107. </textFieldCell>
  108. </textField>
  109. <customView translatesAutoresizingMaskIntoConstraints="NO" id="RxZ-Eo-gsY">
  110. <rect key="frame" x="0.0" y="0.0" width="112" height="138"/>
  111. <subviews>
  112. <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="got-mA-Esq">
  113. <rect key="frame" x="16" y="16" width="80" height="106"/>
  114. <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" id="Uy4-7y-Qeb"/>
  115. </imageView>
  116. </subviews>
  117. <constraints>
  118. <constraint firstAttribute="trailing" secondItem="got-mA-Esq" secondAttribute="trailing" constant="16" id="2by-41-Ihb"/>
  119. <constraint firstItem="got-mA-Esq" firstAttribute="top" secondItem="RxZ-Eo-gsY" secondAttribute="top" constant="16" id="Fsf-1W-UYt"/>
  120. <constraint firstAttribute="width" constant="112" id="ITd-JR-DH6"/>
  121. <constraint firstAttribute="bottom" secondItem="got-mA-Esq" secondAttribute="bottom" constant="16" id="ZGk-Rn-ppu"/>
  122. <constraint firstAttribute="height" constant="138" id="ha4-z1-mNI"/>
  123. <constraint firstItem="got-mA-Esq" firstAttribute="leading" secondItem="RxZ-Eo-gsY" secondAttribute="leading" constant="16" id="sB2-Gc-5Ju"/>
  124. </constraints>
  125. </customView>
  126. </subviews>
  127. <constraints>
  128. <constraint firstItem="JF7-f4-ihM" firstAttribute="top" secondItem="feZ-ij-cjM" secondAttribute="bottom" constant="8" id="0Te-Rh-Zal"/>
  129. <constraint firstItem="rI6-3z-z33" firstAttribute="leading" secondItem="JF7-f4-ihM" secondAttribute="leading" id="0fG-ad-ixq"/>
  130. <constraint firstItem="RxZ-Eo-gsY" firstAttribute="top" secondItem="qgD-bf-gnS" secondAttribute="top" id="9Qg-lr-ZWX"/>
  131. <constraint firstItem="feZ-ij-cjM" firstAttribute="leading" secondItem="RxZ-Eo-gsY" secondAttribute="trailing" constant="8" id="Hte-LT-DPc"/>
  132. <constraint firstItem="feZ-ij-cjM" firstAttribute="top" secondItem="qgD-bf-gnS" secondAttribute="top" constant="46" id="Iog-kr-jgF"/>
  133. <constraint firstItem="qSB-Az-aee" firstAttribute="centerY" secondItem="rI6-3z-z33" secondAttribute="centerY" id="L6b-vM-oZp"/>
  134. <constraint firstItem="JF7-f4-ihM" firstAttribute="leading" secondItem="feZ-ij-cjM" secondAttribute="leading" id="RT3-Xi-ANr"/>
  135. <constraint firstAttribute="trailing" secondItem="feZ-ij-cjM" secondAttribute="trailing" constant="16" id="Sch-Ar-L44"/>
  136. <constraint firstItem="qSB-Az-aee" firstAttribute="leading" secondItem="rI6-3z-z33" secondAttribute="trailing" constant="15" id="YGm-Im-bDy"/>
  137. <constraint firstItem="rI6-3z-z33" firstAttribute="top" secondItem="JF7-f4-ihM" secondAttribute="bottom" constant="15" id="Ysp-bX-Tau"/>
  138. <constraint firstItem="AVp-B0-LcQ" firstAttribute="centerY" secondItem="JF7-f4-ihM" secondAttribute="centerY" id="cHu-mi-1qN"/>
  139. <constraint firstItem="RxZ-Eo-gsY" firstAttribute="leading" secondItem="qgD-bf-gnS" secondAttribute="leading" id="dFu-3f-ihs"/>
  140. <constraint firstItem="AVp-B0-LcQ" firstAttribute="leading" secondItem="JF7-f4-ihM" secondAttribute="trailing" constant="16" id="gDW-WJ-ROl"/>
  141. <constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="qSB-Az-aee" secondAttribute="trailing" constant="10" id="gX9-xj-gEb"/>
  142. </constraints>
  143. </view>
  144. <constraints>
  145. <constraint firstAttribute="height" constant="140" id="HWO-1j-I4e"/>
  146. </constraints>
  147. </box>
  148. <customView translatesAutoresizingMaskIntoConstraints="NO" id="A3T-WR-zyR">
  149. <rect key="frame" x="24" y="0.0" width="432" height="143"/>
  150. <subviews>
  151. <customView translatesAutoresizingMaskIntoConstraints="NO" id="o1K-u9-AnD">
  152. <rect key="frame" x="0.0" y="103" width="432" height="40"/>
  153. <subviews>
  154. <textField focusRingType="none" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="rdJ-HM-6MO">
  155. <rect key="frame" x="-2" y="12" width="45" height="16"/>
  156. <textFieldCell key="cell" truncatesLastVisibleLine="YES" sendsActionOnEndEditing="YES" title="Modes" id="KjP-5T-nOx">
  157. <font key="font" metaFont="system"/>
  158. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  159. <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
  160. </textFieldCell>
  161. </textField>
  162. </subviews>
  163. <constraints>
  164. <constraint firstItem="rdJ-HM-6MO" firstAttribute="leading" secondItem="o1K-u9-AnD" secondAttribute="leading" id="4sa-oa-em2"/>
  165. <constraint firstItem="rdJ-HM-6MO" firstAttribute="centerY" secondItem="o1K-u9-AnD" secondAttribute="centerY" id="Bwt-YY-gG5"/>
  166. <constraint firstAttribute="height" constant="40" id="Ro9-6M-5TA"/>
  167. </constraints>
  168. </customView>
  169. <customView translatesAutoresizingMaskIntoConstraints="NO" id="xfO-ts-aiu" customClass="KMCompressContentView" customModule="PDF_Reader_Pro" customModuleProvider="target">
  170. <rect key="frame" x="0.0" y="0.0" width="432" height="103"/>
  171. </customView>
  172. </subviews>
  173. <constraints>
  174. <constraint firstItem="o1K-u9-AnD" firstAttribute="leading" secondItem="A3T-WR-zyR" secondAttribute="leading" id="65a-Bv-U3R"/>
  175. <constraint firstAttribute="trailing" secondItem="xfO-ts-aiu" secondAttribute="trailing" id="91z-u0-0Dk"/>
  176. <constraint firstItem="o1K-u9-AnD" firstAttribute="top" secondItem="A3T-WR-zyR" secondAttribute="top" id="CzJ-cZ-AN0"/>
  177. <constraint firstItem="xfO-ts-aiu" firstAttribute="top" secondItem="o1K-u9-AnD" secondAttribute="bottom" id="DLf-yv-xbS"/>
  178. <constraint firstItem="xfO-ts-aiu" firstAttribute="leading" secondItem="A3T-WR-zyR" secondAttribute="leading" id="LFE-Ce-el9"/>
  179. <constraint firstAttribute="trailing" secondItem="o1K-u9-AnD" secondAttribute="trailing" id="T6p-mF-Pex"/>
  180. <constraint firstAttribute="bottom" secondItem="xfO-ts-aiu" secondAttribute="bottom" id="V9w-BC-bIq"/>
  181. </constraints>
  182. </customView>
  183. </subviews>
  184. <constraints>
  185. <constraint firstAttribute="trailing" secondItem="JoQ-Bg-A7A" secondAttribute="trailing" constant="24" id="1Gc-Ig-aeI"/>
  186. <constraint firstItem="A3T-WR-zyR" firstAttribute="leading" secondItem="v3J-7D-eEs" secondAttribute="leading" constant="24" id="DEU-Xn-Bm8"/>
  187. <constraint firstItem="JoQ-Bg-A7A" firstAttribute="top" secondItem="v3J-7D-eEs" secondAttribute="top" constant="8" id="J85-Kr-6DK"/>
  188. <constraint firstAttribute="trailing" secondItem="A3T-WR-zyR" secondAttribute="trailing" constant="24" id="LsF-JN-1A0"/>
  189. <constraint firstAttribute="bottom" secondItem="A3T-WR-zyR" secondAttribute="bottom" id="Vbd-p1-6Gj"/>
  190. <constraint firstItem="JoQ-Bg-A7A" firstAttribute="leading" secondItem="v3J-7D-eEs" secondAttribute="leading" constant="24" id="aJ5-Bs-twZ"/>
  191. <constraint firstItem="A3T-WR-zyR" firstAttribute="top" secondItem="JoQ-Bg-A7A" secondAttribute="bottom" constant="16" id="xY5-sx-rvz"/>
  192. </constraints>
  193. </view>
  194. <constraints>
  195. <constraint firstAttribute="height" constant="307" id="lMl-S6-VTc"/>
  196. </constraints>
  197. </box>
  198. <box boxType="custom" borderWidth="0.0" translatesAutoresizingMaskIntoConstraints="NO" id="yB0-d9-sLV">
  199. <rect key="frame" x="0.0" y="0.0" width="480" height="64"/>
  200. <view key="contentView" id="876-VF-sTg">
  201. <rect key="frame" x="0.0" y="0.0" width="480" height="64"/>
  202. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  203. <subviews>
  204. <customView translatesAutoresizingMaskIntoConstraints="NO" id="gZ6-Xa-9cX" customClass="ComponentButton" customModule="KMComponentLibrary">
  205. <rect key="frame" x="24" y="16" width="80" height="32"/>
  206. <constraints>
  207. <constraint firstAttribute="width" constant="80" id="g6b-jx-9PL"/>
  208. <constraint firstAttribute="height" constant="32" id="kOX-F2-tFW"/>
  209. </constraints>
  210. </customView>
  211. <customView translatesAutoresizingMaskIntoConstraints="NO" id="5Hz-bj-8s4" customClass="ComponentButton" customModule="KMComponentLibrary">
  212. <rect key="frame" x="287" y="16" width="70" height="32"/>
  213. <constraints>
  214. <constraint firstAttribute="width" constant="70" id="6kO-9H-lzu"/>
  215. <constraint firstAttribute="height" constant="32" id="fEJ-sb-sQD"/>
  216. </constraints>
  217. </customView>
  218. <customView translatesAutoresizingMaskIntoConstraints="NO" id="l8z-Ts-N37" customClass="ComponentButton" customModule="KMComponentLibrary">
  219. <rect key="frame" x="365" y="16" width="91" height="32"/>
  220. <constraints>
  221. <constraint firstAttribute="height" constant="32" id="8T7-OE-bvt"/>
  222. <constraint firstAttribute="width" constant="91" id="lQw-2I-NmK"/>
  223. </constraints>
  224. </customView>
  225. </subviews>
  226. <constraints>
  227. <constraint firstItem="l8z-Ts-N37" firstAttribute="leading" secondItem="5Hz-bj-8s4" secondAttribute="trailing" constant="8" id="86x-da-dCQ"/>
  228. <constraint firstItem="5Hz-bj-8s4" firstAttribute="centerY" secondItem="gZ6-Xa-9cX" secondAttribute="centerY" id="CA9-yM-v1L"/>
  229. <constraint firstItem="l8z-Ts-N37" firstAttribute="centerY" secondItem="5Hz-bj-8s4" secondAttribute="centerY" id="TMD-1y-ChU"/>
  230. <constraint firstItem="gZ6-Xa-9cX" firstAttribute="centerY" secondItem="876-VF-sTg" secondAttribute="centerY" id="dHi-Dy-hgz"/>
  231. <constraint firstAttribute="trailing" secondItem="l8z-Ts-N37" secondAttribute="trailing" constant="24" id="u6d-bJ-q2M"/>
  232. <constraint firstItem="gZ6-Xa-9cX" firstAttribute="leading" secondItem="876-VF-sTg" secondAttribute="leading" constant="24" id="xjt-NA-b6V"/>
  233. </constraints>
  234. </view>
  235. <constraints>
  236. <constraint firstAttribute="height" constant="64" id="v1K-5J-4QY"/>
  237. </constraints>
  238. </box>
  239. </subviews>
  240. <constraints>
  241. <constraint firstItem="41z-iD-1bG" firstAttribute="leading" secondItem="7D3-FA-RtT" secondAttribute="leading" constant="24" id="8Vb-Cp-tes"/>
  242. <constraint firstAttribute="trailing" secondItem="yB0-d9-sLV" secondAttribute="trailing" id="8ek-ec-vz5"/>
  243. <constraint firstAttribute="bottom" secondItem="yB0-d9-sLV" secondAttribute="bottom" id="AWs-gm-I7c"/>
  244. <constraint firstItem="zgR-t5-a16" firstAttribute="top" secondItem="7D3-FA-RtT" secondAttribute="top" id="Kp1-FY-RsI"/>
  245. <constraint firstItem="Mfo-eo-5iW" firstAttribute="leading" secondItem="7D3-FA-RtT" secondAttribute="leading" id="KvN-rZ-ZqJ"/>
  246. <constraint firstItem="Mfo-eo-5iW" firstAttribute="top" secondItem="zgR-t5-a16" secondAttribute="bottom" id="Qct-82-Zaa"/>
  247. <constraint firstAttribute="trailing" secondItem="zgR-t5-a16" secondAttribute="trailing" id="ZUa-cV-qnC"/>
  248. <constraint firstItem="yB0-d9-sLV" firstAttribute="leading" secondItem="7D3-FA-RtT" secondAttribute="leading" id="nKG-Hh-ykX"/>
  249. <constraint firstAttribute="trailing" secondItem="Mfo-eo-5iW" secondAttribute="trailing" id="tHR-K2-Ojo"/>
  250. <constraint firstItem="41z-iD-1bG" firstAttribute="top" secondItem="7D3-FA-RtT" secondAttribute="top" constant="16" id="vBb-aG-dWg"/>
  251. <constraint firstItem="zgR-t5-a16" firstAttribute="leading" secondItem="7D3-FA-RtT" secondAttribute="leading" id="y5v-jU-tmi"/>
  252. </constraints>
  253. </view>
  254. </subviews>
  255. <constraints>
  256. <constraint firstItem="7D3-FA-RtT" firstAttribute="leading" secondItem="c22-O7-iKe" secondAttribute="leading" id="FfU-B7-Lu5"/>
  257. <constraint firstItem="7D3-FA-RtT" firstAttribute="top" secondItem="c22-O7-iKe" secondAttribute="top" id="Mw2-f6-U8P"/>
  258. <constraint firstAttribute="trailing" secondItem="7D3-FA-RtT" secondAttribute="trailing" id="QvG-p4-qhW"/>
  259. <constraint firstAttribute="bottom" secondItem="7D3-FA-RtT" secondAttribute="bottom" id="rPf-Hv-ogo"/>
  260. </constraints>
  261. <point key="canvasLocation" x="45" y="145.5"/>
  262. </customView>
  263. </objects>
  264. </document>