InputNumberVC.xib 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  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="InputNumberVC" customModule="PDF_Reader_Pro" customModuleProvider="target">
  10. <connections>
  11. <outlet property="disableButton" destination="Oob-qZ-eVA" id="fiT-XK-DJV"/>
  12. <outlet property="inputNumberView" destination="PRk-yO-Oh3" id="szs-QK-Q1Z"/>
  13. <outlet property="isCenterBtn" destination="cSD-Te-Tbn" id="U7G-YN-W6L"/>
  14. <outlet property="maxSizeField" destination="ZYG-no-5EC" id="Ea6-4w-cY4"/>
  15. <outlet property="minSizeField" destination="gbv-qH-O2q" id="wZ7-Fl-2in"/>
  16. <outlet property="prefixBtn" destination="lrJ-qc-mDy" id="K2Y-UV-RkT"/>
  17. <outlet property="sizeBox" destination="eeF-Cf-AsF" id="BHP-xj-KDF"/>
  18. <outlet property="suffixButton" destination="6u2-BJ-IBQ" id="csG-Mb-xRZ"/>
  19. <outlet property="view" destination="Hz6-mo-xeY" id="0bl-1N-x8E"/>
  20. <outlet property="viewheightConst" destination="6xo-Kj-pJU" id="KKb-0J-9oe"/>
  21. </connections>
  22. </customObject>
  23. <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
  24. <customObject id="-3" userLabel="Application" customClass="NSObject"/>
  25. <customView id="Hz6-mo-xeY">
  26. <rect key="frame" x="0.0" y="0.0" width="728" height="433"/>
  27. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  28. <subviews>
  29. <box boxType="custom" cornerRadius="4" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="kem-T4-qgs">
  30. <rect key="frame" x="453" y="0.0" width="275" height="433"/>
  31. <view key="contentView" id="EC7-NL-Aqs">
  32. <rect key="frame" x="1" y="1" width="273" height="431"/>
  33. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  34. <subviews>
  35. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="OP1-lW-v6t">
  36. <rect key="frame" x="50" y="262" width="34" height="16"/>
  37. <textFieldCell key="cell" lineBreakMode="clipping" title="Size:" id="ymw-qw-C2w">
  38. <font key="font" metaFont="system"/>
  39. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  40. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  41. </textFieldCell>
  42. </textField>
  43. <comboBox focusRingType="none" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="eeF-Cf-AsF">
  44. <rect key="frame" x="83" y="258" width="109" height="23"/>
  45. <constraints>
  46. <constraint firstAttribute="width" constant="105" id="jJN-Jc-ICY"/>
  47. </constraints>
  48. <comboBoxCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" borderStyle="bezel" alignment="center" title="M" drawsBackground="YES" completes="NO" numberOfVisibleItems="6" id="Axa-QE-oNc">
  49. <font key="font" metaFont="system"/>
  50. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  51. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  52. <objectValues>
  53. <string>M</string>
  54. <string>S</string>
  55. </objectValues>
  56. </comboBoxCell>
  57. <connections>
  58. <action selector="sizeAction:" target="-2" id="nmU-B6-hsu"/>
  59. </connections>
  60. </comboBox>
  61. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Oob-qZ-eVA">
  62. <rect key="frame" x="100" y="233" width="71" height="18"/>
  63. <buttonCell key="cell" type="check" title="Disable" bezelStyle="regularSquare" imagePosition="left" inset="2" id="Bft-hk-JBX">
  64. <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
  65. <font key="font" metaFont="system"/>
  66. </buttonCell>
  67. <connections>
  68. <action selector="disableAction:" target="-2" id="Pxo-bk-LRk"/>
  69. </connections>
  70. </button>
  71. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="lrJ-qc-mDy">
  72. <rect key="frame" x="105" y="207" width="61" height="18"/>
  73. <buttonCell key="cell" type="check" title="Prefix" bezelStyle="regularSquare" imagePosition="left" inset="2" id="yVs-mh-cSk">
  74. <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
  75. <font key="font" metaFont="system"/>
  76. </buttonCell>
  77. <connections>
  78. <action selector="prefixAction:" target="-2" id="Stw-UL-SH8"/>
  79. </connections>
  80. </button>
  81. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="6u2-BJ-IBQ">
  82. <rect key="frame" x="105" y="181" width="62" height="18"/>
  83. <buttonCell key="cell" type="check" title="Suffix" bezelStyle="regularSquare" imagePosition="left" inset="2" id="v54-GM-jA4">
  84. <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
  85. <font key="font" metaFont="system"/>
  86. </buttonCell>
  87. <connections>
  88. <action selector="suffixAction:" target="-2" id="2tG-KH-vo9"/>
  89. </connections>
  90. </button>
  91. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="cSD-Te-Tbn">
  92. <rect key="frame" x="97" y="155" width="77" height="18"/>
  93. <buttonCell key="cell" type="check" title="IsCenter" bezelStyle="regularSquare" imagePosition="left" inset="2" id="SVe-gr-nkl">
  94. <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
  95. <font key="font" metaFont="system"/>
  96. </buttonCell>
  97. <connections>
  98. <action selector="isCenterAction:" target="-2" id="Olt-KM-4Ox"/>
  99. </connections>
  100. </button>
  101. <textField focusRingType="none" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="gbv-qH-O2q">
  102. <rect key="frame" x="69" y="290" width="52" height="21"/>
  103. <constraints>
  104. <constraint firstAttribute="width" constant="52" id="iI4-61-d8w"/>
  105. </constraints>
  106. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" drawsBackground="YES" id="jCF-ba-vd8">
  107. <numberFormatter key="formatter" formatterBehavior="default10_4" numberStyle="decimal" formatWidth="-1" minimumIntegerDigits="1" maximumIntegerDigits="2000000000" maximumFractionDigits="3" id="J9B-NN-kLi"/>
  108. <font key="font" metaFont="system"/>
  109. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  110. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  111. </textFieldCell>
  112. </textField>
  113. <textField focusRingType="none" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ZYG-no-5EC">
  114. <rect key="frame" x="141" y="290" width="52" height="21"/>
  115. <constraints>
  116. <constraint firstAttribute="width" constant="52" id="SfB-bH-nO1"/>
  117. </constraints>
  118. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" drawsBackground="YES" id="N8r-ef-6xY">
  119. <numberFormatter key="formatter" formatterBehavior="default10_4" numberStyle="decimal" formatWidth="-1" minimumIntegerDigits="1" maximumIntegerDigits="2000000000" maximumFractionDigits="3" id="Hbg-H6-XSP"/>
  120. <font key="font" metaFont="system"/>
  121. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  122. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  123. </textFieldCell>
  124. </textField>
  125. </subviews>
  126. <constraints>
  127. <constraint firstItem="ZYG-no-5EC" firstAttribute="leading" secondItem="gbv-qH-O2q" secondAttribute="trailing" constant="20" id="1Ye-bn-6Be"/>
  128. <constraint firstItem="cSD-Te-Tbn" firstAttribute="top" secondItem="6u2-BJ-IBQ" secondAttribute="bottom" constant="10" id="5LI-5x-jjj"/>
  129. <constraint firstItem="6u2-BJ-IBQ" firstAttribute="centerX" secondItem="EC7-NL-Aqs" secondAttribute="centerX" id="B8t-RE-5qf"/>
  130. <constraint firstItem="lrJ-qc-mDy" firstAttribute="top" secondItem="Oob-qZ-eVA" secondAttribute="bottom" constant="10" id="JcU-04-HmG"/>
  131. <constraint firstItem="lrJ-qc-mDy" firstAttribute="centerY" secondItem="EC7-NL-Aqs" secondAttribute="centerY" id="OYb-v6-fN4"/>
  132. <constraint firstItem="ZYG-no-5EC" firstAttribute="centerX" secondItem="EC7-NL-Aqs" secondAttribute="centerX" constant="30" id="SaG-Av-Blx"/>
  133. <constraint firstItem="ZYG-no-5EC" firstAttribute="centerY" secondItem="gbv-qH-O2q" secondAttribute="centerY" id="Yf9-np-p9B"/>
  134. <constraint firstItem="eeF-Cf-AsF" firstAttribute="centerY" secondItem="OP1-lW-v6t" secondAttribute="centerY" id="azj-8t-PUD"/>
  135. <constraint firstItem="cSD-Te-Tbn" firstAttribute="centerX" secondItem="EC7-NL-Aqs" secondAttribute="centerX" id="cDs-K7-G40"/>
  136. <constraint firstItem="lrJ-qc-mDy" firstAttribute="centerX" secondItem="EC7-NL-Aqs" secondAttribute="centerX" id="eyb-qO-8B9"/>
  137. <constraint firstItem="6u2-BJ-IBQ" firstAttribute="top" secondItem="lrJ-qc-mDy" secondAttribute="bottom" constant="10" id="fte-zM-obv"/>
  138. <constraint firstItem="eeF-Cf-AsF" firstAttribute="centerX" secondItem="EC7-NL-Aqs" secondAttribute="centerX" id="iKs-yS-BAa"/>
  139. <constraint firstItem="Oob-qZ-eVA" firstAttribute="top" secondItem="eeF-Cf-AsF" secondAttribute="bottom" constant="10" id="ibf-P8-a1Z"/>
  140. <constraint firstItem="eeF-Cf-AsF" firstAttribute="leading" secondItem="OP1-lW-v6t" secondAttribute="trailing" constant="2" id="l7s-g6-u0g"/>
  141. <constraint firstItem="Oob-qZ-eVA" firstAttribute="centerX" secondItem="EC7-NL-Aqs" secondAttribute="centerX" id="npj-ZK-Lla"/>
  142. <constraint firstItem="eeF-Cf-AsF" firstAttribute="top" secondItem="ZYG-no-5EC" secondAttribute="bottom" constant="10" id="yg6-dl-rTu"/>
  143. </constraints>
  144. </view>
  145. </box>
  146. <box boxType="custom" cornerRadius="4" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="0hx-vB-3h0">
  147. <rect key="frame" x="0.0" y="0.0" width="433" height="433"/>
  148. <view key="contentView" id="WXB-of-LDg">
  149. <rect key="frame" x="1" y="1" width="431" height="431"/>
  150. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  151. <subviews>
  152. <customView translatesAutoresizingMaskIntoConstraints="NO" id="PRk-yO-Oh3" customClass="ComponentInputNumber" customModule="KMComponentLibrary">
  153. <rect key="frame" x="126" y="196" width="180" height="40"/>
  154. <constraints>
  155. <constraint firstAttribute="height" constant="40" id="6xo-Kj-pJU"/>
  156. <constraint firstAttribute="width" constant="180" id="93h-5v-Z6I"/>
  157. </constraints>
  158. </customView>
  159. </subviews>
  160. <constraints>
  161. <constraint firstItem="PRk-yO-Oh3" firstAttribute="centerX" secondItem="WXB-of-LDg" secondAttribute="centerX" id="fSN-Bg-IcE"/>
  162. <constraint firstItem="PRk-yO-Oh3" firstAttribute="centerY" secondItem="WXB-of-LDg" secondAttribute="centerY" id="ioQ-VA-sEx"/>
  163. </constraints>
  164. </view>
  165. <constraints>
  166. <constraint firstAttribute="width" secondItem="0hx-vB-3h0" secondAttribute="height" multiplier="1:1" id="CgO-73-dBB"/>
  167. <constraint firstAttribute="width" secondItem="0hx-vB-3h0" secondAttribute="height" multiplier="1:1" id="Gsj-kI-vFP"/>
  168. <constraint firstAttribute="width" secondItem="0hx-vB-3h0" secondAttribute="height" multiplier="1:1" id="Sdc-cB-Hfw"/>
  169. <constraint firstAttribute="width" secondItem="0hx-vB-3h0" secondAttribute="height" multiplier="1:1" id="xRP-lc-B9V"/>
  170. </constraints>
  171. </box>
  172. </subviews>
  173. <constraints>
  174. <constraint firstItem="0hx-vB-3h0" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" id="0Dh-Ro-Qvg"/>
  175. <constraint firstAttribute="trailing" secondItem="kem-T4-qgs" secondAttribute="trailing" id="1eT-bK-wsZ"/>
  176. <constraint firstItem="kem-T4-qgs" firstAttribute="leading" secondItem="0hx-vB-3h0" secondAttribute="trailing" constant="20" id="ROs-Tz-BCT"/>
  177. <constraint firstItem="kem-T4-qgs" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" id="RlZ-dw-nW8"/>
  178. <constraint firstAttribute="bottom" secondItem="0hx-vB-3h0" secondAttribute="bottom" id="hUJ-k3-lTo"/>
  179. <constraint firstItem="0hx-vB-3h0" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" id="p2G-0g-zfc"/>
  180. <constraint firstAttribute="bottom" secondItem="kem-T4-qgs" secondAttribute="bottom" id="rKe-gP-GDw"/>
  181. </constraints>
  182. <point key="canvasLocation" x="183" y="205.5"/>
  183. </customView>
  184. </objects>
  185. </document>