KMBookMarkViewController.xib 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="21701" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
  3. <dependencies>
  4. <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="21701"/>
  5. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  6. </dependencies>
  7. <objects>
  8. <customObject id="-2" userLabel="File's Owner" customClass="KMBookMarkViewController" customModule="PDF_Master" customModuleProvider="target">
  9. <connections>
  10. <outlet property="addBookButton" destination="3yQ-un-hNE" id="kxu-QV-1AM"/>
  11. <outlet property="bigTipLabel" destination="BO0-hw-zv2" id="hvD-cO-67N"/>
  12. <outlet property="bookTableView" destination="jMm-Al-ZqF" id="9wa-Z0-JAz"/>
  13. <outlet property="emptyView" destination="H5X-YQ-dvn" id="6p4-Ta-8tF"/>
  14. <outlet property="tipLabel" destination="Msu-u0-gPn" id="ffr-tn-AMo"/>
  15. <outlet property="titleTextField" destination="3oi-0L-gXH" id="nKT-yM-6bo"/>
  16. <outlet property="topSeplineView" destination="ep4-a0-YrH" id="10a-WM-HdS"/>
  17. <outlet property="view" destination="Hz6-mo-xeY" id="0bl-1N-x8E"/>
  18. </connections>
  19. </customObject>
  20. <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
  21. <customObject id="-3" userLabel="Application" customClass="NSObject"/>
  22. <customView appearanceType="aqua" misplaced="YES" id="Hz6-mo-xeY">
  23. <rect key="frame" x="0.0" y="0.0" width="260" height="440"/>
  24. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  25. <subviews>
  26. <customView id="Pzi-Vp-0aL">
  27. <rect key="frame" x="0.0" y="0.0" width="260" height="440"/>
  28. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  29. <subviews>
  30. <customView translatesAutoresizingMaskIntoConstraints="NO" id="ZOC-6Y-3av">
  31. <rect key="frame" x="0.0" y="0.0" width="260" height="417"/>
  32. <subviews>
  33. <view translatesAutoresizingMaskIntoConstraints="NO" id="bIK-U7-Zqf">
  34. <rect key="frame" x="0.0" y="369" width="260" height="48"/>
  35. <subviews>
  36. <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="3oi-0L-gXH">
  37. <rect key="frame" x="14" y="16" width="35" height="16"/>
  38. <textFieldCell key="cell" lineBreakMode="clipping" title="book" id="Lva-jT-T3H">
  39. <font key="font" usesAppearanceFont="YES"/>
  40. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  41. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  42. </textFieldCell>
  43. </textField>
  44. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="3yQ-un-hNE">
  45. <rect key="frame" x="220" y="8" width="32" height="32"/>
  46. <constraints>
  47. <constraint firstAttribute="height" constant="32" id="54D-pF-AoV"/>
  48. <constraint firstAttribute="width" constant="32" id="oZP-jn-egC"/>
  49. </constraints>
  50. <buttonCell key="cell" type="smallSquare" bezelStyle="smallSquare" image="KMImageNameBookMarksAdd" imagePosition="overlaps" alignment="center" lineBreakMode="truncatingTail" state="on" imageScaling="proportionallyDown" inset="2" id="wPd-bK-WYA">
  51. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  52. <font key="font" metaFont="system"/>
  53. </buttonCell>
  54. <connections>
  55. <action selector="addBookmarkAction:" target="-2" id="LYe-dO-Oje"/>
  56. </connections>
  57. </button>
  58. <customView fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="ep4-a0-YrH">
  59. <rect key="frame" x="0.0" y="0.0" width="260" height="1"/>
  60. <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
  61. </customView>
  62. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Bsc-ME-Qqh">
  63. <rect key="frame" x="130" y="24" width="0.0" height="0.0"/>
  64. <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" alignment="center" imageScaling="proportionallyDown" inset="2" id="Zio-I4-Bjd">
  65. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  66. <font key="font" metaFont="system"/>
  67. <string key="keyEquivalent" base64-UTF8="YES">
  68. Gw
  69. </string>
  70. </buttonCell>
  71. <connections>
  72. <action selector="escButtonAction:" target="-2" id="2IE-Dn-73t"/>
  73. </connections>
  74. </button>
  75. </subviews>
  76. <constraints>
  77. <constraint firstItem="3oi-0L-gXH" firstAttribute="centerY" secondItem="bIK-U7-Zqf" secondAttribute="centerY" id="Dx4-hO-Mw9"/>
  78. <constraint firstItem="Bsc-ME-Qqh" firstAttribute="centerX" secondItem="bIK-U7-Zqf" secondAttribute="centerX" id="MB5-w1-b95"/>
  79. <constraint firstAttribute="trailing" secondItem="3yQ-un-hNE" secondAttribute="trailing" constant="8" id="SeY-1V-RIE"/>
  80. <constraint firstAttribute="height" constant="48" id="VqR-5n-kaA"/>
  81. <constraint firstItem="3oi-0L-gXH" firstAttribute="leading" secondItem="bIK-U7-Zqf" secondAttribute="leading" constant="16" id="Zaz-F0-rX0"/>
  82. <constraint firstItem="Bsc-ME-Qqh" firstAttribute="centerY" secondItem="bIK-U7-Zqf" secondAttribute="centerY" id="b5q-EM-BXf"/>
  83. <constraint firstItem="3yQ-un-hNE" firstAttribute="centerY" secondItem="bIK-U7-Zqf" secondAttribute="centerY" id="kXJ-wD-hOY"/>
  84. </constraints>
  85. </view>
  86. </subviews>
  87. <constraints>
  88. <constraint firstItem="bIK-U7-Zqf" firstAttribute="leading" secondItem="ZOC-6Y-3av" secondAttribute="leading" id="N4Q-QB-Wxh"/>
  89. <constraint firstAttribute="trailing" secondItem="bIK-U7-Zqf" secondAttribute="trailing" id="SNG-1i-cqG"/>
  90. <constraint firstItem="bIK-U7-Zqf" firstAttribute="top" secondItem="ZOC-6Y-3av" secondAttribute="top" id="qZQ-ok-kM8"/>
  91. </constraints>
  92. </customView>
  93. <box borderType="none" title="Box" titlePosition="noTitle" translatesAutoresizingMaskIntoConstraints="NO" id="QXl-f3-0nT">
  94. <rect key="frame" x="0.0" y="0.0" width="260" height="369"/>
  95. <view key="contentView" id="5Km-Gq-7Y6">
  96. <rect key="frame" x="0.0" y="0.0" width="260" height="369"/>
  97. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  98. <subviews>
  99. <scrollView fixedFrame="YES" borderType="none" autohidesScrollers="YES" horizontalLineScroll="35" horizontalPageScroll="10" verticalLineScroll="35" verticalPageScroll="10" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="P2v-Ak-LWO">
  100. <rect key="frame" x="0.0" y="2" width="260" height="367"/>
  101. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  102. <clipView key="contentView" drawsBackground="NO" id="KFG-R9-2uc">
  103. <rect key="frame" x="0.0" y="0.0" width="260" height="367"/>
  104. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  105. <subviews>
  106. <tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" tableStyle="plain" multipleSelection="NO" autosaveColumns="NO" rowHeight="35" rowSizeStyle="automatic" viewBased="YES" id="jMm-Al-ZqF">
  107. <rect key="frame" x="0.0" y="0.0" width="260" height="367"/>
  108. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  109. <size key="intercellSpacing" width="17" height="0.0"/>
  110. <color key="backgroundColor" red="1" green="0.99843658089999998" blue="0.99619259260000004" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/>
  111. <color key="gridColor" red="1" green="0.99843658089999998" blue="0.99619259260000004" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/>
  112. <tableColumns>
  113. <tableColumn identifier="AutomaticTableColumnIdentifier.0" width="243" minWidth="40" maxWidth="1000" id="5vi-WM-WUD">
  114. <tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border">
  115. <color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
  116. <color key="backgroundColor" name="headerColor" catalog="System" colorSpace="catalog"/>
  117. </tableHeaderCell>
  118. <textFieldCell key="dataCell" lineBreakMode="truncatingTail" selectable="YES" editable="YES" title="Text Cell" id="NTY-yR-c5t">
  119. <font key="font" metaFont="system"/>
  120. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  121. <color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
  122. </textFieldCell>
  123. <tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
  124. <prototypeCellViews>
  125. <tableCellView identifier="KMBookCellView" id="qIV-zJ-BTn" customClass="KMBookCellView" customModule="PDF_Master" customModuleProvider="target">
  126. <rect key="frame" x="8" y="0.0" width="243" height="35"/>
  127. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  128. <subviews>
  129. <customView translatesAutoresizingMaskIntoConstraints="NO" id="Jiw-dQ-fQm">
  130. <rect key="frame" x="8" y="0.0" width="227" height="35"/>
  131. <subviews>
  132. <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="rcv-Rq-TyR">
  133. <rect key="frame" x="22" y="10" width="199" height="16"/>
  134. <textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" title="Table View Cell" id="f2w-oF-jeX">
  135. <font key="font" usesAppearanceFont="YES"/>
  136. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  137. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  138. </textFieldCell>
  139. </textField>
  140. <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="jVn-Rk-t92">
  141. <rect key="frame" x="0.0" y="10" width="16" height="16"/>
  142. <constraints>
  143. <constraint firstAttribute="width" constant="16" id="HmH-sE-Qta"/>
  144. <constraint firstAttribute="height" constant="16" id="w4f-op-qPO"/>
  145. </constraints>
  146. <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="KMImageNameSidebarBookCellMark" id="8wC-vm-GhN"/>
  147. </imageView>
  148. </subviews>
  149. <constraints>
  150. <constraint firstItem="jVn-Rk-t92" firstAttribute="centerY" secondItem="Jiw-dQ-fQm" secondAttribute="centerY" id="3rn-5T-ztd"/>
  151. <constraint firstItem="rcv-Rq-TyR" firstAttribute="centerY" secondItem="Jiw-dQ-fQm" secondAttribute="centerY" id="5bl-Wy-ZZ2"/>
  152. <constraint firstItem="rcv-Rq-TyR" firstAttribute="leading" secondItem="jVn-Rk-t92" secondAttribute="trailing" constant="8" id="TSf-Z5-etZ"/>
  153. <constraint firstItem="jVn-Rk-t92" firstAttribute="leading" secondItem="Jiw-dQ-fQm" secondAttribute="leading" id="Xbn-6J-OZl"/>
  154. <constraint firstAttribute="trailing" secondItem="rcv-Rq-TyR" secondAttribute="trailing" constant="8" id="tuu-Fs-E1S"/>
  155. </constraints>
  156. </customView>
  157. </subviews>
  158. <constraints>
  159. <constraint firstAttribute="bottom" secondItem="Jiw-dQ-fQm" secondAttribute="bottom" id="4n5-bF-fib"/>
  160. <constraint firstItem="Jiw-dQ-fQm" firstAttribute="top" secondItem="qIV-zJ-BTn" secondAttribute="top" id="Gk0-nJ-e2v"/>
  161. <constraint firstItem="Jiw-dQ-fQm" firstAttribute="leading" secondItem="qIV-zJ-BTn" secondAttribute="leading" constant="8" id="SVX-ay-53c"/>
  162. <constraint firstAttribute="trailing" secondItem="Jiw-dQ-fQm" secondAttribute="trailing" constant="8" id="xdS-9w-MMP"/>
  163. </constraints>
  164. <connections>
  165. <outlet property="bookTitle" destination="rcv-Rq-TyR" id="MR2-sT-XU9"/>
  166. <outlet property="textField" destination="rcv-Rq-TyR" id="fvG-17-CgJ"/>
  167. </connections>
  168. </tableCellView>
  169. </prototypeCellViews>
  170. </tableColumn>
  171. </tableColumns>
  172. <connections>
  173. <outlet property="dataSource" destination="-2" id="NL4-lv-f59"/>
  174. <outlet property="delegate" destination="-2" id="wfi-fB-Y3W"/>
  175. </connections>
  176. </tableView>
  177. </subviews>
  178. <color key="backgroundColor" red="1" green="0.99843658089999998" blue="0.99619259260000004" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/>
  179. </clipView>
  180. <scroller key="horizontalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="YES" id="UbR-Pn-9tg">
  181. <rect key="frame" x="1" y="361" width="258" height="15"/>
  182. <autoresizingMask key="autoresizingMask"/>
  183. </scroller>
  184. <scroller key="verticalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="NO" id="Ali-DJ-95W">
  185. <rect key="frame" x="224" y="17" width="15" height="102"/>
  186. <autoresizingMask key="autoresizingMask"/>
  187. </scroller>
  188. </scrollView>
  189. </subviews>
  190. </view>
  191. </box>
  192. <customView translatesAutoresizingMaskIntoConstraints="NO" id="H5X-YQ-dvn">
  193. <rect key="frame" x="0.0" y="0.0" width="260" height="369"/>
  194. <subviews>
  195. <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="8R5-DW-bXb">
  196. <rect key="frame" x="64" y="90" width="132" height="128"/>
  197. <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="KMImageNameBookMarkEmpty" id="6Kl-9F-c8Y"/>
  198. </imageView>
  199. <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="BO0-hw-zv2">
  200. <rect key="frame" x="62" y="60" width="136" height="17"/>
  201. <textFieldCell key="cell" lineBreakMode="clipping" alignment="center" title="No bookmark found" id="6Wq-yY-yuD">
  202. <font key="font" metaFont="system" size="14"/>
  203. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  204. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  205. </textFieldCell>
  206. </textField>
  207. <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Msu-u0-gPn">
  208. <rect key="frame" x="33" y="45" width="194" height="15"/>
  209. <textFieldCell key="cell" alignment="center" id="bpF-T2-SUC">
  210. <font key="font" metaFont="cellTitle"/>
  211. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  212. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  213. </textFieldCell>
  214. </textField>
  215. </subviews>
  216. <constraints>
  217. <constraint firstItem="BO0-hw-zv2" firstAttribute="centerX" secondItem="8R5-DW-bXb" secondAttribute="centerX" id="3xF-YB-i7s"/>
  218. <constraint firstItem="Msu-u0-gPn" firstAttribute="centerX" secondItem="8R5-DW-bXb" secondAttribute="centerX" id="Bbu-An-pt0"/>
  219. <constraint firstItem="BO0-hw-zv2" firstAttribute="trailing" secondItem="8R5-DW-bXb" secondAttribute="trailing" id="OL0-oR-eMj"/>
  220. <constraint firstItem="Msu-u0-gPn" firstAttribute="leading" secondItem="H5X-YQ-dvn" secondAttribute="leading" constant="35" id="W06-FV-M5o"/>
  221. <constraint firstItem="Msu-u0-gPn" firstAttribute="top" secondItem="BO0-hw-zv2" secondAttribute="bottom" id="cAD-Uc-2BD"/>
  222. <constraint firstAttribute="trailing" secondItem="Msu-u0-gPn" secondAttribute="trailing" constant="35" id="fpI-vC-wce"/>
  223. <constraint firstItem="8R5-DW-bXb" firstAttribute="centerX" secondItem="H5X-YQ-dvn" secondAttribute="centerX" id="h2y-aH-peY"/>
  224. <constraint firstItem="BO0-hw-zv2" firstAttribute="top" secondItem="8R5-DW-bXb" secondAttribute="bottom" constant="13" id="lqe-5Y-3vw"/>
  225. <constraint firstItem="8R5-DW-bXb" firstAttribute="top" secondItem="H5X-YQ-dvn" secondAttribute="top" constant="151" id="rhF-Ny-cyl"/>
  226. <constraint firstItem="BO0-hw-zv2" firstAttribute="leading" secondItem="8R5-DW-bXb" secondAttribute="leading" id="v9H-xv-zGQ"/>
  227. </constraints>
  228. </customView>
  229. </subviews>
  230. <constraints>
  231. <constraint firstItem="H5X-YQ-dvn" firstAttribute="top" secondItem="Pzi-Vp-0aL" secondAttribute="top" constant="48" id="0dy-zM-Gng"/>
  232. <constraint firstAttribute="bottom" secondItem="QXl-f3-0nT" secondAttribute="bottom" id="3O1-p9-1dY"/>
  233. <constraint firstAttribute="bottom" secondItem="ZOC-6Y-3av" secondAttribute="bottom" id="4ov-Bb-8Lk"/>
  234. <constraint firstAttribute="bottom" secondItem="H5X-YQ-dvn" secondAttribute="bottom" id="7lI-ee-1T3"/>
  235. <constraint firstAttribute="trailing" secondItem="ZOC-6Y-3av" secondAttribute="trailing" id="EeR-9w-YDN"/>
  236. <constraint firstItem="ZOC-6Y-3av" firstAttribute="top" secondItem="Pzi-Vp-0aL" secondAttribute="top" id="ST1-fp-Ijg"/>
  237. <constraint firstItem="QXl-f3-0nT" firstAttribute="top" secondItem="Pzi-Vp-0aL" secondAttribute="top" constant="48" id="XgQ-xY-ljn"/>
  238. <constraint firstAttribute="trailing" secondItem="QXl-f3-0nT" secondAttribute="trailing" id="YFL-M8-lkL"/>
  239. <constraint firstItem="ZOC-6Y-3av" firstAttribute="leading" secondItem="Pzi-Vp-0aL" secondAttribute="leading" id="apt-tg-cnQ"/>
  240. <constraint firstItem="QXl-f3-0nT" firstAttribute="leading" secondItem="Pzi-Vp-0aL" secondAttribute="leading" id="bMU-2E-qTS"/>
  241. <constraint firstAttribute="trailing" secondItem="H5X-YQ-dvn" secondAttribute="trailing" id="hYV-Ps-ktw"/>
  242. <constraint firstItem="H5X-YQ-dvn" firstAttribute="leading" secondItem="Pzi-Vp-0aL" secondAttribute="leading" id="ooT-we-LHE"/>
  243. </constraints>
  244. </customView>
  245. </subviews>
  246. <constraints>
  247. <constraint firstAttribute="trailing" secondItem="Pzi-Vp-0aL" secondAttribute="trailing" id="EgH-pS-Pio"/>
  248. <constraint firstAttribute="bottom" secondItem="Pzi-Vp-0aL" secondAttribute="bottom" id="ggO-g1-Ndz"/>
  249. <constraint firstItem="Pzi-Vp-0aL" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" id="rYP-sd-AtW"/>
  250. <constraint firstItem="Pzi-Vp-0aL" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" id="zTJ-d0-rbP"/>
  251. </constraints>
  252. <point key="canvasLocation" x="-296" y="229"/>
  253. </customView>
  254. </objects>
  255. <resources>
  256. <image name="KMImageNameBookMarkEmpty" width="128" height="128"/>
  257. <image name="KMImageNameBookMarksAdd" width="16" height="16"/>
  258. <image name="KMImageNameSidebarBookCellMark" width="16" height="16"/>
  259. </resources>
  260. </document>