MessageVC.xib 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  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="MessageVC" customModule="PDF_Reader_Pro" customModuleProvider="target">
  10. <connections>
  11. <outlet property="message" destination="UJN-0c-lcd" id="p6b-5u-SNj"/>
  12. <outlet property="messageWidthConst" destination="JJP-1c-d9e" id="Tio-oE-8E5"/>
  13. <outlet property="typeBox" destination="yL3-Hh-MCj" id="laF-G7-Y0F"/>
  14. <outlet property="view" destination="Hz6-mo-xeY" id="0bl-1N-x8E"/>
  15. </connections>
  16. </customObject>
  17. <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
  18. <customObject id="-3" userLabel="Application" customClass="NSObject"/>
  19. <customView id="Hz6-mo-xeY">
  20. <rect key="frame" x="0.0" y="0.0" width="632" height="268"/>
  21. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  22. <subviews>
  23. <box boxType="custom" cornerRadius="4" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="RcX-7Z-YaS">
  24. <rect key="frame" x="0.0" y="0.0" width="268" height="268"/>
  25. <view key="contentView" id="Cn8-3W-Dcq">
  26. <rect key="frame" x="1" y="1" width="266" height="266"/>
  27. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  28. <subviews>
  29. <customView translatesAutoresizingMaskIntoConstraints="NO" id="UJN-0c-lcd" customClass="ComponentMessage" customModule="KMComponentLibrary">
  30. <rect key="frame" x="20" y="206" width="200" height="40"/>
  31. <constraints>
  32. <constraint firstAttribute="width" constant="200" id="JJP-1c-d9e"/>
  33. <constraint firstAttribute="height" constant="40" id="eLg-za-soc"/>
  34. </constraints>
  35. </customView>
  36. </subviews>
  37. <constraints>
  38. <constraint firstItem="UJN-0c-lcd" firstAttribute="top" secondItem="Cn8-3W-Dcq" secondAttribute="top" constant="20" id="XgM-kf-AQ2"/>
  39. <constraint firstItem="UJN-0c-lcd" firstAttribute="leading" secondItem="Cn8-3W-Dcq" secondAttribute="leading" constant="20" id="yA4-Xf-tDP"/>
  40. </constraints>
  41. </view>
  42. <constraints>
  43. <constraint firstAttribute="width" secondItem="RcX-7Z-YaS" secondAttribute="height" multiplier="1:1" id="V2p-lR-3eD"/>
  44. </constraints>
  45. </box>
  46. <box boxType="custom" cornerRadius="4" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="Elh-ME-y5h">
  47. <rect key="frame" x="288" y="0.0" width="344" height="268"/>
  48. <view key="contentView" id="Fgk-pO-co6">
  49. <rect key="frame" x="1" y="1" width="342" height="266"/>
  50. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  51. <subviews>
  52. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="cxc-IM-ShW">
  53. <rect key="frame" x="8" y="230" width="41" height="16"/>
  54. <textFieldCell key="cell" lineBreakMode="clipping" title="Type:" id="k2B-kg-PQ2">
  55. <font key="font" metaFont="system"/>
  56. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  57. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  58. </textFieldCell>
  59. </textField>
  60. <comboBox focusRingType="none" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="yL3-Hh-MCj">
  61. <rect key="frame" x="51" y="226" width="225" height="23"/>
  62. <comboBoxCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" borderStyle="bezel" alignment="center" title="underline_Center" drawsBackground="YES" completes="NO" numberOfVisibleItems="6" id="0CQ-Hr-8VN">
  63. <font key="font" metaFont="system"/>
  64. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  65. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  66. <objectValues>
  67. <string>info</string>
  68. <string>success</string>
  69. <string>warning</string>
  70. <string>error</string>
  71. <string>normal-custom</string>
  72. <string>Loading...</string>
  73. </objectValues>
  74. </comboBoxCell>
  75. <connections>
  76. <action selector="messageAction:" target="-2" id="6oE-Ub-zS9"/>
  77. </connections>
  78. </comboBox>
  79. </subviews>
  80. <constraints>
  81. <constraint firstItem="yL3-Hh-MCj" firstAttribute="leading" secondItem="cxc-IM-ShW" secondAttribute="trailing" constant="5" id="12p-WE-By0"/>
  82. <constraint firstItem="cxc-IM-ShW" firstAttribute="leading" secondItem="Fgk-pO-co6" secondAttribute="leading" constant="10" id="4vp-Qe-HGt"/>
  83. <constraint firstAttribute="trailing" secondItem="yL3-Hh-MCj" secondAttribute="trailing" constant="69" id="O96-1l-W62"/>
  84. <constraint firstItem="cxc-IM-ShW" firstAttribute="top" secondItem="Fgk-pO-co6" secondAttribute="top" constant="20" id="jve-6c-Yzp"/>
  85. <constraint firstItem="yL3-Hh-MCj" firstAttribute="centerY" secondItem="cxc-IM-ShW" secondAttribute="centerY" id="vWI-02-p8n"/>
  86. </constraints>
  87. </view>
  88. </box>
  89. </subviews>
  90. <constraints>
  91. <constraint firstItem="Elh-ME-y5h" firstAttribute="leading" secondItem="RcX-7Z-YaS" secondAttribute="trailing" constant="20" id="HAO-lb-gQq"/>
  92. <constraint firstAttribute="bottom" secondItem="RcX-7Z-YaS" secondAttribute="bottom" id="N3L-zV-y9M"/>
  93. <constraint firstItem="RcX-7Z-YaS" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" id="aUc-kF-oLL"/>
  94. <constraint firstItem="RcX-7Z-YaS" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" id="av5-WI-Xr9"/>
  95. <constraint firstAttribute="bottom" secondItem="Elh-ME-y5h" secondAttribute="bottom" id="oe6-zf-XHT"/>
  96. <constraint firstAttribute="trailing" secondItem="Elh-ME-y5h" secondAttribute="trailing" id="s8l-eI-IMN"/>
  97. <constraint firstItem="Elh-ME-y5h" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" id="zSC-S8-F9v"/>
  98. </constraints>
  99. <point key="canvasLocation" x="87" y="151"/>
  100. </customView>
  101. </objects>
  102. </document>