YXMsgDetailTableViewCell.xib 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="22505" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
  3. <device id="retina6_12" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="22504"/>
  7. <capability name="Safe area layout guides" minToolsVersion="9.0"/>
  8. <capability name="System colors in document resources" minToolsVersion="11.0"/>
  9. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  10. </dependencies>
  11. <objects>
  12. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  13. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  14. <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="87" id="KGk-i7-Jjw" customClass="YXMsgDetailTableViewCell">
  15. <rect key="frame" x="0.0" y="0.0" width="446" height="87"/>
  16. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  17. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
  18. <rect key="frame" x="0.0" y="0.0" width="446" height="87"/>
  19. <autoresizingMask key="autoresizingMask"/>
  20. <subviews>
  21. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="RQo-LV-BxI">
  22. <rect key="frame" x="15" y="5" width="416" height="77"/>
  23. <subviews>
  24. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="系统消息" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="FDQ-tm-rE5">
  25. <rect key="frame" x="20" y="15" width="226" height="20"/>
  26. <constraints>
  27. <constraint firstAttribute="height" constant="20" id="gp1-cC-QfR"/>
  28. </constraints>
  29. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  30. <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
  31. <nil key="highlightedColor"/>
  32. </label>
  33. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="天气通知、系统提醒" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Rfp-GC-c1L">
  34. <rect key="frame" x="20" y="40" width="316" height="20"/>
  35. <constraints>
  36. <constraint firstAttribute="height" constant="20" id="EYE-0U-ubG"/>
  37. </constraints>
  38. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  39. <color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
  40. <nil key="highlightedColor"/>
  41. </label>
  42. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="2月14日" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="j5t-Fc-184">
  43. <rect key="frame" x="251" y="15" width="150" height="20"/>
  44. <constraints>
  45. <constraint firstAttribute="height" constant="20" id="Jg5-Bo-sRt"/>
  46. <constraint firstAttribute="width" constant="150" id="hOT-DZ-Tsk"/>
  47. </constraints>
  48. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  49. <color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
  50. <nil key="highlightedColor"/>
  51. </label>
  52. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Nyy-Ss-NvC">
  53. <rect key="frame" x="393" y="46" width="8" height="8"/>
  54. <color key="backgroundColor" red="0.89803921568627454" green="0.0" blue="0.13725490196078433" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  55. <constraints>
  56. <constraint firstAttribute="height" constant="8" id="3fR-BF-ZMD"/>
  57. <constraint firstAttribute="width" constant="8" id="Pl2-VJ-lgn"/>
  58. </constraints>
  59. <userDefinedRuntimeAttributes>
  60. <userDefinedRuntimeAttribute type="string" keyPath="layer.cornerRadius" value="4"/>
  61. </userDefinedRuntimeAttributes>
  62. </view>
  63. </subviews>
  64. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  65. <constraints>
  66. <constraint firstItem="j5t-Fc-184" firstAttribute="leading" secondItem="FDQ-tm-rE5" secondAttribute="trailing" constant="5" id="0Uj-kV-8NF"/>
  67. <constraint firstItem="Nyy-Ss-NvC" firstAttribute="centerY" secondItem="Rfp-GC-c1L" secondAttribute="centerY" id="Asa-tV-VRI"/>
  68. <constraint firstItem="j5t-Fc-184" firstAttribute="top" secondItem="RQo-LV-BxI" secondAttribute="top" constant="15" id="LDB-fp-0yB"/>
  69. <constraint firstItem="Rfp-GC-c1L" firstAttribute="top" secondItem="FDQ-tm-rE5" secondAttribute="bottom" constant="5" id="NYp-EQ-lKj"/>
  70. <constraint firstItem="FDQ-tm-rE5" firstAttribute="top" secondItem="RQo-LV-BxI" secondAttribute="top" constant="15" id="btx-up-eLn"/>
  71. <constraint firstItem="Rfp-GC-c1L" firstAttribute="leading" secondItem="FDQ-tm-rE5" secondAttribute="leading" id="cMF-Bh-VwA"/>
  72. <constraint firstAttribute="trailing" secondItem="Rfp-GC-c1L" secondAttribute="trailing" constant="80" id="oJc-gq-x9m"/>
  73. <constraint firstAttribute="trailing" secondItem="Nyy-Ss-NvC" secondAttribute="trailing" constant="15" id="qJw-jQ-BA1"/>
  74. <constraint firstAttribute="trailing" secondItem="j5t-Fc-184" secondAttribute="trailing" constant="15" id="sPn-3J-Eoz"/>
  75. <constraint firstItem="FDQ-tm-rE5" firstAttribute="leading" secondItem="RQo-LV-BxI" secondAttribute="leading" constant="20" id="uLg-UL-dAd"/>
  76. </constraints>
  77. <userDefinedRuntimeAttributes>
  78. <userDefinedRuntimeAttribute type="string" keyPath="layer.cornerRadius" value="8"/>
  79. </userDefinedRuntimeAttributes>
  80. </view>
  81. </subviews>
  82. <constraints>
  83. <constraint firstItem="RQo-LV-BxI" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="5" id="n8b-kz-ov6"/>
  84. <constraint firstAttribute="trailing" secondItem="RQo-LV-BxI" secondAttribute="trailing" constant="15" id="oPt-CQ-lbL"/>
  85. <constraint firstAttribute="bottom" secondItem="RQo-LV-BxI" secondAttribute="bottom" constant="5" id="sgr-XE-5aT"/>
  86. <constraint firstItem="RQo-LV-BxI" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="15" id="xBm-nU-nmZ"/>
  87. </constraints>
  88. </tableViewCellContentView>
  89. <viewLayoutGuide key="safeArea" id="aW0-zy-SZf"/>
  90. <connections>
  91. <outlet property="colorView" destination="Nyy-Ss-NvC" id="eBH-ES-Mbf"/>
  92. <outlet property="detailLabel" destination="Rfp-GC-c1L" id="xRl-3N-LgS"/>
  93. <outlet property="timeLabel" destination="j5t-Fc-184" id="oeb-lZ-K1I"/>
  94. <outlet property="titleLabel" destination="FDQ-tm-rE5" id="thO-OW-c9p"/>
  95. </connections>
  96. <point key="canvasLocation" x="167.93893129770993" y="34.859154929577464"/>
  97. </tableViewCell>
  98. </objects>
  99. <resources>
  100. <systemColor name="systemBackgroundColor">
  101. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  102. </systemColor>
  103. </resources>
  104. </document>