KMBotaSearchViewController.xib 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233
  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="KMBotaSearchViewController" customModule="PDF_Reader_Pro" customModuleProvider="target">
  10. <connections>
  11. <outlet property="box" destination="jTx-lq-IMO" id="3np-QT-RBm"/>
  12. <outlet property="emptyBox" destination="YP3-hM-jIu" id="76W-OU-rpD"/>
  13. <outlet property="emptySearchLabel" destination="RZV-VM-ubG" id="P1g-lE-xp0"/>
  14. <outlet property="pageLabel" destination="DG6-KM-fPE" id="WCW-t2-N6y"/>
  15. <outlet property="searchBox" destination="m5j-WZ-WP4" id="cvH-DW-gmp"/>
  16. <outlet property="searchDomeButton" destination="Sot-lU-418" id="nTG-J5-bHW"/>
  17. <outlet property="searchField" destination="Exf-lV-10v" id="HAb-dG-HXv"/>
  18. <outlet property="searchLabel" destination="ZGS-QS-aFB" id="Uq1-gi-5tY"/>
  19. <outlet property="searchResultsLabel" destination="avX-Sl-7dw" id="U6D-o9-NG9"/>
  20. <outlet property="searchResultsView" destination="hP4-NA-Ala" id="srK-Ds-q65"/>
  21. <outlet property="searchTips" destination="LV8-kC-pPy" id="vhL-vd-TBZ"/>
  22. <outlet property="segmentedControl" destination="2OM-I5-WuT" id="hoB-xe-Aav"/>
  23. <outlet property="view" destination="Hz6-mo-xeY" id="0bl-1N-x8E"/>
  24. </connections>
  25. </customObject>
  26. <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
  27. <customObject id="-3" userLabel="Application" customClass="NSObject"/>
  28. <customView id="Hz6-mo-xeY">
  29. <rect key="frame" x="0.0" y="0.0" width="240" height="513"/>
  30. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  31. <subviews>
  32. <searchField wantsLayer="YES" focusRingType="none" verticalHuggingPriority="750" textCompletion="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Exf-lV-10v">
  33. <rect key="frame" x="16" y="452" width="164" height="20"/>
  34. <searchFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" borderStyle="border" usesSingleLineMode="YES" id="So1-aF-t1m">
  35. <font key="font" metaFont="system"/>
  36. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  37. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  38. </searchFieldCell>
  39. </searchField>
  40. <box boxType="custom" borderType="none" cornerRadius="4" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="jTx-lq-IMO">
  41. <rect key="frame" x="0.0" y="0.0" width="240" height="422"/>
  42. <view key="contentView" id="Hlh-Hl-xR6">
  43. <rect key="frame" x="0.0" y="0.0" width="240" height="422"/>
  44. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  45. </view>
  46. <color key="fillColor" red="0.0" green="0.0" blue="0.0" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/>
  47. </box>
  48. <box boxType="custom" borderWidth="0.0" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="YP3-hM-jIu">
  49. <rect key="frame" x="0.0" y="0.0" width="240" height="422"/>
  50. <view key="contentView" id="fz0-9N-dbN">
  51. <rect key="frame" x="0.0" y="0.0" width="240" height="422"/>
  52. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  53. <subviews>
  54. <customView translatesAutoresizingMaskIntoConstraints="NO" id="Vwh-uE-n99">
  55. <rect key="frame" x="-5" y="125" width="250" height="173"/>
  56. <subviews>
  57. <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="fCc-bq-sMR">
  58. <rect key="frame" x="55" y="33" width="140" height="140"/>
  59. <constraints>
  60. <constraint firstAttribute="height" constant="140" id="1Zc-3B-E9k"/>
  61. <constraint firstAttribute="width" constant="140" id="C42-wv-uSe"/>
  62. </constraints>
  63. <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="KMImageNameEmptySearch" id="Fgf-hM-PPL"/>
  64. </imageView>
  65. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="RZV-VM-ubG">
  66. <rect key="frame" x="8" y="0.0" width="234" height="17"/>
  67. <constraints>
  68. <constraint firstAttribute="width" constant="230" id="Mx1-pb-NMh"/>
  69. </constraints>
  70. <textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="center" title="No Results" id="5Sf-lz-ZAg">
  71. <font key="font" metaFont="systemSemibold" size="14"/>
  72. <color key="textColor" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/>
  73. <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
  74. </textFieldCell>
  75. </textField>
  76. </subviews>
  77. <constraints>
  78. <constraint firstAttribute="trailing" secondItem="RZV-VM-ubG" secondAttribute="trailing" constant="10" id="C59-AL-Mzh"/>
  79. <constraint firstItem="RZV-VM-ubG" firstAttribute="leading" secondItem="Vwh-uE-n99" secondAttribute="leading" constant="10" id="I0V-zQ-d37"/>
  80. <constraint firstAttribute="bottom" secondItem="RZV-VM-ubG" secondAttribute="bottom" id="Tgc-kv-esu"/>
  81. <constraint firstItem="RZV-VM-ubG" firstAttribute="top" secondItem="fCc-bq-sMR" secondAttribute="bottom" constant="16" id="af2-pO-ZDN"/>
  82. <constraint firstItem="fCc-bq-sMR" firstAttribute="centerX" secondItem="Vwh-uE-n99" secondAttribute="centerX" id="eQi-pW-kKz"/>
  83. <constraint firstItem="RZV-VM-ubG" firstAttribute="centerX" secondItem="Vwh-uE-n99" secondAttribute="centerX" id="ep9-Ce-MPS"/>
  84. <constraint firstItem="fCc-bq-sMR" firstAttribute="top" secondItem="Vwh-uE-n99" secondAttribute="top" id="kvQ-Cb-2Fg"/>
  85. </constraints>
  86. </customView>
  87. </subviews>
  88. <constraints>
  89. <constraint firstItem="Vwh-uE-n99" firstAttribute="centerX" secondItem="fz0-9N-dbN" secondAttribute="centerX" id="GZ1-XW-XhO"/>
  90. <constraint firstItem="Vwh-uE-n99" firstAttribute="centerY" secondItem="fz0-9N-dbN" secondAttribute="centerY" id="v8f-Uo-CfG"/>
  91. </constraints>
  92. </view>
  93. <color key="borderColor" red="0.0" green="0.0" blue="0.0" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/>
  94. <color key="fillColor" red="0.0" green="0.0" blue="0.0" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/>
  95. </box>
  96. <customView translatesAutoresizingMaskIntoConstraints="NO" id="2OM-I5-WuT" customClass="KMSegmentedControl" customModule="PDF_Reader_Pro" customModuleProvider="target">
  97. <rect key="frame" x="184" y="480" width="50" height="25"/>
  98. <constraints>
  99. <constraint firstAttribute="width" constant="50" id="4nF-ia-dJx"/>
  100. <constraint firstAttribute="height" constant="25" id="LzF-7O-4Fm"/>
  101. </constraints>
  102. </customView>
  103. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ZGS-QS-aFB">
  104. <rect key="frame" x="14" y="484" width="40" height="17"/>
  105. <textFieldCell key="cell" lineBreakMode="clipping" title="Label" id="Eil-0G-5lp">
  106. <font key="font" metaFont="system" size="14"/>
  107. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  108. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  109. </textFieldCell>
  110. </textField>
  111. <box boxType="custom" borderWidth="0.0" cornerRadius="1" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="m5j-WZ-WP4" customClass="KMBox" customModule="PDF_Reader_Pro" customModuleProvider="target">
  112. <rect key="frame" x="16" y="452" width="208" height="20"/>
  113. <view key="contentView" id="zoj-cx-Qv1">
  114. <rect key="frame" x="0.0" y="0.0" width="208" height="20"/>
  115. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  116. <subviews>
  117. <customView translatesAutoresizingMaskIntoConstraints="NO" id="AuZ-iT-8Sc">
  118. <rect key="frame" x="79" y="0.0" width="50" height="20"/>
  119. <subviews>
  120. <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="F6A-U5-mv7">
  121. <rect key="frame" x="0.0" y="2" width="16" height="16"/>
  122. <constraints>
  123. <constraint firstAttribute="height" constant="16" id="Cq1-jy-gdR"/>
  124. <constraint firstAttribute="width" constant="16" id="akO-nn-kuV"/>
  125. </constraints>
  126. <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="KMImageNameUXIconBtnSearchbarSearch" id="3va-Z6-CLg"/>
  127. </imageView>
  128. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="LV8-kC-pPy">
  129. <rect key="frame" x="15" y="2" width="37" height="16"/>
  130. <textFieldCell key="cell" lineBreakMode="clipping" title="Label" id="8F8-Ba-XlP">
  131. <font key="font" metaFont="system"/>
  132. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  133. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  134. </textFieldCell>
  135. </textField>
  136. </subviews>
  137. <constraints>
  138. <constraint firstItem="LV8-kC-pPy" firstAttribute="leading" secondItem="F6A-U5-mv7" secondAttribute="trailing" constant="1" id="ONS-wa-eK6"/>
  139. <constraint firstAttribute="trailing" secondItem="LV8-kC-pPy" secondAttribute="trailing" id="Y6y-4l-exs"/>
  140. <constraint firstItem="F6A-U5-mv7" firstAttribute="leading" secondItem="AuZ-iT-8Sc" secondAttribute="leading" id="hwu-Jp-he1"/>
  141. <constraint firstItem="F6A-U5-mv7" firstAttribute="centerY" secondItem="AuZ-iT-8Sc" secondAttribute="centerY" id="oRV-Me-PUb"/>
  142. <constraint firstItem="LV8-kC-pPy" firstAttribute="centerY" secondItem="AuZ-iT-8Sc" secondAttribute="centerY" id="vZX-iJ-SG0"/>
  143. </constraints>
  144. </customView>
  145. </subviews>
  146. <constraints>
  147. <constraint firstItem="AuZ-iT-8Sc" firstAttribute="top" secondItem="zoj-cx-Qv1" secondAttribute="top" id="52i-Ye-JVI"/>
  148. <constraint firstAttribute="bottom" secondItem="AuZ-iT-8Sc" secondAttribute="bottom" id="5Ui-6N-ba1"/>
  149. </constraints>
  150. </view>
  151. <constraints>
  152. <constraint firstItem="AuZ-iT-8Sc" firstAttribute="centerX" secondItem="m5j-WZ-WP4" secondAttribute="centerX" id="PPE-UO-t8C"/>
  153. </constraints>
  154. </box>
  155. <customView translatesAutoresizingMaskIntoConstraints="NO" id="hP4-NA-Ala">
  156. <rect key="frame" x="16" y="430" width="208" height="14"/>
  157. <subviews>
  158. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="avX-Sl-7dw">
  159. <rect key="frame" x="-2" y="0.0" width="33" height="14"/>
  160. <textFieldCell key="cell" lineBreakMode="clipping" title="Label" id="aJC-Hn-dib">
  161. <font key="font" metaFont="smallSystem"/>
  162. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  163. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  164. </textFieldCell>
  165. </textField>
  166. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="DG6-KM-fPE">
  167. <rect key="frame" x="177" y="0.0" width="33" height="14"/>
  168. <textFieldCell key="cell" lineBreakMode="clipping" title="Label" id="kMU-mK-L5o">
  169. <font key="font" metaFont="smallSystem"/>
  170. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  171. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  172. </textFieldCell>
  173. </textField>
  174. </subviews>
  175. <constraints>
  176. <constraint firstItem="avX-Sl-7dw" firstAttribute="leading" secondItem="hP4-NA-Ala" secondAttribute="leading" id="CNl-c5-s1P"/>
  177. <constraint firstItem="DG6-KM-fPE" firstAttribute="centerY" secondItem="avX-Sl-7dw" secondAttribute="centerY" id="XAZ-BC-Zau"/>
  178. <constraint firstAttribute="bottom" secondItem="avX-Sl-7dw" secondAttribute="bottom" id="bKj-K9-CUH"/>
  179. <constraint firstItem="avX-Sl-7dw" firstAttribute="top" secondItem="hP4-NA-Ala" secondAttribute="top" id="f4d-IP-x9i"/>
  180. <constraint firstAttribute="trailing" secondItem="DG6-KM-fPE" secondAttribute="trailing" id="uCD-1a-2mT"/>
  181. </constraints>
  182. </customView>
  183. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Sot-lU-418">
  184. <rect key="frame" x="188" y="452" width="36" height="20"/>
  185. <buttonCell key="cell" type="square" title="Button" bezelStyle="shadowlessSquare" alignment="center" imageScaling="proportionallyDown" inset="2" id="ueG-bM-doV">
  186. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  187. <font key="font" metaFont="cellTitle"/>
  188. </buttonCell>
  189. <constraints>
  190. <constraint firstAttribute="height" constant="20" id="bAq-jA-d1x"/>
  191. <constraint firstAttribute="width" constant="36" id="nWW-zz-pQ3"/>
  192. </constraints>
  193. <connections>
  194. <action selector="searchDomeButtonAtion:" target="-2" id="6wa-gN-8qu"/>
  195. </connections>
  196. </button>
  197. </subviews>
  198. <constraints>
  199. <constraint firstItem="hP4-NA-Ala" firstAttribute="top" secondItem="Exf-lV-10v" secondAttribute="bottom" constant="8" id="1Kg-bg-LGr"/>
  200. <constraint firstItem="hP4-NA-Ala" firstAttribute="trailing" secondItem="m5j-WZ-WP4" secondAttribute="trailing" id="4if-ph-rEL"/>
  201. <constraint firstItem="Exf-lV-10v" firstAttribute="top" secondItem="2OM-I5-WuT" secondAttribute="bottom" constant="8" id="Gpq-6K-sPq"/>
  202. <constraint firstItem="YP3-hM-jIu" firstAttribute="centerX" secondItem="jTx-lq-IMO" secondAttribute="centerX" id="I0r-BH-fx2"/>
  203. <constraint firstAttribute="trailing" secondItem="jTx-lq-IMO" secondAttribute="trailing" id="OKR-iq-2Yo"/>
  204. <constraint firstItem="Sot-lU-418" firstAttribute="leading" secondItem="Exf-lV-10v" secondAttribute="trailing" constant="8" id="PHH-tq-U24"/>
  205. <constraint firstAttribute="trailing" secondItem="m5j-WZ-WP4" secondAttribute="trailing" constant="16" id="RpE-ng-ElP"/>
  206. <constraint firstItem="ZGS-QS-aFB" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="16" id="SOD-0k-NPp"/>
  207. <constraint firstItem="YP3-hM-jIu" firstAttribute="height" secondItem="jTx-lq-IMO" secondAttribute="height" id="Swr-lv-cAz"/>
  208. <constraint firstItem="m5j-WZ-WP4" firstAttribute="leading" secondItem="Exf-lV-10v" secondAttribute="leading" id="Vnk-Pc-Nhr"/>
  209. <constraint firstItem="hP4-NA-Ala" firstAttribute="leading" secondItem="m5j-WZ-WP4" secondAttribute="leading" id="Wgl-cP-RDF"/>
  210. <constraint firstItem="m5j-WZ-WP4" firstAttribute="top" secondItem="Exf-lV-10v" secondAttribute="top" id="Wm2-5T-Veu"/>
  211. <constraint firstAttribute="trailing" secondItem="Sot-lU-418" secondAttribute="trailing" constant="16" id="XMf-el-u9F"/>
  212. <constraint firstItem="2OM-I5-WuT" firstAttribute="centerY" secondItem="ZGS-QS-aFB" secondAttribute="centerY" id="Z3A-Y9-HK5"/>
  213. <constraint firstItem="2OM-I5-WuT" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" constant="8" id="d8L-Cb-uC8"/>
  214. <constraint firstItem="YP3-hM-jIu" firstAttribute="width" secondItem="jTx-lq-IMO" secondAttribute="width" id="g2b-zR-cbj"/>
  215. <constraint firstItem="Sot-lU-418" firstAttribute="centerY" secondItem="Exf-lV-10v" secondAttribute="centerY" id="gac-i5-Jlm"/>
  216. <constraint firstItem="m5j-WZ-WP4" firstAttribute="top" secondItem="2OM-I5-WuT" secondAttribute="bottom" constant="8" id="gbI-es-zpr"/>
  217. <constraint firstAttribute="trailing" secondItem="2OM-I5-WuT" secondAttribute="trailing" constant="6" id="o9z-IY-CCJ"/>
  218. <constraint firstItem="jTx-lq-IMO" firstAttribute="top" secondItem="hP4-NA-Ala" secondAttribute="bottom" constant="8" id="oi4-Ow-iIw"/>
  219. <constraint firstItem="Exf-lV-10v" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="16" id="qE5-qt-cCi"/>
  220. <constraint firstItem="jTx-lq-IMO" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" id="ski-kz-g2S"/>
  221. <constraint firstItem="m5j-WZ-WP4" firstAttribute="bottom" secondItem="Exf-lV-10v" secondAttribute="bottom" id="slj-io-4Ku"/>
  222. <constraint firstItem="YP3-hM-jIu" firstAttribute="centerY" secondItem="jTx-lq-IMO" secondAttribute="centerY" id="vqG-Le-4nc"/>
  223. <constraint firstAttribute="bottom" secondItem="jTx-lq-IMO" secondAttribute="bottom" id="yHi-h2-Tme"/>
  224. </constraints>
  225. <point key="canvasLocation" x="-17" y="129.5"/>
  226. </customView>
  227. <userDefaultsController representsSharedInstance="YES" id="vA0-OE-D4s"/>
  228. </objects>
  229. <resources>
  230. <image name="KMImageNameEmptySearch" width="140" height="140"/>
  231. <image name="KMImageNameUXIconBtnSearchbarSearch" width="16" height="16"/>
  232. </resources>
  233. </document>