KMNHomeViewController.xib 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  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="KMNHomeViewController" customModule="PDF_Reader_Pro" customModuleProvider="target">
  10. <connections>
  11. <outlet property="homeDragView" destination="Mw3-Qf-AGJ" id="qye-cS-Uhi"/>
  12. <outlet property="homeOpenView" destination="Bxr-Ds-C57" id="DCS-RO-SoJ"/>
  13. <outlet property="homeRecommondView" destination="SUk-pI-GKI" id="QLA-2x-bdU"/>
  14. <outlet property="leftContendBox" destination="YQl-na-PHq" id="1OU-uy-3MI"/>
  15. <outlet property="leftDivider" destination="vK7-bd-jKI" id="5sp-R8-tLi"/>
  16. <outlet property="rightInfoView" destination="HJs-kh-Hyh" id="4ha-vR-5Ow"/>
  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 id="Hz6-mo-xeY">
  23. <rect key="frame" x="0.0" y="0.0" width="703" height="445"/>
  24. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  25. <subviews>
  26. <customView translatesAutoresizingMaskIntoConstraints="NO" id="6Nj-0K-OdC">
  27. <rect key="frame" x="0.0" y="0.0" width="703" height="445"/>
  28. <subviews>
  29. <customView translatesAutoresizingMaskIntoConstraints="NO" id="elb-1V-cgI">
  30. <rect key="frame" x="0.0" y="0.0" width="240" height="445"/>
  31. <subviews>
  32. <box boxType="custom" borderWidth="0.0" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="YQl-na-PHq">
  33. <rect key="frame" x="0.0" y="0.0" width="240" height="445"/>
  34. <view key="contentView" id="aZH-46-zgg">
  35. <rect key="frame" x="0.0" y="0.0" width="240" height="445"/>
  36. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  37. <subviews>
  38. <customView translatesAutoresizingMaskIntoConstraints="NO" id="vK7-bd-jKI" customClass="ComponentDivider" customModule="KMComponentLibrary">
  39. <rect key="frame" x="239" y="0.0" width="1" height="445"/>
  40. <constraints>
  41. <constraint firstAttribute="width" constant="1" id="tJ6-6g-mIZ"/>
  42. </constraints>
  43. </customView>
  44. </subviews>
  45. <constraints>
  46. <constraint firstAttribute="trailing" secondItem="vK7-bd-jKI" secondAttribute="trailing" id="AKi-n9-6W1"/>
  47. <constraint firstAttribute="bottom" secondItem="vK7-bd-jKI" secondAttribute="bottom" id="KIt-UR-B9g"/>
  48. <constraint firstItem="vK7-bd-jKI" firstAttribute="top" secondItem="aZH-46-zgg" secondAttribute="top" id="i2e-2k-89T"/>
  49. </constraints>
  50. </view>
  51. </box>
  52. <customView translatesAutoresizingMaskIntoConstraints="NO" id="Bxr-Ds-C57" customClass="KMHomeOpenView" customModule="PDF_Reader_Pro" customModuleProvider="target">
  53. <rect key="frame" x="16" y="321" width="208" height="92"/>
  54. <constraints>
  55. <constraint firstAttribute="width" constant="208" id="90S-rZ-U5v"/>
  56. <constraint firstAttribute="height" constant="92" id="OcP-RR-aOy"/>
  57. </constraints>
  58. </customView>
  59. <customView translatesAutoresizingMaskIntoConstraints="NO" id="SUk-pI-GKI" customClass="KMHomeRecommondView" customModule="PDF_Reader_Pro" customModuleProvider="target">
  60. <rect key="frame" x="16" y="16" width="208" height="281"/>
  61. <constraints>
  62. <constraint firstAttribute="width" constant="208" id="OgS-Bf-gLn"/>
  63. </constraints>
  64. </customView>
  65. <button verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="5bK-cQ-eiw">
  66. <rect key="frame" x="30" y="30" width="111" height="32"/>
  67. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/>
  68. <buttonCell key="cell" type="push" title="组件库Demo" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="5gd-kg-WBc">
  69. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  70. <font key="font" metaFont="system"/>
  71. </buttonCell>
  72. <connections>
  73. <action selector="showDemo:" target="-2" id="4Di-i9-8em"/>
  74. </connections>
  75. </button>
  76. </subviews>
  77. <constraints>
  78. <constraint firstAttribute="trailing" secondItem="YQl-na-PHq" secondAttribute="trailing" id="482-mQ-OzQ"/>
  79. <constraint firstItem="Bxr-Ds-C57" firstAttribute="centerX" secondItem="elb-1V-cgI" secondAttribute="centerX" id="5oo-uK-JgL"/>
  80. <constraint firstItem="YQl-na-PHq" firstAttribute="top" secondItem="elb-1V-cgI" secondAttribute="top" id="Csr-Vz-Akl"/>
  81. <constraint firstAttribute="width" constant="240" id="GIp-bc-gJQ"/>
  82. <constraint firstItem="Bxr-Ds-C57" firstAttribute="top" secondItem="elb-1V-cgI" secondAttribute="top" constant="32" id="GfU-54-afy"/>
  83. <constraint firstAttribute="bottom" secondItem="YQl-na-PHq" secondAttribute="bottom" id="OrC-td-S9N"/>
  84. <constraint firstItem="SUk-pI-GKI" firstAttribute="centerX" secondItem="elb-1V-cgI" secondAttribute="centerX" id="aB5-Av-Nyq"/>
  85. <constraint firstItem="YQl-na-PHq" firstAttribute="leading" secondItem="elb-1V-cgI" secondAttribute="leading" id="kZn-o5-xaW"/>
  86. <constraint firstAttribute="bottom" secondItem="SUk-pI-GKI" secondAttribute="bottom" constant="16" id="p9Q-6E-3Bf"/>
  87. <constraint firstItem="SUk-pI-GKI" firstAttribute="top" secondItem="Bxr-Ds-C57" secondAttribute="bottom" constant="24" id="yLo-oH-mlQ"/>
  88. </constraints>
  89. </customView>
  90. <box boxType="custom" borderWidth="0.0" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="tpg-X1-J6I">
  91. <rect key="frame" x="240" y="0.0" width="463" height="445"/>
  92. <view key="contentView" id="k5X-u5-aww">
  93. <rect key="frame" x="0.0" y="0.0" width="463" height="445"/>
  94. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  95. <subviews>
  96. <customView translatesAutoresizingMaskIntoConstraints="NO" id="HJs-kh-Hyh" customClass="KMHomeRightView" customModule="PDF_Reader_Pro" customModuleProvider="target">
  97. <rect key="frame" x="0.0" y="0.0" width="463" height="445"/>
  98. </customView>
  99. </subviews>
  100. <constraints>
  101. <constraint firstAttribute="bottom" secondItem="HJs-kh-Hyh" secondAttribute="bottom" id="3UF-Hm-8M4"/>
  102. <constraint firstItem="HJs-kh-Hyh" firstAttribute="leading" secondItem="k5X-u5-aww" secondAttribute="leading" id="hkG-eh-O2w"/>
  103. <constraint firstAttribute="trailing" secondItem="HJs-kh-Hyh" secondAttribute="trailing" id="nFA-RW-02j"/>
  104. <constraint firstItem="HJs-kh-Hyh" firstAttribute="top" secondItem="k5X-u5-aww" secondAttribute="top" id="o0p-tc-OMS"/>
  105. </constraints>
  106. </view>
  107. </box>
  108. <customView translatesAutoresizingMaskIntoConstraints="NO" id="Mw3-Qf-AGJ" customClass="KMHomeDragView" customModule="PDF_Reader_Pro" customModuleProvider="target">
  109. <rect key="frame" x="12" y="12" width="679" height="421"/>
  110. <subviews>
  111. <customView translatesAutoresizingMaskIntoConstraints="NO" id="muB-GX-nPE">
  112. <rect key="frame" x="307" y="191" width="65" height="40"/>
  113. <subviews>
  114. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="rEP-4k-cW5">
  115. <rect key="frame" x="14" y="12" width="37" height="16"/>
  116. <textFieldCell key="cell" lineBreakMode="clipping" title="Label" id="rdL-ur-kLJ">
  117. <font key="font" metaFont="system"/>
  118. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  119. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  120. </textFieldCell>
  121. </textField>
  122. </subviews>
  123. <constraints>
  124. <constraint firstAttribute="height" constant="40" id="1tt-Sm-E6x"/>
  125. <constraint firstItem="rEP-4k-cW5" firstAttribute="centerY" secondItem="muB-GX-nPE" secondAttribute="centerY" id="F9S-OI-hDH"/>
  126. <constraint firstAttribute="trailing" secondItem="rEP-4k-cW5" secondAttribute="trailing" constant="16" id="MzI-rX-sG5"/>
  127. <constraint firstItem="rEP-4k-cW5" firstAttribute="leading" secondItem="muB-GX-nPE" secondAttribute="leading" constant="16" id="cvb-vd-sfG"/>
  128. </constraints>
  129. </customView>
  130. </subviews>
  131. <constraints>
  132. <constraint firstItem="muB-GX-nPE" firstAttribute="centerY" secondItem="Mw3-Qf-AGJ" secondAttribute="centerY" id="pkS-bq-DHV"/>
  133. <constraint firstItem="muB-GX-nPE" firstAttribute="centerX" secondItem="Mw3-Qf-AGJ" secondAttribute="centerX" id="wl7-fT-QfC"/>
  134. </constraints>
  135. <connections>
  136. <outlet property="dragLabel" destination="rEP-4k-cW5" id="r7Z-jZ-QzS"/>
  137. <outlet property="dragView" destination="muB-GX-nPE" id="vLR-MP-a1j"/>
  138. <outlet property="dragViewHeight" destination="1tt-Sm-E6x" id="PG9-eQ-dFw"/>
  139. </connections>
  140. </customView>
  141. </subviews>
  142. <constraints>
  143. <constraint firstAttribute="bottom" secondItem="elb-1V-cgI" secondAttribute="bottom" id="4A7-Qa-jdD"/>
  144. <constraint firstItem="tpg-X1-J6I" firstAttribute="top" secondItem="6Nj-0K-OdC" secondAttribute="top" id="4Xg-7i-A0k"/>
  145. <constraint firstAttribute="bottom" secondItem="Mw3-Qf-AGJ" secondAttribute="bottom" constant="12" id="6mo-D3-noz"/>
  146. <constraint firstItem="elb-1V-cgI" firstAttribute="leading" secondItem="6Nj-0K-OdC" secondAttribute="leading" id="NG5-Fk-FwN"/>
  147. <constraint firstAttribute="bottom" secondItem="tpg-X1-J6I" secondAttribute="bottom" id="WZz-KC-Lyy"/>
  148. <constraint firstItem="Mw3-Qf-AGJ" firstAttribute="top" secondItem="6Nj-0K-OdC" secondAttribute="top" constant="12" id="Y5N-T4-xSu"/>
  149. <constraint firstAttribute="trailing" secondItem="tpg-X1-J6I" secondAttribute="trailing" id="keW-HT-G2t"/>
  150. <constraint firstAttribute="trailing" secondItem="Mw3-Qf-AGJ" secondAttribute="trailing" constant="12" id="muk-zY-afk"/>
  151. <constraint firstItem="Mw3-Qf-AGJ" firstAttribute="leading" secondItem="6Nj-0K-OdC" secondAttribute="leading" constant="12" id="o2E-6x-rhu"/>
  152. <constraint firstItem="elb-1V-cgI" firstAttribute="top" secondItem="6Nj-0K-OdC" secondAttribute="top" id="rpo-sR-Xws"/>
  153. <constraint firstItem="tpg-X1-J6I" firstAttribute="leading" secondItem="elb-1V-cgI" secondAttribute="trailing" id="yFH-sP-oax"/>
  154. </constraints>
  155. </customView>
  156. </subviews>
  157. <constraints>
  158. <constraint firstAttribute="bottom" secondItem="6Nj-0K-OdC" secondAttribute="bottom" id="F5B-qZ-yY5"/>
  159. <constraint firstItem="6Nj-0K-OdC" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" id="FcS-6N-FAx"/>
  160. <constraint firstAttribute="trailing" secondItem="6Nj-0K-OdC" secondAttribute="trailing" id="kBN-Zi-5O3"/>
  161. <constraint firstItem="6Nj-0K-OdC" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" id="ydm-B1-D0A"/>
  162. </constraints>
  163. <point key="canvasLocation" x="287.5" y="63.5"/>
  164. </customView>
  165. </objects>
  166. </document>