ModalVC.xib 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  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="ModalVC" customModule="PDF_Reader_Pro" customModuleProvider="target">
  10. <connections>
  11. <outlet property="showImageAction" destination="Buj-dE-OhO" id="ICp-3T-r5P"/>
  12. <outlet property="subTitleField" destination="vzP-41-DXV" id="qwM-se-jOM"/>
  13. <outlet property="titleField" destination="8ny-Ma-ql6" id="cNk-QY-Zt9"/>
  14. <outlet property="typeBox" destination="XlV-4j-MwS" id="2Jl-a7-DGE"/>
  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="480" height="272"/>
  22. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  23. <subviews>
  24. <box boxType="custom" cornerRadius="4" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="ktP-P5-C8T">
  25. <rect key="frame" x="0.0" y="0.0" width="272" height="272"/>
  26. <view key="contentView" id="g47-tO-Wwo">
  27. <rect key="frame" x="1" y="1" width="270" height="270"/>
  28. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  29. <subviews>
  30. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="bfb-wx-in3">
  31. <rect key="frame" x="18" y="234" width="45" height="16"/>
  32. <textFieldCell key="cell" lineBreakMode="clipping" title="Modal:" id="sjr-O5-Ke4">
  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. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="aLF-hi-TIb">
  39. <rect key="frame" x="23" y="197" width="108" height="32"/>
  40. <buttonCell key="cell" type="push" title="Show Modal" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="pAe-SE-zHa">
  41. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  42. <font key="font" metaFont="system"/>
  43. </buttonCell>
  44. <connections>
  45. <action selector="showModalAction:" target="-2" id="t5d-mn-QfF"/>
  46. </connections>
  47. </button>
  48. </subviews>
  49. <constraints>
  50. <constraint firstItem="aLF-hi-TIb" firstAttribute="top" secondItem="bfb-wx-in3" secondAttribute="bottom" constant="10" id="8Vs-Me-Nst"/>
  51. <constraint firstItem="bfb-wx-in3" firstAttribute="leading" secondItem="g47-tO-Wwo" secondAttribute="leading" constant="20" id="Chc-yr-igK"/>
  52. <constraint firstItem="bfb-wx-in3" firstAttribute="top" secondItem="g47-tO-Wwo" secondAttribute="top" constant="20" id="h66-XC-32q"/>
  53. <constraint firstItem="aLF-hi-TIb" firstAttribute="leading" secondItem="g47-tO-Wwo" secondAttribute="leading" constant="30" id="h9y-oe-JZM"/>
  54. </constraints>
  55. </view>
  56. <constraints>
  57. <constraint firstAttribute="width" secondItem="ktP-P5-C8T" secondAttribute="height" multiplier="1:1" id="5I5-P3-qxp"/>
  58. <constraint firstAttribute="width" secondItem="ktP-P5-C8T" secondAttribute="height" multiplier="1:1" id="QSB-qU-3vf"/>
  59. </constraints>
  60. </box>
  61. <box boxType="custom" cornerRadius="4" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="5j2-sU-WkS">
  62. <rect key="frame" x="292" y="0.0" width="188" height="272"/>
  63. <view key="contentView" id="nHX-VE-j6E">
  64. <rect key="frame" x="1" y="1" width="186" height="270"/>
  65. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  66. <subviews>
  67. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="tAX-Ge-qGC">
  68. <rect key="frame" x="18" y="234" width="41" height="16"/>
  69. <textFieldCell key="cell" lineBreakMode="clipping" title="Type:" id="2GY-xX-K2S">
  70. <font key="font" metaFont="system"/>
  71. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  72. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  73. </textFieldCell>
  74. </textField>
  75. <comboBox focusRingType="none" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="XlV-4j-MwS">
  76. <rect key="frame" x="66" y="230" width="67" height="23"/>
  77. <comboBoxCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" borderStyle="bezel" alignment="center" title="info" drawsBackground="YES" completes="NO" numberOfVisibleItems="6" id="1SV-yB-iAT">
  78. <font key="font" metaFont="system"/>
  79. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  80. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  81. <objectValues>
  82. <string>info</string>
  83. <string>success</string>
  84. <string>warning</string>
  85. <string>error</string>
  86. <string>normal-custom</string>
  87. </objectValues>
  88. </comboBoxCell>
  89. </comboBox>
  90. <textField focusRingType="none" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="8ny-Ma-ql6">
  91. <rect key="frame" x="20" y="155" width="146" height="21"/>
  92. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" borderStyle="bezel" title="Notification title" placeholderString="Title" drawsBackground="YES" id="1qb-9s-tdA">
  93. <font key="font" metaFont="system"/>
  94. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  95. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  96. </textFieldCell>
  97. </textField>
  98. <textField focusRingType="none" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="vzP-41-DXV">
  99. <rect key="frame" x="20" y="114" width="146" height="21"/>
  100. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" borderStyle="bezel" title="This is the notification popup with some content text here. We recommend keeping the content text as simple as possible." placeholderString="Sub Title" drawsBackground="YES" id="eoK-O3-7Uk">
  101. <font key="font" metaFont="system"/>
  102. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  103. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  104. </textFieldCell>
  105. </textField>
  106. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Buj-dE-OhO">
  107. <rect key="frame" x="18" y="195" width="100" height="18"/>
  108. <buttonCell key="cell" type="check" title="Show Image" bezelStyle="regularSquare" imagePosition="left" inset="2" id="EDc-0F-C1u">
  109. <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
  110. <font key="font" metaFont="system"/>
  111. </buttonCell>
  112. <connections>
  113. <action selector="clickAction:" target="-2" id="RqQ-i7-Gl6"/>
  114. </connections>
  115. </button>
  116. </subviews>
  117. <constraints>
  118. <constraint firstItem="XlV-4j-MwS" firstAttribute="centerY" secondItem="tAX-Ge-qGC" secondAttribute="centerY" id="Bjd-Wg-u0S"/>
  119. <constraint firstAttribute="trailing" secondItem="vzP-41-DXV" secondAttribute="trailing" constant="20" id="DOs-XF-IHK"/>
  120. <constraint firstAttribute="trailing" secondItem="8ny-Ma-ql6" secondAttribute="trailing" constant="20" id="F7c-2W-OM1"/>
  121. <constraint firstItem="XlV-4j-MwS" firstAttribute="leading" secondItem="tAX-Ge-qGC" secondAttribute="trailing" constant="10" id="Jif-S2-adl"/>
  122. <constraint firstItem="Buj-dE-OhO" firstAttribute="top" secondItem="XlV-4j-MwS" secondAttribute="bottom" constant="20" id="Wqm-TV-eR4"/>
  123. <constraint firstItem="8ny-Ma-ql6" firstAttribute="top" secondItem="Buj-dE-OhO" secondAttribute="bottom" constant="20" id="mu4-Ry-rTJ"/>
  124. <constraint firstItem="vzP-41-DXV" firstAttribute="leading" secondItem="nHX-VE-j6E" secondAttribute="leading" constant="20" id="ngU-sb-5Vd"/>
  125. <constraint firstItem="8ny-Ma-ql6" firstAttribute="leading" secondItem="nHX-VE-j6E" secondAttribute="leading" constant="20" id="ogh-hz-c7d"/>
  126. <constraint firstItem="tAX-Ge-qGC" firstAttribute="top" secondItem="nHX-VE-j6E" secondAttribute="top" constant="20" id="qeO-nC-oWc"/>
  127. <constraint firstItem="Buj-dE-OhO" firstAttribute="leading" secondItem="nHX-VE-j6E" secondAttribute="leading" constant="20" id="udN-6Z-NOb"/>
  128. <constraint firstItem="tAX-Ge-qGC" firstAttribute="leading" secondItem="nHX-VE-j6E" secondAttribute="leading" constant="20" id="zK6-jE-YWH"/>
  129. <constraint firstItem="vzP-41-DXV" firstAttribute="top" secondItem="8ny-Ma-ql6" secondAttribute="bottom" constant="20" id="zT4-iS-D4I"/>
  130. </constraints>
  131. </view>
  132. </box>
  133. </subviews>
  134. <constraints>
  135. <constraint firstItem="ktP-P5-C8T" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" id="3at-gF-6Nk"/>
  136. <constraint firstAttribute="trailing" secondItem="5j2-sU-WkS" secondAttribute="trailing" id="5vl-Bc-9tU"/>
  137. <constraint firstItem="5j2-sU-WkS" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" id="7IP-L1-3i1"/>
  138. <constraint firstItem="5j2-sU-WkS" firstAttribute="leading" secondItem="ktP-P5-C8T" secondAttribute="trailing" constant="20" id="J6O-jb-hiU"/>
  139. <constraint firstAttribute="bottom" secondItem="5j2-sU-WkS" secondAttribute="bottom" id="KLg-TQ-m50"/>
  140. <constraint firstItem="ktP-P5-C8T" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" id="a0K-IK-y5V"/>
  141. <constraint firstAttribute="bottom" secondItem="ktP-P5-C8T" secondAttribute="bottom" id="tLP-2d-el6"/>
  142. </constraints>
  143. <point key="canvasLocation" x="59" y="162"/>
  144. </customView>
  145. </objects>
  146. </document>