KMBookMarkViewController.xib 27 KB

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