KMThumbnailViewController.xib 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="22155" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
  3. <dependencies>
  4. <deployment identifier="macosx"/>
  5. <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22155"/>
  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="KMThumbnailViewController" customModule="PDF_Master" customModuleProvider="target">
  10. <connections>
  11. <outlet property="doublePageBtn" destination="y7O-T9-4pt" id="PlC-YF-qgf"/>
  12. <outlet property="headerView" destination="ByL-P0-CBo" id="eV2-UI-ZCZ"/>
  13. <outlet property="lineView" destination="TTY-aB-eBP" id="2vZ-ey-XLI"/>
  14. <outlet property="thumbnailView" destination="0Ot-Gw-V0A" id="rUP-Aa-y2r"/>
  15. <outlet property="titleLabel" destination="xyA-oR-kpO" id="4lw-mK-gCO"/>
  16. <outlet property="view" destination="Hz6-mo-xeY" id="0bl-1N-x8E"/>
  17. </connections>
  18. </customObject>
  19. <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
  20. <customObject id="-3" userLabel="Application" customClass="NSObject"/>
  21. <customView id="Hz6-mo-xeY">
  22. <rect key="frame" x="0.0" y="0.0" width="280" height="444"/>
  23. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  24. <subviews>
  25. <customView translatesAutoresizingMaskIntoConstraints="NO" id="ByL-P0-CBo">
  26. <rect key="frame" x="0.0" y="396" width="280" height="48"/>
  27. <subviews>
  28. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="xyA-oR-kpO">
  29. <rect key="frame" x="14" y="16" width="220" height="17"/>
  30. <textFieldCell key="cell" lineBreakMode="clipping" title="Label" id="lOy-md-kxo">
  31. <font key="font" metaFont="system" size="14"/>
  32. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  33. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  34. </textFieldCell>
  35. </textField>
  36. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="y7O-T9-4pt">
  37. <rect key="frame" x="240" y="8" width="32" height="32"/>
  38. <buttonCell key="cell" type="smallSquare" bezelStyle="smallSquare" image="KMImageNameThumbnailDoublePage" imagePosition="overlaps" alignment="center" lineBreakMode="truncatingTail" state="on" imageScaling="proportionallyDown" inset="2" id="Kh1-u8-bUw">
  39. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  40. <font key="font" metaFont="system"/>
  41. </buttonCell>
  42. <constraints>
  43. <constraint firstAttribute="width" constant="32" id="Rhj-E6-2zo"/>
  44. <constraint firstAttribute="height" constant="32" id="gFh-BW-G5V"/>
  45. </constraints>
  46. <connections>
  47. <action selector="doublePageAction:" target="-2" id="dCI-g4-Gkm"/>
  48. </connections>
  49. </button>
  50. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="78q-yY-AEA">
  51. <rect key="frame" x="140" y="24" width="0.0" height="0.0"/>
  52. <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" alignment="center" imageScaling="proportionallyDown" inset="2" id="s09-io-xhL">
  53. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  54. <font key="font" metaFont="system"/>
  55. </buttonCell>
  56. <connections>
  57. <action selector="escButtonAction:" target="-2" id="lcr-dF-51N"/>
  58. </connections>
  59. </button>
  60. <customView translatesAutoresizingMaskIntoConstraints="NO" id="TTY-aB-eBP">
  61. <rect key="frame" x="0.0" y="0.0" width="280" height="1"/>
  62. <constraints>
  63. <constraint firstAttribute="height" constant="1" id="3zP-V1-xK4"/>
  64. </constraints>
  65. </customView>
  66. </subviews>
  67. <constraints>
  68. <constraint firstAttribute="trailing" secondItem="TTY-aB-eBP" secondAttribute="trailing" id="EnH-eE-TVR"/>
  69. <constraint firstItem="xyA-oR-kpO" firstAttribute="centerY" secondItem="ByL-P0-CBo" secondAttribute="centerY" id="HyG-hF-nPM"/>
  70. <constraint firstAttribute="bottom" secondItem="TTY-aB-eBP" secondAttribute="bottom" id="IZE-u3-zhJ"/>
  71. <constraint firstItem="TTY-aB-eBP" firstAttribute="leading" secondItem="ByL-P0-CBo" secondAttribute="leading" id="O8z-LK-bSW"/>
  72. <constraint firstAttribute="height" constant="48" id="REe-oB-HuG"/>
  73. <constraint firstAttribute="trailing" secondItem="y7O-T9-4pt" secondAttribute="trailing" constant="8" id="cbX-c7-OqW"/>
  74. <constraint firstItem="y7O-T9-4pt" firstAttribute="leading" secondItem="xyA-oR-kpO" secondAttribute="trailing" constant="8" id="cq0-Jp-biI"/>
  75. <constraint firstItem="xyA-oR-kpO" firstAttribute="leading" secondItem="ByL-P0-CBo" secondAttribute="leading" constant="16" id="n2U-HC-cFj"/>
  76. <constraint firstItem="78q-yY-AEA" firstAttribute="centerY" secondItem="ByL-P0-CBo" secondAttribute="centerY" id="ofz-tG-oEe"/>
  77. <constraint firstItem="78q-yY-AEA" firstAttribute="centerX" secondItem="ByL-P0-CBo" secondAttribute="centerX" id="uRO-2i-Ujk"/>
  78. <constraint firstItem="y7O-T9-4pt" firstAttribute="centerY" secondItem="ByL-P0-CBo" secondAttribute="centerY" id="wjz-OJ-KhO"/>
  79. </constraints>
  80. </customView>
  81. <customView translatesAutoresizingMaskIntoConstraints="NO" id="0Ot-Gw-V0A" customClass="KMPageEditThumbnailView" customModule="PDF_Master" customModuleProvider="target">
  82. <rect key="frame" x="0.0" y="0.0" width="280" height="396"/>
  83. </customView>
  84. </subviews>
  85. <constraints>
  86. <constraint firstItem="0Ot-Gw-V0A" firstAttribute="top" secondItem="ByL-P0-CBo" secondAttribute="bottom" id="15t-eY-oQQ"/>
  87. <constraint firstItem="ByL-P0-CBo" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" id="QQn-OZ-9yl"/>
  88. <constraint firstItem="ByL-P0-CBo" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" id="Qsq-9i-iyq"/>
  89. <constraint firstAttribute="bottom" secondItem="0Ot-Gw-V0A" secondAttribute="bottom" id="cJ9-5d-ec4"/>
  90. <constraint firstItem="0Ot-Gw-V0A" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" id="doS-Sl-FSB"/>
  91. <constraint firstAttribute="trailing" secondItem="0Ot-Gw-V0A" secondAttribute="trailing" id="lOH-mF-Lad"/>
  92. <constraint firstAttribute="trailing" secondItem="ByL-P0-CBo" secondAttribute="trailing" id="olg-rT-rLG"/>
  93. </constraints>
  94. <point key="canvasLocation" x="-5" y="186"/>
  95. </customView>
  96. </objects>
  97. <resources>
  98. <image name="KMImageNameThumbnailDoublePage" width="32" height="32"/>
  99. </resources>
  100. </document>