MsgTopPubCell.xib 8.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="21701" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
  3. <device id="retina4_7" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21679"/>
  7. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  8. </dependencies>
  9. <objects>
  10. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  11. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  12. <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="98" id="KGk-i7-Jjw" customClass="MsgTopPubCell">
  13. <rect key="frame" x="0.0" y="0.0" width="354" height="98"/>
  14. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  15. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
  16. <rect key="frame" x="0.0" y="0.0" width="354" height="98"/>
  17. <autoresizingMask key="autoresizingMask"/>
  18. <subviews>
  19. <button opaque="NO" clearsContextBeforeDrawing="NO" contentMode="scaleAspectFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="JFD-ND-x63" userLabel="头像">
  20. <rect key="frame" x="15" y="19" width="60" height="60"/>
  21. <constraints>
  22. <constraint firstAttribute="width" secondItem="JFD-ND-x63" secondAttribute="height" multiplier="1:1" id="59v-Qb-crw"/>
  23. <constraint firstAttribute="width" constant="60" id="fiC-PQ-8Yv"/>
  24. </constraints>
  25. <connections>
  26. <action selector="clickIconBtn:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="Aes-wn-vbg"/>
  27. </connections>
  28. </button>
  29. <button opaque="NO" clipsSubviews="YES" contentMode="scaleAspectFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="7rf-EW-wsx" userLabel="视频封面">
  30. <rect key="frame" x="264" y="16.5" width="75" height="65"/>
  31. <constraints>
  32. <constraint firstAttribute="height" constant="65" id="2bo-ch-1jr"/>
  33. <constraint firstAttribute="width" constant="75" id="bN2-Gi-qSY"/>
  34. </constraints>
  35. <connections>
  36. <action selector="clickCoverBtn:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="4qL-co-SAF"/>
  37. </connections>
  38. </button>
  39. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="3" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="FIC-zs-iqr" userLabel="内容">
  40. <rect key="frame" x="90" y="16.5" width="159" height="30"/>
  41. <constraints>
  42. <constraint firstAttribute="height" relation="greaterThanOrEqual" constant="30" id="vya-4z-DGh"/>
  43. </constraints>
  44. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  45. <color key="textColor" white="0.33333333333333331" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  46. <nil key="highlightedColor"/>
  47. </label>
  48. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="yhb-jD-y8d" userLabel="时间">
  49. <rect key="frame" x="90" y="46.5" width="33" height="20"/>
  50. <constraints>
  51. <constraint firstAttribute="height" constant="20" id="G2i-fg-7My"/>
  52. </constraints>
  53. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  54. <color key="textColor" red="0.54901960780000003" green="0.54901960780000003" blue="0.54901960780000003" alpha="1" colorSpace="calibratedRGB"/>
  55. <nil key="highlightedColor"/>
  56. </label>
  57. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="PyT-SG-oey" userLabel="线">
  58. <rect key="frame" x="15" y="97" width="324" height="0.5"/>
  59. <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
  60. <constraints>
  61. <constraint firstAttribute="height" constant="0.5" id="xq0-Qa-7La"/>
  62. </constraints>
  63. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  64. <nil key="textColor"/>
  65. <nil key="highlightedColor"/>
  66. </label>
  67. </subviews>
  68. <constraints>
  69. <constraint firstItem="7rf-EW-wsx" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="1E1-dI-phc"/>
  70. <constraint firstItem="yhb-jD-y8d" firstAttribute="top" secondItem="FIC-zs-iqr" secondAttribute="bottom" id="CUD-8E-hx4"/>
  71. <constraint firstItem="FIC-zs-iqr" firstAttribute="top" secondItem="7rf-EW-wsx" secondAttribute="top" id="CgY-Er-JmR"/>
  72. <constraint firstItem="JFD-ND-x63" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="GjA-8g-dGn"/>
  73. <constraint firstItem="JFD-ND-x63" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="15" id="LJY-uF-LM0"/>
  74. <constraint firstItem="FIC-zs-iqr" firstAttribute="trailing" secondItem="7rf-EW-wsx" secondAttribute="leading" constant="-15" id="Uhd-yL-inc"/>
  75. <constraint firstAttribute="trailing" secondItem="7rf-EW-wsx" secondAttribute="trailing" constant="15" id="clC-mr-hOk"/>
  76. <constraint firstItem="PyT-SG-oey" firstAttribute="width" secondItem="H2p-sc-9uM" secondAttribute="width" constant="-30" id="nHt-UY-osU"/>
  77. <constraint firstItem="PyT-SG-oey" firstAttribute="centerX" secondItem="H2p-sc-9uM" secondAttribute="centerX" id="oqg-QG-BWI"/>
  78. <constraint firstItem="FIC-zs-iqr" firstAttribute="leading" secondItem="JFD-ND-x63" secondAttribute="trailing" constant="15" id="vVb-yn-vZm"/>
  79. <constraint firstItem="yhb-jD-y8d" firstAttribute="leading" secondItem="FIC-zs-iqr" secondAttribute="leading" id="xC8-QN-8Gv"/>
  80. <constraint firstAttribute="bottom" secondItem="PyT-SG-oey" secondAttribute="bottom" constant="0.5" id="yeQ-As-9WY"/>
  81. </constraints>
  82. </tableViewCellContentView>
  83. <connections>
  84. <outlet property="contentL" destination="FIC-zs-iqr" id="zEw-sS-KhT"/>
  85. <outlet property="coverBtn" destination="7rf-EW-wsx" id="hcb-e5-f2w"/>
  86. <outlet property="iconBtn" destination="JFD-ND-x63" id="oHk-9X-vDf"/>
  87. <outlet property="timeL" destination="yhb-jD-y8d" id="nhE-FM-6Y1"/>
  88. </connections>
  89. <point key="canvasLocation" x="45" y="121"/>
  90. </tableViewCell>
  91. </objects>
  92. </document>