NotiVC.xib 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  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="NotiVC" customModule="PDF_Reader_Pro" customModuleProvider="target">
  10. <connections>
  11. <outlet property="notificationView" destination="V9s-nk-0ek" id="SpH-Kc-cL0"/>
  12. <outlet property="showImageAction" destination="NvM-H6-Iow" id="1b8-jV-aPx"/>
  13. <outlet property="subTitleField" destination="SFy-k7-GFI" id="hrU-BF-7QZ"/>
  14. <outlet property="titleField" destination="4gD-2O-07c" id="iup-mJ-2aW"/>
  15. <outlet property="typeBox" destination="7VX-xi-ZQe" id="QEn-oU-8Ef"/>
  16. <outlet property="view" destination="Hz6-mo-xeY" id="0bl-1N-x8E"/>
  17. <outlet property="viewHeightConst" destination="fRr-Dn-oly" id="vVH-rP-wXr"/>
  18. </connections>
  19. </customObject>
  20. <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
  21. <customObject id="-3" userLabel="Application" customClass="NSObject"/>
  22. <customView id="Hz6-mo-xeY">
  23. <rect key="frame" x="0.0" y="0.0" width="771" height="442"/>
  24. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  25. <subviews>
  26. <box boxType="custom" cornerRadius="4" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="s5C-vt-R07">
  27. <rect key="frame" x="0.0" y="0.0" width="442" height="442"/>
  28. <view key="contentView" id="ycG-bL-nAv">
  29. <rect key="frame" x="1" y="1" width="440" height="440"/>
  30. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  31. <subviews>
  32. <customView translatesAutoresizingMaskIntoConstraints="NO" id="V9s-nk-0ek" customClass="ComponentNotification" customModule="KMComponentLibrary">
  33. <rect key="frame" x="16" y="260" width="360" height="160"/>
  34. <constraints>
  35. <constraint firstAttribute="height" constant="160" id="fRr-Dn-oly"/>
  36. <constraint firstAttribute="width" constant="360" id="k4h-xD-owD"/>
  37. </constraints>
  38. </customView>
  39. </subviews>
  40. <constraints>
  41. <constraint firstItem="V9s-nk-0ek" firstAttribute="leading" secondItem="ycG-bL-nAv" secondAttribute="leading" constant="16" id="edp-4c-doE"/>
  42. <constraint firstItem="V9s-nk-0ek" firstAttribute="top" secondItem="ycG-bL-nAv" secondAttribute="top" constant="20" symbolic="YES" id="gge-Za-KMy"/>
  43. </constraints>
  44. </view>
  45. <constraints>
  46. <constraint firstAttribute="width" secondItem="s5C-vt-R07" secondAttribute="height" multiplier="1:1" id="hyF-Qd-ZkW"/>
  47. </constraints>
  48. </box>
  49. <box boxType="custom" cornerRadius="4" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="HuV-0C-tWr">
  50. <rect key="frame" x="462" y="0.0" width="309" height="442"/>
  51. <view key="contentView" id="uuC-QB-2QC">
  52. <rect key="frame" x="1" y="1" width="307" height="440"/>
  53. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  54. <subviews>
  55. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="oyJ-HX-4qg">
  56. <rect key="frame" x="18" y="404" width="41" height="16"/>
  57. <textFieldCell key="cell" lineBreakMode="clipping" title="Type:" id="6d9-d0-AdF">
  58. <font key="font" metaFont="system"/>
  59. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  60. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  61. </textFieldCell>
  62. </textField>
  63. <comboBox focusRingType="none" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="7VX-xi-ZQe">
  64. <rect key="frame" x="66" y="400" width="67" height="23"/>
  65. <comboBoxCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" borderStyle="bezel" alignment="center" title="info" drawsBackground="YES" completes="NO" numberOfVisibleItems="6" id="iwV-VY-BES">
  66. <font key="font" metaFont="system"/>
  67. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  68. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  69. <objectValues>
  70. <string>info</string>
  71. <string>success</string>
  72. <string>warning</string>
  73. <string>error</string>
  74. <string>normal-custom</string>
  75. </objectValues>
  76. </comboBoxCell>
  77. <connections>
  78. <action selector="clickAction:" target="-2" id="GOT-Vb-qjy"/>
  79. </connections>
  80. </comboBox>
  81. <textField focusRingType="none" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="4gD-2O-07c">
  82. <rect key="frame" x="20" y="325" width="267" height="21"/>
  83. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" borderStyle="bezel" title="Notification title" placeholderString="Title" drawsBackground="YES" id="FgV-tG-Ke7">
  84. <font key="font" metaFont="system"/>
  85. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  86. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  87. </textFieldCell>
  88. </textField>
  89. <textField focusRingType="none" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="SFy-k7-GFI">
  90. <rect key="frame" x="20" y="284" width="267" height="21"/>
  91. <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="IN1-r2-fTO">
  92. <font key="font" metaFont="system"/>
  93. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  94. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  95. </textFieldCell>
  96. </textField>
  97. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="NvM-H6-Iow">
  98. <rect key="frame" x="18" y="365" width="100" height="18"/>
  99. <buttonCell key="cell" type="check" title="Show Image" bezelStyle="regularSquare" imagePosition="left" inset="2" id="JQL-Jj-kIg">
  100. <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
  101. <font key="font" metaFont="system"/>
  102. </buttonCell>
  103. <connections>
  104. <action selector="clickAction:" target="-2" id="Amv-6e-bhc"/>
  105. </connections>
  106. </button>
  107. </subviews>
  108. <constraints>
  109. <constraint firstItem="NvM-H6-Iow" firstAttribute="top" secondItem="7VX-xi-ZQe" secondAttribute="bottom" constant="20" id="0La-zR-NjP"/>
  110. <constraint firstItem="oyJ-HX-4qg" firstAttribute="top" secondItem="uuC-QB-2QC" secondAttribute="top" constant="20" id="0oc-My-gpC"/>
  111. <constraint firstItem="SFy-k7-GFI" firstAttribute="top" secondItem="4gD-2O-07c" secondAttribute="bottom" constant="20" id="5pA-dV-DXC"/>
  112. <constraint firstAttribute="trailing" secondItem="SFy-k7-GFI" secondAttribute="trailing" constant="20" id="7og-Bu-Ldj"/>
  113. <constraint firstItem="7VX-xi-ZQe" firstAttribute="centerY" secondItem="oyJ-HX-4qg" secondAttribute="centerY" id="9QY-wr-AaC"/>
  114. <constraint firstItem="4gD-2O-07c" firstAttribute="top" secondItem="NvM-H6-Iow" secondAttribute="bottom" constant="20" id="QSC-TV-Y3G"/>
  115. <constraint firstItem="SFy-k7-GFI" firstAttribute="leading" secondItem="uuC-QB-2QC" secondAttribute="leading" constant="20" id="Shc-m7-a97"/>
  116. <constraint firstItem="7VX-xi-ZQe" firstAttribute="leading" secondItem="oyJ-HX-4qg" secondAttribute="trailing" constant="10" id="TK4-8E-8BF"/>
  117. <constraint firstAttribute="trailing" secondItem="4gD-2O-07c" secondAttribute="trailing" constant="20" id="h8l-4V-oFr"/>
  118. <constraint firstItem="oyJ-HX-4qg" firstAttribute="leading" secondItem="uuC-QB-2QC" secondAttribute="leading" constant="20" id="jTc-4J-Zps"/>
  119. <constraint firstItem="NvM-H6-Iow" firstAttribute="leading" secondItem="uuC-QB-2QC" secondAttribute="leading" constant="20" id="kXh-yH-Nvq"/>
  120. <constraint firstItem="4gD-2O-07c" firstAttribute="leading" secondItem="uuC-QB-2QC" secondAttribute="leading" constant="20" id="l7P-cX-f9V"/>
  121. </constraints>
  122. </view>
  123. </box>
  124. </subviews>
  125. <constraints>
  126. <constraint firstAttribute="trailing" secondItem="HuV-0C-tWr" secondAttribute="trailing" id="KKI-DK-29g"/>
  127. <constraint firstItem="HuV-0C-tWr" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" id="NDL-Vg-7S1"/>
  128. <constraint firstAttribute="bottom" secondItem="s5C-vt-R07" secondAttribute="bottom" id="Og5-8V-JaP"/>
  129. <constraint firstItem="s5C-vt-R07" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" id="PSb-GU-vyn"/>
  130. <constraint firstAttribute="bottom" secondItem="HuV-0C-tWr" secondAttribute="bottom" id="YOL-Zp-qbu"/>
  131. <constraint firstItem="s5C-vt-R07" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" id="aNc-VE-sJa"/>
  132. <constraint firstItem="HuV-0C-tWr" firstAttribute="leading" secondItem="s5C-vt-R07" secondAttribute="trailing" constant="20" id="eVd-hc-KmM"/>
  133. </constraints>
  134. <point key="canvasLocation" x="151.5" y="199"/>
  135. </customView>
  136. </objects>
  137. </document>