PlayBackCell.xib 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="17701" 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="17703"/>
  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. <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" id="gTV-IL-0wX" customClass="PlayBackCell">
  13. <rect key="frame" x="0.0" y="0.0" width="150" height="150"/>
  14. <autoresizingMask key="autoresizingMask"/>
  15. <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
  16. <rect key="frame" x="0.0" y="0.0" width="150" height="150"/>
  17. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  18. <subviews>
  19. <imageView userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="0JP-hJ-6dK">
  20. <rect key="frame" x="0.0" y="0.0" width="150" height="150"/>
  21. <constraints>
  22. <constraint firstAttribute="width" secondItem="0JP-hJ-6dK" secondAttribute="height" multiplier="1:1" id="Rwy-GJ-DGN"/>
  23. </constraints>
  24. </imageView>
  25. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="精彩回放" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="6Pq-DA-2jt">
  26. <rect key="frame" x="10" y="10" width="60" height="16"/>
  27. <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.30179907570422537" colorSpace="custom" customColorSpace="sRGB"/>
  28. <constraints>
  29. <constraint firstAttribute="width" constant="60" id="LMa-74-8pO"/>
  30. </constraints>
  31. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  32. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  33. <nil key="highlightedColor"/>
  34. <userDefinedRuntimeAttributes>
  35. <userDefinedRuntimeAttribute type="color" keyPath="layer.borderColor">
  36. <color key="value" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  37. </userDefinedRuntimeAttribute>
  38. <userDefinedRuntimeAttribute type="number" keyPath="layer.borderWidth">
  39. <integer key="value" value="1"/>
  40. </userDefinedRuntimeAttribute>
  41. <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/>
  42. <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
  43. <real key="value" value="7.5"/>
  44. </userDefinedRuntimeAttribute>
  45. </userDefinedRuntimeAttributes>
  46. </label>
  47. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="hm_gradient_black_back" translatesAutoresizingMaskIntoConstraints="NO" id="PUB-dl-vFh">
  48. <rect key="frame" x="0.0" y="50" width="150" height="100"/>
  49. <constraints>
  50. <constraint firstAttribute="height" constant="100" id="xuh-ZP-Zul"/>
  51. </constraints>
  52. </imageView>
  53. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="fw_play_num" translatesAutoresizingMaskIntoConstraints="NO" id="lNX-Ur-Twm">
  54. <rect key="frame" x="104" y="14" width="13" height="8"/>
  55. <constraints>
  56. <constraint firstAttribute="height" constant="8" id="hOU-YC-sJR"/>
  57. <constraint firstAttribute="width" constant="13" id="sgL-MS-ANu"/>
  58. </constraints>
  59. </imageView>
  60. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="111" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Qvs-oO-zpk">
  61. <rect key="frame" x="122" y="10" width="18" height="16"/>
  62. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  63. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  64. <nil key="highlightedColor"/>
  65. </label>
  66. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="昵称" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="wQE-4j-ep8">
  67. <rect key="frame" x="10" y="101" width="130" height="18"/>
  68. <fontDescription key="fontDescription" type="boldSystem" pointSize="15"/>
  69. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  70. <nil key="highlightedColor"/>
  71. </label>
  72. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="说点什么" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="3Mv-3G-R5k">
  73. <rect key="frame" x="10" y="124" width="54" height="16"/>
  74. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  75. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  76. <nil key="highlightedColor"/>
  77. </label>
  78. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="几分钟前" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="sOu-ed-HUs">
  79. <rect key="frame" x="86" y="124" width="54" height="16"/>
  80. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  81. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  82. <nil key="highlightedColor"/>
  83. </label>
  84. </subviews>
  85. </view>
  86. <constraints>
  87. <constraint firstAttribute="bottom" secondItem="sOu-ed-HUs" secondAttribute="bottom" constant="10" id="0hE-Mf-qR4"/>
  88. <constraint firstItem="Qvs-oO-zpk" firstAttribute="leading" secondItem="lNX-Ur-Twm" secondAttribute="trailing" constant="5" id="0zn-c0-HGe"/>
  89. <constraint firstItem="wQE-4j-ep8" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="10" id="1da-eE-egc"/>
  90. <constraint firstAttribute="bottom" secondItem="PUB-dl-vFh" secondAttribute="bottom" id="46A-pw-YKf"/>
  91. <constraint firstAttribute="bottom" secondItem="3Mv-3G-R5k" secondAttribute="bottom" constant="10" id="9Xe-i2-12i"/>
  92. <constraint firstAttribute="trailing" secondItem="PUB-dl-vFh" secondAttribute="trailing" id="BNQ-ly-k4t"/>
  93. <constraint firstItem="3Mv-3G-R5k" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="10" id="CoO-Uf-c28"/>
  94. <constraint firstItem="PUB-dl-vFh" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="Lz5-0A-Gc9"/>
  95. <constraint firstAttribute="bottom" secondItem="0JP-hJ-6dK" secondAttribute="bottom" id="MMa-qy-3fH"/>
  96. <constraint firstItem="lNX-Ur-Twm" firstAttribute="centerY" secondItem="Qvs-oO-zpk" secondAttribute="centerY" id="PRC-ty-zsQ"/>
  97. <constraint firstItem="Qvs-oO-zpk" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" constant="10" id="X6s-aM-CaE"/>
  98. <constraint firstItem="3Mv-3G-R5k" firstAttribute="top" secondItem="wQE-4j-ep8" secondAttribute="bottom" constant="5" id="avW-m9-4Rf"/>
  99. <constraint firstItem="6Pq-DA-2jt" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="10" id="az3-u2-4sC"/>
  100. <constraint firstAttribute="trailing" secondItem="sOu-ed-HUs" secondAttribute="trailing" constant="10" id="b7v-CZ-xFN"/>
  101. <constraint firstAttribute="trailing" secondItem="Qvs-oO-zpk" secondAttribute="trailing" constant="10" id="cz9-TN-hPv"/>
  102. <constraint firstAttribute="trailing" secondItem="wQE-4j-ep8" secondAttribute="trailing" constant="10" id="jsI-e9-vRX"/>
  103. <constraint firstAttribute="trailing" secondItem="0JP-hJ-6dK" secondAttribute="trailing" id="sGk-lc-eQl"/>
  104. <constraint firstItem="0JP-hJ-6dK" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" id="xcH-wg-olF"/>
  105. <constraint firstItem="6Pq-DA-2jt" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" constant="10" id="yWx-SJ-srv"/>
  106. <constraint firstItem="0JP-hJ-6dK" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="ylD-AF-QKG"/>
  107. </constraints>
  108. <size key="customSize" width="150" height="150"/>
  109. <connections>
  110. <outlet property="contentLabel" destination="3Mv-3G-R5k" id="QNY-c5-Krw"/>
  111. <outlet property="imageView" destination="0JP-hJ-6dK" id="ADt-ZB-DSc"/>
  112. <outlet property="nameLabel" destination="wQE-4j-ep8" id="Ov4-RH-QvN"/>
  113. <outlet property="timeLabel" destination="sOu-ed-HUs" id="Tiv-aU-wsR"/>
  114. <outlet property="watchCountLabel" destination="Qvs-oO-zpk" id="RpV-h7-29k"/>
  115. </connections>
  116. <point key="canvasLocation" x="220.80000000000001" y="174.51274362818592"/>
  117. </collectionViewCell>
  118. </objects>
  119. <resources>
  120. <image name="fw_play_num" width="13" height="8"/>
  121. <image name="hm_gradient_black_back" width="280.5" height="262.5"/>
  122. </resources>
  123. </document>