SliderVC.xib 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  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="SliderVC" customModule="PDF_Reader_Pro" customModuleProvider="target">
  10. <connections>
  11. <outlet property="disableButton" destination="ZVC-OE-LeU" id="I2w-nI-rJz"/>
  12. <outlet property="inputButton" destination="gPe-XU-MzE" id="3Nz-12-omq"/>
  13. <outlet property="leftIconBtn" destination="EUM-0O-k4Q" id="0ze-nk-WPm"/>
  14. <outlet property="rightIconBtn" destination="xDZ-gX-1Nn" id="aMa-Cc-f0K"/>
  15. <outlet property="sizeBox" destination="Y2f-km-W9x" id="SmD-e4-KuL"/>
  16. <outlet property="slider" destination="U20-tU-ujV" id="cxv-9W-B8g"/>
  17. <outlet property="sliderHeightConst" destination="Wuz-av-zVA" id="MfF-b2-48t"/>
  18. <outlet property="sliderWidthConst" destination="G5O-1J-y3x" id="TWE-zH-7LO"/>
  19. <outlet property="view" destination="Hz6-mo-xeY" id="0bl-1N-x8E"/>
  20. </connections>
  21. </customObject>
  22. <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
  23. <customObject id="-3" userLabel="Application" customClass="NSObject"/>
  24. <customView id="Hz6-mo-xeY">
  25. <rect key="frame" x="0.0" y="0.0" width="743" height="480"/>
  26. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  27. <subviews>
  28. <box boxType="custom" cornerRadius="4" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="QhG-gD-Tmt">
  29. <rect key="frame" x="500" y="0.0" width="243" height="480"/>
  30. <view key="contentView" id="Y7S-Cx-Cgq">
  31. <rect key="frame" x="1" y="1" width="241" height="478"/>
  32. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  33. <subviews>
  34. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ZSt-8j-jkc">
  35. <rect key="frame" x="28" y="362" width="34" height="16"/>
  36. <textFieldCell key="cell" lineBreakMode="clipping" title="Size:" id="Qse-Gg-XnD">
  37. <font key="font" metaFont="system"/>
  38. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  39. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  40. </textFieldCell>
  41. </textField>
  42. <comboBox focusRingType="none" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Y2f-km-W9x">
  43. <rect key="frame" x="64" y="358" width="109" height="23"/>
  44. <constraints>
  45. <constraint firstAttribute="width" constant="105" id="zMH-bF-0oU"/>
  46. </constraints>
  47. <comboBoxCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" borderStyle="bezel" alignment="center" title="M" drawsBackground="YES" completes="NO" numberOfVisibleItems="6" id="NwO-s4-vYo">
  48. <font key="font" metaFont="system"/>
  49. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  50. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  51. <objectValues>
  52. <string>M</string>
  53. <string>S</string>
  54. </objectValues>
  55. </comboBoxCell>
  56. <connections>
  57. <action selector="buttonAction:" target="-2" id="3df-u1-h7G"/>
  58. </connections>
  59. </comboBox>
  60. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ZVC-OE-LeU">
  61. <rect key="frame" x="28" y="335" width="71" height="18"/>
  62. <buttonCell key="cell" type="check" title="Disable" bezelStyle="regularSquare" imagePosition="left" inset="2" id="ZWd-6k-dja">
  63. <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
  64. <font key="font" metaFont="system"/>
  65. </buttonCell>
  66. <connections>
  67. <action selector="buttonAction:" target="-2" id="tdV-AD-u5j"/>
  68. </connections>
  69. </button>
  70. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="gPe-XU-MzE">
  71. <rect key="frame" x="28" y="309" width="57" height="18"/>
  72. <buttonCell key="cell" type="check" title="Input" bezelStyle="regularSquare" imagePosition="left" inset="2" id="agO-2k-NM0">
  73. <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
  74. <font key="font" metaFont="system"/>
  75. </buttonCell>
  76. <connections>
  77. <action selector="buttonAction:" target="-2" id="uPG-IH-bSH"/>
  78. </connections>
  79. </button>
  80. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="EUM-0O-k4Q">
  81. <rect key="frame" x="28" y="283" width="79" height="18"/>
  82. <buttonCell key="cell" type="check" title="Left Icon" bezelStyle="regularSquare" imagePosition="left" inset="2" id="sRQ-Uc-DIt">
  83. <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
  84. <font key="font" metaFont="system"/>
  85. </buttonCell>
  86. <connections>
  87. <action selector="buttonAction:" target="-2" id="M7J-K9-y5k"/>
  88. </connections>
  89. </button>
  90. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="xDZ-gX-1Nn">
  91. <rect key="frame" x="28" y="257" width="87" height="18"/>
  92. <buttonCell key="cell" type="check" title="Right Icon" bezelStyle="regularSquare" imagePosition="left" inset="2" id="4yf-OU-Z7E">
  93. <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
  94. <font key="font" metaFont="system"/>
  95. </buttonCell>
  96. <connections>
  97. <action selector="buttonAction:" target="-2" id="uVS-zD-s6I"/>
  98. </connections>
  99. </button>
  100. </subviews>
  101. <constraints>
  102. <constraint firstItem="ZVC-OE-LeU" firstAttribute="leading" secondItem="Y7S-Cx-Cgq" secondAttribute="leading" constant="30" id="05c-bW-B5w"/>
  103. <constraint firstItem="EUM-0O-k4Q" firstAttribute="leading" secondItem="gPe-XU-MzE" secondAttribute="leading" id="9YH-Eb-GT8"/>
  104. <constraint firstItem="Y2f-km-W9x" firstAttribute="leading" secondItem="ZSt-8j-jkc" secondAttribute="trailing" constant="5" id="DgW-nm-4Pp"/>
  105. <constraint firstItem="ZSt-8j-jkc" firstAttribute="leading" secondItem="ZVC-OE-LeU" secondAttribute="leading" id="POC-7d-kvg"/>
  106. <constraint firstItem="ZSt-8j-jkc" firstAttribute="top" secondItem="Y7S-Cx-Cgq" secondAttribute="top" constant="100" id="RrD-On-wej"/>
  107. <constraint firstItem="ZVC-OE-LeU" firstAttribute="top" secondItem="ZSt-8j-jkc" secondAttribute="bottom" constant="10" id="bR1-jy-LbK"/>
  108. <constraint firstItem="gPe-XU-MzE" firstAttribute="top" secondItem="ZVC-OE-LeU" secondAttribute="bottom" constant="10" id="e5B-Mf-ouU"/>
  109. <constraint firstItem="xDZ-gX-1Nn" firstAttribute="top" secondItem="EUM-0O-k4Q" secondAttribute="bottom" constant="10" id="hov-cE-bc5"/>
  110. <constraint firstItem="gPe-XU-MzE" firstAttribute="leading" secondItem="ZVC-OE-LeU" secondAttribute="leading" id="lcS-sV-AlP"/>
  111. <constraint firstItem="EUM-0O-k4Q" firstAttribute="top" secondItem="gPe-XU-MzE" secondAttribute="bottom" constant="10" id="mlW-Wy-5jn"/>
  112. <constraint firstItem="Y2f-km-W9x" firstAttribute="centerY" secondItem="ZSt-8j-jkc" secondAttribute="centerY" id="uc8-Mm-S9c"/>
  113. <constraint firstItem="xDZ-gX-1Nn" firstAttribute="leading" secondItem="gPe-XU-MzE" secondAttribute="leading" id="yNG-YM-Ovh"/>
  114. </constraints>
  115. </view>
  116. </box>
  117. <box boxType="custom" cornerRadius="4" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="sCc-hl-F7g">
  118. <rect key="frame" x="0.0" y="0.0" width="480" height="480"/>
  119. <view key="contentView" id="ZmZ-sf-Fud">
  120. <rect key="frame" x="1" y="1" width="478" height="478"/>
  121. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  122. <subviews>
  123. <customView translatesAutoresizingMaskIntoConstraints="NO" id="U20-tU-ujV" customClass="ComponentSlider" customModule="KMComponentLibrary">
  124. <rect key="frame" x="59" y="227" width="360" height="24"/>
  125. <constraints>
  126. <constraint firstAttribute="width" constant="360" id="G5O-1J-y3x"/>
  127. <constraint firstAttribute="height" constant="24" id="Wuz-av-zVA"/>
  128. </constraints>
  129. </customView>
  130. </subviews>
  131. <constraints>
  132. <constraint firstItem="U20-tU-ujV" firstAttribute="centerY" secondItem="ZmZ-sf-Fud" secondAttribute="centerY" id="5EQ-lu-DvH"/>
  133. <constraint firstItem="U20-tU-ujV" firstAttribute="centerX" secondItem="ZmZ-sf-Fud" secondAttribute="centerX" id="HlR-hI-4N8"/>
  134. </constraints>
  135. </view>
  136. <constraints>
  137. <constraint firstAttribute="width" secondItem="sCc-hl-F7g" secondAttribute="height" multiplier="1:1" id="ylY-9X-YDJ"/>
  138. </constraints>
  139. </box>
  140. </subviews>
  141. <constraints>
  142. <constraint firstAttribute="bottom" secondItem="QhG-gD-Tmt" secondAttribute="bottom" id="Ejz-De-Xrf"/>
  143. <constraint firstAttribute="bottom" secondItem="sCc-hl-F7g" secondAttribute="bottom" id="Sd5-VS-vje"/>
  144. <constraint firstItem="QhG-gD-Tmt" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" id="WB0-59-MX4"/>
  145. <constraint firstItem="QhG-gD-Tmt" firstAttribute="leading" secondItem="sCc-hl-F7g" secondAttribute="trailing" constant="20" id="WyL-1H-9kQ"/>
  146. <constraint firstAttribute="trailing" secondItem="QhG-gD-Tmt" secondAttribute="trailing" id="XI6-57-Xks"/>
  147. <constraint firstItem="sCc-hl-F7g" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" id="gIy-bp-oTe"/>
  148. <constraint firstItem="sCc-hl-F7g" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" id="lBm-Cr-kAV"/>
  149. </constraints>
  150. <point key="canvasLocation" x="210.5" y="218"/>
  151. </customView>
  152. </objects>
  153. </document>