WFCUShareMessageView.xib 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14460.31" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
  3. <device id="retina4_7" orientation="portrait">
  4. <adaptation id="fullscreen"/>
  5. </device>
  6. <dependencies>
  7. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14460.20"/>
  8. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  9. </dependencies>
  10. <objects>
  11. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  12. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  13. <view contentMode="scaleToFill" restorationIdentifier="ShareMessageView" id="iN0-l3-epB" customClass="WFCUShareMessageView">
  14. <rect key="frame" x="0.0" y="0.0" width="300" height="249"/>
  15. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  16. <subviews>
  17. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="发送给:" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="nzK-K0-iW6">
  18. <rect key="frame" x="16" y="16" width="84" height="18"/>
  19. <constraints>
  20. <constraint firstAttribute="width" constant="84" id="Yci-ra-oT9"/>
  21. <constraint firstAttribute="height" constant="18" id="aDV-zi-Nrc"/>
  22. </constraints>
  23. <fontDescription key="fontDescription" type="boldSystem" pointSize="18"/>
  24. <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  25. <nil key="highlightedColor"/>
  26. </label>
  27. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="Csx-dS-1I3">
  28. <rect key="frame" x="16" y="42" width="48" height="48"/>
  29. <constraints>
  30. <constraint firstAttribute="width" constant="48" id="hcM-ZR-vJl"/>
  31. <constraint firstAttribute="height" constant="48" id="oeF-cx-Exb"/>
  32. </constraints>
  33. </imageView>
  34. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="Name" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="7MK-7J-GtF">
  35. <rect key="frame" x="72" y="56" width="45" height="21"/>
  36. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  37. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  38. <nil key="textColor"/>
  39. <nil key="highlightedColor"/>
  40. </label>
  41. <textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" textAlignment="natural" translatesAutoresizingMaskIntoConstraints="NO" id="zpX-1J-0nB">
  42. <rect key="frame" x="16" y="155" width="268" height="36"/>
  43. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  44. <constraints>
  45. <constraint firstAttribute="height" relation="greaterThanOrEqual" constant="36" id="VmY-q8-xGy"/>
  46. </constraints>
  47. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  48. <textInputTraits key="textInputTraits" autocapitalizationType="sentences" enablesReturnKeyAutomatically="YES"/>
  49. </textView>
  50. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="7nA-7v-Qj0">
  51. <rect key="frame" x="246" y="199" width="31" height="30"/>
  52. <constraints>
  53. <constraint firstAttribute="height" constant="30" id="90Y-Ng-EOb"/>
  54. <constraint firstAttribute="width" constant="31" id="nUv-tq-rho"/>
  55. </constraints>
  56. <state key="normal" title="发送">
  57. <color key="titleColor" red="0.0" green="0.97680455450000003" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  58. </state>
  59. <connections>
  60. <action selector="sendAction:" destination="iN0-l3-epB" eventType="touchUpInside" id="bBn-It-o9q"/>
  61. </connections>
  62. </button>
  63. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="jvI-rc-R89">
  64. <rect key="frame" x="16" y="98" width="268" height="49"/>
  65. <subviews>
  66. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Digest" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="2VB-O3-qGY">
  67. <rect key="frame" x="8" y="6" width="252" height="35"/>
  68. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  69. <color key="tintColor" red="0.8326586787564767" green="0.8326586787564767" blue="0.8326586787564767" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  70. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  71. <nil key="textColor"/>
  72. <nil key="highlightedColor"/>
  73. </label>
  74. </subviews>
  75. <color key="backgroundColor" red="0.90967049870466321" green="0.90967049870466321" blue="0.90967049870466321" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  76. <constraints>
  77. <constraint firstItem="2VB-O3-qGY" firstAttribute="top" secondItem="jvI-rc-R89" secondAttribute="top" constant="6" id="0Yt-dh-6Cv"/>
  78. <constraint firstAttribute="trailing" secondItem="2VB-O3-qGY" secondAttribute="trailing" constant="8" id="1Rb-wI-9nm"/>
  79. <constraint firstAttribute="bottom" secondItem="2VB-O3-qGY" secondAttribute="bottom" constant="8" id="2UQ-1c-arq"/>
  80. <constraint firstItem="2VB-O3-qGY" firstAttribute="leading" secondItem="jvI-rc-R89" secondAttribute="leading" constant="8" id="JGN-8i-zqD"/>
  81. <constraint firstAttribute="height" constant="49" id="XOp-7c-kn7"/>
  82. </constraints>
  83. </view>
  84. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="KKP-HU-5Tc">
  85. <rect key="frame" x="196" y="199" width="31" height="30"/>
  86. <constraints>
  87. <constraint firstAttribute="height" relation="greaterThanOrEqual" constant="30" id="mzj-Cz-qmd"/>
  88. <constraint firstAttribute="width" relation="greaterThanOrEqual" constant="31" id="ouN-ac-vGy"/>
  89. <constraint firstAttribute="width" constant="31" id="yH1-KF-wcv"/>
  90. <constraint firstAttribute="height" constant="30" id="zZN-Zc-WPB"/>
  91. </constraints>
  92. <state key="normal" title="取消">
  93. <color key="titleColor" cocoaTouchSystemColor="darkTextColor"/>
  94. </state>
  95. <connections>
  96. <action selector="cancelAction:" destination="iN0-l3-epB" eventType="touchUpInside" id="25P-ne-ctO"/>
  97. </connections>
  98. </button>
  99. </subviews>
  100. <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  101. <constraints>
  102. <constraint firstAttribute="trailing" secondItem="7nA-7v-Qj0" secondAttribute="trailing" constant="23" id="0zY-Iv-KZm"/>
  103. <constraint firstItem="nzK-K0-iW6" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="16" id="4NL-0l-mMt"/>
  104. <constraint firstItem="Csx-dS-1I3" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="16" id="5hV-ei-aMY"/>
  105. <constraint firstItem="jvI-rc-R89" firstAttribute="top" secondItem="Csx-dS-1I3" secondAttribute="bottom" constant="8" id="7cn-BM-nvF"/>
  106. <constraint firstItem="zpX-1J-0nB" firstAttribute="top" secondItem="jvI-rc-R89" secondAttribute="bottom" constant="8" id="ABI-Wb-hWz"/>
  107. <constraint firstItem="KKP-HU-5Tc" firstAttribute="top" secondItem="zpX-1J-0nB" secondAttribute="bottom" constant="8" id="Bwp-WJ-bH9"/>
  108. <constraint firstAttribute="trailing" secondItem="zpX-1J-0nB" secondAttribute="trailing" constant="16" id="Jmr-eq-slO"/>
  109. <constraint firstAttribute="bottom" secondItem="7nA-7v-Qj0" secondAttribute="bottom" constant="20" id="N0w-vb-q7y"/>
  110. <constraint firstItem="Csx-dS-1I3" firstAttribute="top" secondItem="nzK-K0-iW6" secondAttribute="bottom" constant="8" id="QVN-8g-PYn"/>
  111. <constraint firstAttribute="trailing" secondItem="jvI-rc-R89" secondAttribute="trailing" constant="16" id="SXs-iq-e4s"/>
  112. <constraint firstItem="nzK-K0-iW6" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" constant="16" id="Xla-I7-714"/>
  113. <constraint firstItem="zpX-1J-0nB" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="16" id="ga9-Zn-PLd"/>
  114. <constraint firstItem="7nA-7v-Qj0" firstAttribute="top" secondItem="zpX-1J-0nB" secondAttribute="bottom" constant="8" id="iAv-7d-Je3"/>
  115. <constraint firstItem="7nA-7v-Qj0" firstAttribute="leading" secondItem="KKP-HU-5Tc" secondAttribute="trailing" constant="19" id="moc-Qy-OK8"/>
  116. <constraint firstItem="jvI-rc-R89" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="16" id="wlQ-cT-liz"/>
  117. </constraints>
  118. <nil key="simulatedStatusBarMetrics"/>
  119. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  120. <connections>
  121. <outlet property="digestBackgrouView" destination="jvI-rc-R89" id="8UI-zW-dcO"/>
  122. <outlet property="digestLabel" destination="2VB-O3-qGY" id="rx6-Of-jRA"/>
  123. <outlet property="messageTextView" destination="zpX-1J-0nB" id="Uev-It-NTM"/>
  124. <outlet property="nameLabel" destination="7MK-7J-GtF" id="NEr-Hj-pF5"/>
  125. <outlet property="portraitImageView" destination="Csx-dS-1I3" id="wwV-Lk-RfF"/>
  126. </connections>
  127. <point key="canvasLocation" x="56" y="25.637181409295355"/>
  128. </view>
  129. </objects>
  130. </document>