AlertControllerVC.xib 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241
  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="AlertControllerVC" customModule="PDF_Reader_Pro" customModuleProvider="target">
  10. <connections>
  11. <outlet property="alertItem" destination="Khg-hW-6RF" id="tEe-82-AbX"/>
  12. <outlet property="leftBox" destination="qNC-Da-VIK" id="zZ7-7S-hwp"/>
  13. <outlet property="showCancelBtn" destination="cA3-gZ-BEW" id="mG0-TC-CNf"/>
  14. <outlet property="showTitleBtn" destination="LrD-NN-OD8" id="MRn-eR-Jq5"/>
  15. <outlet property="subTitleField" destination="mvQ-eT-Dwj" id="BAr-cr-s7E"/>
  16. <outlet property="tagHeightConst" destination="ueZ-2z-EWQ" id="ICQ-wF-zXU"/>
  17. <outlet property="tagItem" destination="ABs-BX-gxX" id="4Vg-u9-oXP"/>
  18. <outlet property="tagRoundItem" destination="TWj-tk-lAr" id="2Nz-nD-F8c"/>
  19. <outlet property="tagRoundSecondaryBtn" destination="2bU-FX-EbZ" id="mHU-2c-yEf"/>
  20. <outlet property="tagRoundWidthConst" destination="WSi-IR-Ab8" id="1qP-c3-fXA"/>
  21. <outlet property="tagSizeBox" destination="MLO-6W-JfF" id="1V5-Ml-KMg"/>
  22. <outlet property="tagTextField" destination="V9S-6y-Ccc" id="diO-eK-ZnI"/>
  23. <outlet property="tagWidthConst" destination="Wn7-wg-C6v" id="nrm-fx-zFS"/>
  24. <outlet property="titleField" destination="ECt-dT-wXd" id="Di7-n2-8TC"/>
  25. <outlet property="typeBox" destination="zoZ-yW-RHS" id="Q3X-zv-ZfV"/>
  26. <outlet property="view" destination="Hz6-mo-xeY" id="0bl-1N-x8E"/>
  27. </connections>
  28. </customObject>
  29. <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
  30. <customObject id="-3" userLabel="Application" customClass="NSObject"/>
  31. <customView id="Hz6-mo-xeY">
  32. <rect key="frame" x="0.0" y="0.0" width="773" height="480"/>
  33. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  34. <subviews>
  35. <box boxType="custom" cornerRadius="4" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="qNC-Da-VIK">
  36. <rect key="frame" x="0.0" y="0.0" width="480" height="480"/>
  37. <view key="contentView" id="dsd-tZ-tac">
  38. <rect key="frame" x="1" y="1" width="478" height="478"/>
  39. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  40. <subviews>
  41. <customView fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Khg-hW-6RF" customClass="ComponentAlert" customModule="KMComponentLibrary">
  42. <rect key="frame" x="20" y="370" width="408" height="88"/>
  43. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  44. </customView>
  45. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="t0q-PA-5oP">
  46. <rect key="frame" x="38" y="282" width="26" height="16"/>
  47. <textFieldCell key="cell" lineBreakMode="clipping" title="Tag" id="W5E-eE-kz4">
  48. <font key="font" usesAppearanceFont="YES"/>
  49. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  50. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  51. </textFieldCell>
  52. </textField>
  53. <customView translatesAutoresizingMaskIntoConstraints="NO" id="ABs-BX-gxX" customClass="ComponentTag" customModule="KMComponentLibrary">
  54. <rect key="frame" x="40" y="252" width="100" height="20"/>
  55. <constraints>
  56. <constraint firstAttribute="width" constant="100" id="Wn7-wg-C6v"/>
  57. <constraint firstAttribute="height" constant="20" id="ueZ-2z-EWQ"/>
  58. </constraints>
  59. </customView>
  60. <customView translatesAutoresizingMaskIntoConstraints="NO" id="TWj-tk-lAr" customClass="ComponentTagRound" customModule="KMComponentLibrary">
  61. <rect key="frame" x="40" y="212" width="100" height="20"/>
  62. <constraints>
  63. <constraint firstAttribute="height" constant="20" id="UzP-07-Np6"/>
  64. <constraint firstAttribute="width" constant="100" id="WSi-IR-Ab8"/>
  65. </constraints>
  66. </customView>
  67. </subviews>
  68. <constraints>
  69. <constraint firstItem="TWj-tk-lAr" firstAttribute="leading" secondItem="dsd-tZ-tac" secondAttribute="leading" constant="40" id="6N5-nN-4Cf"/>
  70. <constraint firstItem="TWj-tk-lAr" firstAttribute="top" secondItem="ABs-BX-gxX" secondAttribute="bottom" constant="20" id="8pL-Xh-fxI"/>
  71. <constraint firstItem="ABs-BX-gxX" firstAttribute="top" secondItem="t0q-PA-5oP" secondAttribute="bottom" constant="10" id="Wrt-0m-fvn"/>
  72. <constraint firstItem="t0q-PA-5oP" firstAttribute="top" secondItem="dsd-tZ-tac" secondAttribute="top" constant="180" id="ls1-ES-WtP"/>
  73. <constraint firstItem="t0q-PA-5oP" firstAttribute="leading" secondItem="dsd-tZ-tac" secondAttribute="leading" constant="40" id="vR5-af-7Lc"/>
  74. <constraint firstItem="ABs-BX-gxX" firstAttribute="leading" secondItem="dsd-tZ-tac" secondAttribute="leading" constant="40" id="ywr-u9-tVh"/>
  75. </constraints>
  76. </view>
  77. <constraints>
  78. <constraint firstAttribute="width" secondItem="qNC-Da-VIK" secondAttribute="height" multiplier="1:1" id="Sbm-TJ-jPs"/>
  79. </constraints>
  80. </box>
  81. <box boxType="custom" cornerRadius="4" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="5YE-fx-xOz">
  82. <rect key="frame" x="500" y="0.0" width="273" height="480"/>
  83. <view key="contentView" id="9AS-Hl-MEC">
  84. <rect key="frame" x="1" y="1" width="271" height="478"/>
  85. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  86. <subviews>
  87. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="4Dg-8t-MxX">
  88. <rect key="frame" x="8" y="442" width="41" height="16"/>
  89. <textFieldCell key="cell" lineBreakMode="clipping" title="Type:" id="m6o-YW-GlF">
  90. <font key="font" metaFont="system"/>
  91. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  92. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  93. </textFieldCell>
  94. </textField>
  95. <comboBox focusRingType="none" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="zoZ-yW-RHS">
  96. <rect key="frame" x="51" y="438" width="154" height="23"/>
  97. <comboBoxCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" borderStyle="bezel" alignment="center" title="info" drawsBackground="YES" completes="NO" numberOfVisibleItems="6" id="xPl-Bw-lff">
  98. <font key="font" metaFont="system"/>
  99. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  100. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  101. <objectValues>
  102. <string>info</string>
  103. <string>success</string>
  104. <string>warning</string>
  105. <string>error</string>
  106. </objectValues>
  107. </comboBoxCell>
  108. <connections>
  109. <action selector="clickAction:" target="-2" id="VRA-23-YdP"/>
  110. </connections>
  111. </comboBox>
  112. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="LrD-NN-OD8">
  113. <rect key="frame" x="8" y="413" width="90" height="18"/>
  114. <buttonCell key="cell" type="check" title="Show Title" bezelStyle="regularSquare" imagePosition="left" inset="2" id="si7-Sa-ReZ">
  115. <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
  116. <font key="font" metaFont="system"/>
  117. </buttonCell>
  118. <connections>
  119. <action selector="clickAction:" target="-2" id="SES-MG-B8D"/>
  120. </connections>
  121. </button>
  122. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="cA3-gZ-BEW">
  123. <rect key="frame" x="8" y="387" width="145" height="18"/>
  124. <buttonCell key="cell" type="check" title="Show CancelButton" bezelStyle="regularSquare" imagePosition="left" inset="2" id="BNk-U6-0g5">
  125. <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
  126. <font key="font" metaFont="system"/>
  127. </buttonCell>
  128. <connections>
  129. <action selector="clickAction:" target="-2" id="LG7-dr-YIq"/>
  130. </connections>
  131. </button>
  132. <textField focusRingType="none" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ECt-dT-wXd">
  133. <rect key="frame" x="10" y="357" width="251" height="21"/>
  134. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" borderStyle="bezel" title="Title" placeholderString="Title" drawsBackground="YES" id="Rqp-8c-3WS">
  135. <font key="font" metaFont="system"/>
  136. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  137. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  138. </textFieldCell>
  139. </textField>
  140. <textField focusRingType="none" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="mvQ-eT-Dwj">
  141. <rect key="frame" x="10" y="326" width="251" height="21"/>
  142. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" borderStyle="bezel" title="Here is an example text." placeholderString="Info" drawsBackground="YES" id="Wls-1V-ZaP">
  143. <font key="font" metaFont="system"/>
  144. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  145. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  146. </textFieldCell>
  147. </textField>
  148. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="A8O-ak-L4p">
  149. <rect key="frame" x="8" y="270" width="30" height="16"/>
  150. <textFieldCell key="cell" lineBreakMode="clipping" title="Tag:" id="vV2-tW-ncV">
  151. <font key="font" metaFont="system"/>
  152. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  153. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  154. </textFieldCell>
  155. </textField>
  156. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="rmh-A7-k1P">
  157. <rect key="frame" x="8" y="244" width="34" height="16"/>
  158. <textFieldCell key="cell" lineBreakMode="clipping" title="Size:" id="81c-7W-szB">
  159. <font key="font" metaFont="system"/>
  160. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  161. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  162. </textFieldCell>
  163. </textField>
  164. <comboBox focusRingType="none" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="MLO-6W-JfF">
  165. <rect key="frame" x="49" y="240" width="56" height="23"/>
  166. <comboBoxCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" borderStyle="bezel" alignment="center" title="M" drawsBackground="YES" completes="NO" numberOfVisibleItems="6" id="Jkb-1q-9OA">
  167. <font key="font" metaFont="system"/>
  168. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  169. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  170. <objectValues>
  171. <string>M</string>
  172. <string>S</string>
  173. </objectValues>
  174. </comboBoxCell>
  175. <connections>
  176. <action selector="clickAction:" target="-2" id="aVa-dF-fMp"/>
  177. </connections>
  178. </comboBox>
  179. <textField focusRingType="none" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="V9S-6y-Ccc">
  180. <rect key="frame" x="10" y="211" width="251" height="21"/>
  181. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" borderStyle="bezel" title="Tag" placeholderString="Tag Text" drawsBackground="YES" id="NSo-Tw-lbP">
  182. <font key="font" metaFont="system"/>
  183. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  184. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  185. </textFieldCell>
  186. </textField>
  187. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="2bU-FX-EbZ">
  188. <rect key="frame" x="8" y="154" width="155" height="18"/>
  189. <buttonCell key="cell" type="check" title="TagRound Secondary" bezelStyle="regularSquare" imagePosition="left" inset="2" id="I32-U5-3wL">
  190. <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
  191. <font key="font" metaFont="system"/>
  192. </buttonCell>
  193. <connections>
  194. <action selector="clickAction:" target="-2" id="ZZk-Im-2ag"/>
  195. </connections>
  196. </button>
  197. </subviews>
  198. <constraints>
  199. <constraint firstItem="mvQ-eT-Dwj" firstAttribute="leading" secondItem="9AS-Hl-MEC" secondAttribute="leading" constant="10" id="9JK-Ol-If1"/>
  200. <constraint firstItem="cA3-gZ-BEW" firstAttribute="leading" secondItem="9AS-Hl-MEC" secondAttribute="leading" constant="10" id="GMN-Tc-O6u"/>
  201. <constraint firstItem="A8O-ak-L4p" firstAttribute="leading" secondItem="9AS-Hl-MEC" secondAttribute="leading" constant="10" id="I1a-Xm-zDO"/>
  202. <constraint firstItem="zoZ-yW-RHS" firstAttribute="leading" secondItem="4Dg-8t-MxX" secondAttribute="trailing" constant="5" id="Jkk-zv-7sR"/>
  203. <constraint firstItem="ECt-dT-wXd" firstAttribute="top" secondItem="cA3-gZ-BEW" secondAttribute="bottom" constant="10" id="Lxv-oO-ZuV"/>
  204. <constraint firstItem="V9S-6y-Ccc" firstAttribute="leading" secondItem="9AS-Hl-MEC" secondAttribute="leading" constant="10" id="Np9-ko-BWq"/>
  205. <constraint firstItem="2bU-FX-EbZ" firstAttribute="top" secondItem="V9S-6y-Ccc" secondAttribute="bottom" constant="40" id="Pcr-39-vlM"/>
  206. <constraint firstItem="MLO-6W-JfF" firstAttribute="centerY" secondItem="rmh-A7-k1P" secondAttribute="centerY" id="Qbs-4X-mgZ"/>
  207. <constraint firstItem="mvQ-eT-Dwj" firstAttribute="top" secondItem="ECt-dT-wXd" secondAttribute="bottom" constant="10" id="Wdf-NZ-Xvl"/>
  208. <constraint firstAttribute="trailing" secondItem="mvQ-eT-Dwj" secondAttribute="trailing" constant="10" id="abw-hj-c2M"/>
  209. <constraint firstItem="4Dg-8t-MxX" firstAttribute="top" secondItem="9AS-Hl-MEC" secondAttribute="top" constant="20" id="al1-aL-4js"/>
  210. <constraint firstItem="V9S-6y-Ccc" firstAttribute="top" secondItem="MLO-6W-JfF" secondAttribute="bottom" constant="10" id="axu-d4-07M"/>
  211. <constraint firstItem="ECt-dT-wXd" firstAttribute="leading" secondItem="9AS-Hl-MEC" secondAttribute="leading" constant="10" id="bIb-2u-MIm"/>
  212. <constraint firstAttribute="trailing" secondItem="V9S-6y-Ccc" secondAttribute="trailing" constant="10" id="c66-lN-xPM"/>
  213. <constraint firstItem="4Dg-8t-MxX" firstAttribute="leading" secondItem="9AS-Hl-MEC" secondAttribute="leading" constant="10" id="fI4-7j-TmR"/>
  214. <constraint firstItem="rmh-A7-k1P" firstAttribute="top" secondItem="A8O-ak-L4p" secondAttribute="bottom" constant="10" id="fqq-nn-gaP"/>
  215. <constraint firstItem="A8O-ak-L4p" firstAttribute="top" secondItem="mvQ-eT-Dwj" secondAttribute="bottom" constant="40" id="gMI-pL-BSo"/>
  216. <constraint firstItem="LrD-NN-OD8" firstAttribute="top" secondItem="zoZ-yW-RHS" secondAttribute="bottom" constant="10" id="gRv-k3-I0s"/>
  217. <constraint firstItem="zoZ-yW-RHS" firstAttribute="centerY" secondItem="4Dg-8t-MxX" secondAttribute="centerY" id="j26-wL-4DV"/>
  218. <constraint firstItem="cA3-gZ-BEW" firstAttribute="top" secondItem="LrD-NN-OD8" secondAttribute="bottom" constant="10" id="jfG-b0-LQ5"/>
  219. <constraint firstItem="LrD-NN-OD8" firstAttribute="leading" secondItem="9AS-Hl-MEC" secondAttribute="leading" constant="10" id="kVx-Lm-RxS"/>
  220. <constraint firstItem="MLO-6W-JfF" firstAttribute="leading" secondItem="rmh-A7-k1P" secondAttribute="trailing" constant="10" id="l2x-EO-ZBO"/>
  221. <constraint firstAttribute="trailing" secondItem="zoZ-yW-RHS" secondAttribute="trailing" constant="69" id="oOW-JY-GUE"/>
  222. <constraint firstItem="rmh-A7-k1P" firstAttribute="leading" secondItem="9AS-Hl-MEC" secondAttribute="leading" constant="10" id="owa-oz-qOO"/>
  223. <constraint firstItem="2bU-FX-EbZ" firstAttribute="leading" secondItem="9AS-Hl-MEC" secondAttribute="leading" constant="10" id="pM6-LI-6Pv"/>
  224. <constraint firstAttribute="trailing" secondItem="ECt-dT-wXd" secondAttribute="trailing" constant="10" id="wu4-bQ-kpv"/>
  225. </constraints>
  226. </view>
  227. </box>
  228. </subviews>
  229. <constraints>
  230. <constraint firstItem="5YE-fx-xOz" firstAttribute="leading" secondItem="qNC-Da-VIK" secondAttribute="trailing" constant="20" id="HzC-Kr-LI9"/>
  231. <constraint firstItem="qNC-Da-VIK" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" id="i24-BQ-emd"/>
  232. <constraint firstItem="qNC-Da-VIK" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" id="kUg-jL-SzJ"/>
  233. <constraint firstAttribute="bottom" secondItem="qNC-Da-VIK" secondAttribute="bottom" id="qMh-K8-Bzq"/>
  234. <constraint firstItem="5YE-fx-xOz" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" id="rTK-xI-w6r"/>
  235. <constraint firstAttribute="trailing" secondItem="5YE-fx-xOz" secondAttribute="trailing" id="t0Y-Fa-HT8"/>
  236. <constraint firstAttribute="bottom" secondItem="5YE-fx-xOz" secondAttribute="bottom" id="zjJ-tk-LfL"/>
  237. </constraints>
  238. <point key="canvasLocation" x="261.5" y="148"/>
  239. </customView>
  240. </objects>
  241. </document>