KMNHomeViewController.xib 15 KB

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