SegmentedVC.xib 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  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="SegmentedVC" customModule="PDF_Reader_Pro" customModuleProvider="target">
  10. <connections>
  11. <outlet property="countBox" destination="JiB-nD-SZ0" id="uMr-Te-NYP"/>
  12. <outlet property="segmented" destination="I26-4X-Fd1" id="Cv9-ZS-DO4"/>
  13. <outlet property="segmentedheightConst" destination="3K0-ck-2cY" id="sKp-Ez-EuJ"/>
  14. <outlet property="sizeBox" destination="uVg-5h-ify" id="AJ4-o2-4T0"/>
  15. <outlet property="view" destination="Hz6-mo-xeY" id="0bl-1N-x8E"/>
  16. </connections>
  17. </customObject>
  18. <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
  19. <customObject id="-3" userLabel="Application" customClass="NSObject"/>
  20. <customView id="Hz6-mo-xeY">
  21. <rect key="frame" x="0.0" y="0.0" width="620" height="417"/>
  22. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  23. <subviews>
  24. <box boxType="custom" cornerRadius="4" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="ftP-FR-Q6O">
  25. <rect key="frame" x="0.0" y="0.0" width="417" height="417"/>
  26. <view key="contentView" id="d8f-c2-1eq">
  27. <rect key="frame" x="1" y="1" width="415" height="415"/>
  28. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  29. <subviews>
  30. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="oDw-st-IvU">
  31. <rect key="frame" x="18" y="379" width="81" height="16"/>
  32. <textFieldCell key="cell" lineBreakMode="clipping" title="Segmented:" id="32w-di-1fU">
  33. <font key="font" usesAppearanceFont="YES"/>
  34. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  35. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  36. </textFieldCell>
  37. </textField>
  38. <customView translatesAutoresizingMaskIntoConstraints="NO" id="I26-4X-Fd1" customClass="ComponentSegmented" customModule="KMComponentLibrary">
  39. <rect key="frame" x="20" y="327" width="240" height="32"/>
  40. <constraints>
  41. <constraint firstAttribute="height" constant="32" id="3K0-ck-2cY"/>
  42. <constraint firstAttribute="width" constant="240" id="hzi-wh-Uyd"/>
  43. </constraints>
  44. </customView>
  45. </subviews>
  46. <constraints>
  47. <constraint firstItem="oDw-st-IvU" firstAttribute="top" secondItem="d8f-c2-1eq" secondAttribute="top" constant="20" id="HcW-AQ-54A"/>
  48. <constraint firstItem="I26-4X-Fd1" firstAttribute="top" secondItem="oDw-st-IvU" secondAttribute="bottom" constant="20" id="KiW-Ss-9jO"/>
  49. <constraint firstItem="I26-4X-Fd1" firstAttribute="leading" secondItem="d8f-c2-1eq" secondAttribute="leading" constant="20" id="etA-bC-MbC"/>
  50. <constraint firstItem="oDw-st-IvU" firstAttribute="leading" secondItem="d8f-c2-1eq" secondAttribute="leading" constant="20" id="rM3-AR-q7S"/>
  51. </constraints>
  52. </view>
  53. <constraints>
  54. <constraint firstAttribute="width" secondItem="ftP-FR-Q6O" secondAttribute="height" multiplier="1:1" id="EL6-Uq-fbV"/>
  55. </constraints>
  56. </box>
  57. <box boxType="custom" cornerRadius="4" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="9X5-sc-lPd">
  58. <rect key="frame" x="437" y="0.0" width="183" height="417"/>
  59. <view key="contentView" id="Uzo-7g-LxD">
  60. <rect key="frame" x="1" y="1" width="181" height="415"/>
  61. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  62. <subviews>
  63. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="JnD-gO-FZa">
  64. <rect key="frame" x="8" y="379" width="34" height="16"/>
  65. <textFieldCell key="cell" lineBreakMode="clipping" title="Size:" id="e0G-gs-SIf">
  66. <font key="font" metaFont="system"/>
  67. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  68. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  69. </textFieldCell>
  70. </textField>
  71. <comboBox focusRingType="none" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="uVg-5h-ify">
  72. <rect key="frame" x="44" y="375" width="109" height="23"/>
  73. <constraints>
  74. <constraint firstAttribute="width" constant="105" id="6yP-08-WHK"/>
  75. </constraints>
  76. <comboBoxCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" borderStyle="bezel" alignment="center" title="M" drawsBackground="YES" completes="NO" numberOfVisibleItems="6" id="Zaj-dl-CZX">
  77. <font key="font" metaFont="system"/>
  78. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  79. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  80. <objectValues>
  81. <string>M</string>
  82. <string>S</string>
  83. </objectValues>
  84. </comboBoxCell>
  85. <connections>
  86. <action selector="boxAction:" target="-2" id="lWI-CD-Lqm"/>
  87. </connections>
  88. </comboBox>
  89. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="e8D-jD-O52">
  90. <rect key="frame" x="8" y="351" width="48" height="16"/>
  91. <textFieldCell key="cell" lineBreakMode="clipping" title="Count:" id="F6l-9v-sbb">
  92. <font key="font" metaFont="system"/>
  93. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  94. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  95. </textFieldCell>
  96. </textField>
  97. <comboBox focusRingType="none" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="JiB-nD-SZ0">
  98. <rect key="frame" x="58" y="347" width="109" height="23"/>
  99. <constraints>
  100. <constraint firstAttribute="width" constant="105" id="Mtd-9P-5fh"/>
  101. </constraints>
  102. <comboBoxCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" borderStyle="bezel" alignment="center" title="2" drawsBackground="YES" completes="NO" numberOfVisibleItems="6" id="GHZ-P2-a5W">
  103. <font key="font" metaFont="system"/>
  104. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  105. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  106. <objectValues>
  107. <string>2</string>
  108. <string>3</string>
  109. <string>4</string>
  110. </objectValues>
  111. </comboBoxCell>
  112. <connections>
  113. <action selector="boxAction:" target="-2" id="Qfh-Me-mHL"/>
  114. </connections>
  115. </comboBox>
  116. </subviews>
  117. <constraints>
  118. <constraint firstItem="JnD-gO-FZa" firstAttribute="top" secondItem="Uzo-7g-LxD" secondAttribute="top" constant="20" id="0rf-hI-0US"/>
  119. <constraint firstItem="uVg-5h-ify" firstAttribute="leading" secondItem="JnD-gO-FZa" secondAttribute="trailing" constant="5" id="DSy-dn-ONW"/>
  120. <constraint firstItem="JiB-nD-SZ0" firstAttribute="centerY" secondItem="e8D-jD-O52" secondAttribute="centerY" id="Ovk-94-dX2"/>
  121. <constraint firstItem="e8D-jD-O52" firstAttribute="top" secondItem="uVg-5h-ify" secondAttribute="bottom" constant="10" id="TEQ-za-FW2"/>
  122. <constraint firstItem="e8D-jD-O52" firstAttribute="leading" secondItem="Uzo-7g-LxD" secondAttribute="leading" constant="10" id="YiK-cQ-wj0"/>
  123. <constraint firstItem="JnD-gO-FZa" firstAttribute="leading" secondItem="Uzo-7g-LxD" secondAttribute="leading" constant="10" id="glH-PZ-5Wg"/>
  124. <constraint firstItem="uVg-5h-ify" firstAttribute="centerY" secondItem="JnD-gO-FZa" secondAttribute="centerY" id="s0k-7S-Dds"/>
  125. <constraint firstItem="JiB-nD-SZ0" firstAttribute="leading" secondItem="e8D-jD-O52" secondAttribute="trailing" constant="5" id="yLU-Oh-FBl"/>
  126. </constraints>
  127. </view>
  128. </box>
  129. </subviews>
  130. <constraints>
  131. <constraint firstItem="9X5-sc-lPd" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" id="G1f-3I-rkx"/>
  132. <constraint firstItem="ftP-FR-Q6O" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" id="Jh7-lq-vrv"/>
  133. <constraint firstAttribute="bottom" secondItem="ftP-FR-Q6O" secondAttribute="bottom" id="Krh-Tf-B9D"/>
  134. <constraint firstAttribute="bottom" secondItem="9X5-sc-lPd" secondAttribute="bottom" id="cPK-Z6-P7k"/>
  135. <constraint firstAttribute="trailing" secondItem="9X5-sc-lPd" secondAttribute="trailing" id="eaw-w7-JzK"/>
  136. <constraint firstItem="9X5-sc-lPd" firstAttribute="leading" secondItem="ftP-FR-Q6O" secondAttribute="trailing" constant="20" id="o91-Wd-OGa"/>
  137. <constraint firstItem="ftP-FR-Q6O" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" id="uRT-Hc-tGP"/>
  138. </constraints>
  139. <point key="canvasLocation" x="97" y="262.5"/>
  140. </customView>
  141. </objects>
  142. </document>