SidebarDemoVC.xib 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  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="SidebarDemoVC" customModule="PDF_Reader_Pro" customModuleProvider="target">
  10. <connections>
  11. <outlet property="annotationItem" destination="q1c-8Y-Hoi" id="LIj-CI-FQs"/>
  12. <outlet property="bookmarkItem" destination="HVq-iv-Xre" id="hAq-Be-YIx"/>
  13. <outlet property="firstPageBtn" destination="q3f-DR-Idu" id="DKl-vO-Ipg"/>
  14. <outlet property="lastPageBtn" destination="5sy-GS-uB4" id="cIv-hW-xiX"/>
  15. <outlet property="nextBtn" destination="hYJ-bK-W2m" id="GiK-Fy-KI5"/>
  16. <outlet property="outlineItem" destination="h6Z-LO-QSb" id="0mG-et-plh"/>
  17. <outlet property="pageTurnerView" destination="r3z-zu-zat" id="5Aj-5E-Aar"/>
  18. <outlet property="previousBtn" destination="p0T-fJ-HFK" id="f2O-kC-c1z"/>
  19. <outlet property="searchItem" destination="QCi-rw-Hya" id="UdY-dT-Hty"/>
  20. <outlet property="thumbnailItem" destination="RO0-jr-FAu" id="cJJ-fP-grK"/>
  21. <outlet property="view" destination="Hz6-mo-xeY" id="0bl-1N-x8E"/>
  22. </connections>
  23. </customObject>
  24. <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
  25. <customObject id="-3" userLabel="Application" customClass="NSObject"/>
  26. <customView id="Hz6-mo-xeY">
  27. <rect key="frame" x="0.0" y="0.0" width="914" height="590"/>
  28. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  29. <subviews>
  30. <box boxType="custom" cornerRadius="4" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="Mz2-Xc-aHJ">
  31. <rect key="frame" x="20" y="20" width="550" height="550"/>
  32. <view key="contentView" id="Bnq-Es-HIH">
  33. <rect key="frame" x="1" y="1" width="548" height="548"/>
  34. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  35. <subviews>
  36. <customView translatesAutoresizingMaskIntoConstraints="NO" id="Yh7-Aq-bwa">
  37. <rect key="frame" x="40" y="288" width="44" height="220"/>
  38. <subviews>
  39. <customView translatesAutoresizingMaskIntoConstraints="NO" id="QCi-rw-Hya" customClass="ComponentSideBarItem" customModule="KMComponentLibrary">
  40. <rect key="frame" x="0.0" y="176" width="44" height="44"/>
  41. <constraints>
  42. <constraint firstAttribute="width" constant="44" id="Ev9-h6-wAf"/>
  43. <constraint firstAttribute="height" constant="44" id="jCI-ct-7uk"/>
  44. </constraints>
  45. </customView>
  46. <customView translatesAutoresizingMaskIntoConstraints="NO" id="RO0-jr-FAu" customClass="ComponentSideBarItem" customModule="KMComponentLibrary">
  47. <rect key="frame" x="0.0" y="132" width="44" height="44"/>
  48. <constraints>
  49. <constraint firstAttribute="height" constant="44" id="3uL-Wc-pVE"/>
  50. <constraint firstAttribute="width" constant="44" id="8IA-f3-OlB"/>
  51. </constraints>
  52. </customView>
  53. <customView translatesAutoresizingMaskIntoConstraints="NO" id="h6Z-LO-QSb" customClass="ComponentSideBarItem" customModule="KMComponentLibrary">
  54. <rect key="frame" x="0.0" y="88" width="44" height="44"/>
  55. <constraints>
  56. <constraint firstAttribute="height" constant="44" id="KW1-Vy-Oj1"/>
  57. <constraint firstAttribute="width" constant="44" id="x6U-yS-0MN"/>
  58. </constraints>
  59. </customView>
  60. <customView translatesAutoresizingMaskIntoConstraints="NO" id="HVq-iv-Xre" customClass="ComponentSideBarItem" customModule="KMComponentLibrary">
  61. <rect key="frame" x="0.0" y="44" width="44" height="44"/>
  62. <constraints>
  63. <constraint firstAttribute="height" constant="44" id="n0i-O8-uwy"/>
  64. <constraint firstAttribute="width" constant="44" id="xfM-uK-5bH"/>
  65. </constraints>
  66. </customView>
  67. <customView translatesAutoresizingMaskIntoConstraints="NO" id="q1c-8Y-Hoi" customClass="ComponentSideBarItem" customModule="KMComponentLibrary">
  68. <rect key="frame" x="0.0" y="0.0" width="44" height="44"/>
  69. <constraints>
  70. <constraint firstAttribute="height" constant="44" id="5YI-1W-H4z"/>
  71. <constraint firstAttribute="width" constant="44" id="W6B-MG-Ynk"/>
  72. </constraints>
  73. </customView>
  74. </subviews>
  75. <constraints>
  76. <constraint firstItem="h6Z-LO-QSb" firstAttribute="leading" secondItem="Yh7-Aq-bwa" secondAttribute="leading" id="0Jb-Bq-Hyn"/>
  77. <constraint firstItem="HVq-iv-Xre" firstAttribute="top" secondItem="h6Z-LO-QSb" secondAttribute="bottom" id="KaG-Af-WCh"/>
  78. <constraint firstItem="QCi-rw-Hya" firstAttribute="top" secondItem="Yh7-Aq-bwa" secondAttribute="top" id="O1K-Ck-S0X"/>
  79. <constraint firstAttribute="width" constant="44" id="R9A-k4-HiU"/>
  80. <constraint firstAttribute="height" constant="220" id="Z7w-Zj-cMb"/>
  81. <constraint firstItem="q1c-8Y-Hoi" firstAttribute="leading" secondItem="Yh7-Aq-bwa" secondAttribute="leading" id="a8i-70-rr6"/>
  82. <constraint firstItem="q1c-8Y-Hoi" firstAttribute="top" secondItem="HVq-iv-Xre" secondAttribute="bottom" id="cjZ-kp-Nk3"/>
  83. <constraint firstItem="HVq-iv-Xre" firstAttribute="leading" secondItem="Yh7-Aq-bwa" secondAttribute="leading" id="kOb-Vw-cW3"/>
  84. <constraint firstItem="RO0-jr-FAu" firstAttribute="top" secondItem="QCi-rw-Hya" secondAttribute="bottom" id="tdd-9L-VwI"/>
  85. <constraint firstItem="QCi-rw-Hya" firstAttribute="leading" secondItem="Yh7-Aq-bwa" secondAttribute="leading" id="vq7-XD-bFL"/>
  86. <constraint firstItem="h6Z-LO-QSb" firstAttribute="top" secondItem="RO0-jr-FAu" secondAttribute="bottom" id="xqt-9C-Oli"/>
  87. <constraint firstItem="RO0-jr-FAu" firstAttribute="leading" secondItem="Yh7-Aq-bwa" secondAttribute="leading" id="zae-dE-cSw"/>
  88. </constraints>
  89. </customView>
  90. <customView fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="r3z-zu-zat" customClass="ComponentSidebarPageTurner" customModule="KMComponentLibrary">
  91. <rect key="frame" x="149" y="174" width="32" height="334"/>
  92. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  93. </customView>
  94. </subviews>
  95. <constraints>
  96. <constraint firstItem="Yh7-Aq-bwa" firstAttribute="top" secondItem="Bnq-Es-HIH" secondAttribute="top" constant="40" id="Qa3-Ra-29j"/>
  97. <constraint firstItem="Yh7-Aq-bwa" firstAttribute="leading" secondItem="Bnq-Es-HIH" secondAttribute="leading" constant="40" id="ofu-WM-04C"/>
  98. </constraints>
  99. </view>
  100. <constraints>
  101. <constraint firstAttribute="width" secondItem="Mz2-Xc-aHJ" secondAttribute="height" multiplier="1:1" id="xWj-sD-m74"/>
  102. </constraints>
  103. </box>
  104. <box boxType="custom" cornerRadius="4" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="MR4-r8-sRQ">
  105. <rect key="frame" x="590" y="20" width="304" height="550"/>
  106. <view key="contentView" id="abl-Ln-rfD">
  107. <rect key="frame" x="1" y="1" width="302" height="548"/>
  108. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  109. <subviews>
  110. <box boxType="custom" cornerRadius="4" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="sc9-HV-yln">
  111. <rect key="frame" x="0.0" y="386" width="302" height="162"/>
  112. <view key="contentView" id="Fcq-Ok-wok">
  113. <rect key="frame" x="1" y="1" width="300" height="160"/>
  114. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  115. <subviews>
  116. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="q3f-DR-Idu">
  117. <rect key="frame" x="28" y="97" width="87" height="18"/>
  118. <buttonCell key="cell" type="check" title="First Page" bezelStyle="regularSquare" imagePosition="left" inset="2" id="NEG-JP-4pl">
  119. <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
  120. <font key="font" metaFont="system"/>
  121. </buttonCell>
  122. <connections>
  123. <action selector="clickAction:" target="-2" id="OfT-vK-Yqb"/>
  124. </connections>
  125. </button>
  126. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="5sy-GS-uB4">
  127. <rect key="frame" x="28" y="71" width="86" height="18"/>
  128. <buttonCell key="cell" type="check" title="Last Page" bezelStyle="regularSquare" imagePosition="left" inset="2" id="aht-fu-BIL">
  129. <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
  130. <font key="font" metaFont="system"/>
  131. </buttonCell>
  132. <connections>
  133. <action selector="clickAction:" target="-2" id="ErF-aQ-hrr"/>
  134. </connections>
  135. </button>
  136. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="p0T-fJ-HFK">
  137. <rect key="frame" x="28" y="45" width="79" height="18"/>
  138. <buttonCell key="cell" type="check" title="Previous" bezelStyle="regularSquare" imagePosition="left" inset="2" id="xfg-LK-yxG">
  139. <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
  140. <font key="font" metaFont="system"/>
  141. </buttonCell>
  142. <connections>
  143. <action selector="clickAction:" target="-2" id="EGB-zl-ew1"/>
  144. </connections>
  145. </button>
  146. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Swm-Ap-2gK">
  147. <rect key="frame" x="18" y="124" width="77" height="16"/>
  148. <textFieldCell key="cell" lineBreakMode="clipping" title="PageTurner:" id="VLe-OG-CVO">
  149. <font key="font" metaFont="system"/>
  150. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  151. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  152. </textFieldCell>
  153. </textField>
  154. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="hYJ-bK-W2m">
  155. <rect key="frame" x="28" y="19" width="55" height="18"/>
  156. <buttonCell key="cell" type="check" title="Next" bezelStyle="regularSquare" imagePosition="left" inset="2" id="2Rl-dJ-0R5">
  157. <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
  158. <font key="font" metaFont="system"/>
  159. </buttonCell>
  160. <connections>
  161. <action selector="clickAction:" target="-2" id="Cyc-y0-9Vb"/>
  162. </connections>
  163. </button>
  164. </subviews>
  165. <constraints>
  166. <constraint firstItem="5sy-GS-uB4" firstAttribute="top" secondItem="q3f-DR-Idu" secondAttribute="bottom" constant="10" id="4Kc-A4-CMe"/>
  167. <constraint firstItem="q3f-DR-Idu" firstAttribute="leading" secondItem="Fcq-Ok-wok" secondAttribute="leading" constant="30" id="8Z5-yD-XPv"/>
  168. <constraint firstItem="p0T-fJ-HFK" firstAttribute="top" secondItem="5sy-GS-uB4" secondAttribute="bottom" constant="10" id="AgQ-Ab-yIA"/>
  169. <constraint firstItem="p0T-fJ-HFK" firstAttribute="leading" secondItem="Fcq-Ok-wok" secondAttribute="leading" constant="30" id="Bsj-GY-nO2"/>
  170. <constraint firstItem="q3f-DR-Idu" firstAttribute="top" secondItem="Swm-Ap-2gK" secondAttribute="bottom" constant="10" id="MTx-W2-dAG"/>
  171. <constraint firstItem="Swm-Ap-2gK" firstAttribute="leading" secondItem="Fcq-Ok-wok" secondAttribute="leading" constant="20" id="WgE-uS-CU5"/>
  172. <constraint firstItem="hYJ-bK-W2m" firstAttribute="top" secondItem="p0T-fJ-HFK" secondAttribute="bottom" constant="10" id="cEu-oD-PSU"/>
  173. <constraint firstAttribute="bottom" secondItem="hYJ-bK-W2m" secondAttribute="bottom" constant="20" id="eYn-Wy-uHC"/>
  174. <constraint firstItem="5sy-GS-uB4" firstAttribute="leading" secondItem="Fcq-Ok-wok" secondAttribute="leading" constant="30" id="g3q-OA-bLk"/>
  175. <constraint firstItem="hYJ-bK-W2m" firstAttribute="leading" secondItem="Fcq-Ok-wok" secondAttribute="leading" constant="30" id="oTT-Oq-Fvq"/>
  176. <constraint firstItem="Swm-Ap-2gK" firstAttribute="top" secondItem="Fcq-Ok-wok" secondAttribute="top" constant="20" id="u7s-dP-Z7G"/>
  177. </constraints>
  178. </view>
  179. </box>
  180. </subviews>
  181. <constraints>
  182. <constraint firstItem="sc9-HV-yln" firstAttribute="top" secondItem="abl-Ln-rfD" secondAttribute="top" id="13E-aT-iPv"/>
  183. <constraint firstAttribute="trailing" secondItem="sc9-HV-yln" secondAttribute="trailing" id="Vhn-T5-dlg"/>
  184. <constraint firstItem="sc9-HV-yln" firstAttribute="leading" secondItem="abl-Ln-rfD" secondAttribute="leading" id="y49-xS-jZu"/>
  185. </constraints>
  186. </view>
  187. </box>
  188. </subviews>
  189. <constraints>
  190. <constraint firstItem="MR4-r8-sRQ" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" constant="20" id="28q-Os-JN7"/>
  191. <constraint firstAttribute="trailing" secondItem="MR4-r8-sRQ" secondAttribute="trailing" constant="20" id="AZX-bU-AaN"/>
  192. <constraint firstAttribute="bottom" secondItem="Mz2-Xc-aHJ" secondAttribute="bottom" constant="20" id="BsG-rd-nA2"/>
  193. <constraint firstItem="Mz2-Xc-aHJ" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" constant="20" id="GyY-Me-YN4"/>
  194. <constraint firstItem="Mz2-Xc-aHJ" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" constant="20" id="c5B-CE-8pQ"/>
  195. <constraint firstItem="MR4-r8-sRQ" firstAttribute="leading" secondItem="Mz2-Xc-aHJ" secondAttribute="trailing" constant="20" id="c9A-JI-p1s"/>
  196. <constraint firstAttribute="bottom" secondItem="MR4-r8-sRQ" secondAttribute="bottom" constant="20" id="oqz-qM-Fz6"/>
  197. </constraints>
  198. <point key="canvasLocation" x="351" y="313"/>
  199. </customView>
  200. </objects>
  201. </document>