VideoCollectionCell.xib 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="18122" 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="18093"/>
  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" reuseIdentifier="VideoCollectionCell" id="gTV-IL-0wX" customClass="VideoCollectionCell">
  13. <rect key="frame" x="0.0" y="0.0" width="167" height="234"/>
  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="167" height="234"/>
  17. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  18. <subviews>
  19. <imageView userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="1lF-iC-uJK" userLabel="封面">
  20. <rect key="frame" x="0.0" y="0.0" width="167" height="234"/>
  21. </imageView>
  22. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="5RF-o8-SSf" userLabel="价格">
  23. <rect key="frame" x="96" y="5" width="65" height="24"/>
  24. <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.20000000000000001" colorSpace="calibratedRGB"/>
  25. <constraints>
  26. <constraint firstAttribute="height" constant="24" id="8rn-6s-YUR"/>
  27. </constraints>
  28. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  29. <inset key="contentEdgeInsets" minX="10" minY="0.0" maxX="5" maxY="0.0"/>
  30. <inset key="imageEdgeInsets" minX="-5" minY="0.0" maxX="0.0" maxY="0.0"/>
  31. <state key="normal" title="Button" image="礼物-金币.png"/>
  32. <userDefinedRuntimeAttributes>
  33. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  34. <real key="value" value="12"/>
  35. </userDefinedRuntimeAttribute>
  36. </userDefinedRuntimeAttributes>
  37. </button>
  38. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="3wz-87-zot">
  39. <rect key="frame" x="0.0" y="201" width="167" height="33"/>
  40. <subviews>
  41. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="pub_bot_shadow.png" translatesAutoresizingMaskIntoConstraints="NO" id="zoS-oC-qUN" userLabel="阴影">
  42. <rect key="frame" x="0.0" y="0.0" width="167" height="33"/>
  43. </imageView>
  44. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="VNl-Ls-rA5" userLabel="用户头像">
  45. <rect key="frame" x="5" y="7" width="24" height="24"/>
  46. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
  47. <constraints>
  48. <constraint firstAttribute="width" secondItem="VNl-Ls-rA5" secondAttribute="height" multiplier="1:1" id="kcq-Pf-KpF"/>
  49. </constraints>
  50. </imageView>
  51. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" horizontalCompressionResistancePriority="749" text="哈哈哈哈哈哈哈哈" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="af1-Y2-1Nh" userLabel="用户名称">
  52. <rect key="frame" x="31.5" y="10.5" width="87.5" height="17"/>
  53. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  54. <color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  55. <nil key="highlightedColor"/>
  56. </label>
  57. <imageView hidden="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" horizontalCompressionResistancePriority="749" image="定位小图标" translatesAutoresizingMaskIntoConstraints="NO" id="0cp-dc-xEA" userLabel="定位图片">
  58. <rect key="frame" x="119" y="13" width="12" height="12"/>
  59. <constraints>
  60. <constraint firstAttribute="width" constant="12" id="EuN-C9-BL7"/>
  61. <constraint firstAttribute="height" constant="12" id="oaL-DV-Bo1"/>
  62. </constraints>
  63. </imageView>
  64. <label hidden="YES" opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="66km" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Qvv-PB-aFY" userLabel="距离">
  65. <rect key="frame" x="132" y="7" width="30" height="24"/>
  66. <fontDescription key="fontDescription" type="system" pointSize="11"/>
  67. <color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  68. <nil key="highlightedColor"/>
  69. </label>
  70. </subviews>
  71. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  72. <constraints>
  73. <constraint firstItem="zoS-oC-qUN" firstAttribute="height" secondItem="3wz-87-zot" secondAttribute="height" id="1qu-sg-TK4"/>
  74. <constraint firstItem="af1-Y2-1Nh" firstAttribute="centerY" secondItem="VNl-Ls-rA5" secondAttribute="centerY" id="2PM-Lh-1Ag"/>
  75. <constraint firstItem="VNl-Ls-rA5" firstAttribute="centerY" secondItem="3wz-87-zot" secondAttribute="centerY" constant="2.5" id="5KT-Lx-aK8"/>
  76. <constraint firstItem="0cp-dc-xEA" firstAttribute="height" secondItem="Qvv-PB-aFY" secondAttribute="height" multiplier="0.5" id="8Ld-LQ-Mab"/>
  77. <constraint firstItem="Qvv-PB-aFY" firstAttribute="height" secondItem="VNl-Ls-rA5" secondAttribute="height" id="CkO-oc-vj6"/>
  78. <constraint firstItem="Qvv-PB-aFY" firstAttribute="centerY" secondItem="VNl-Ls-rA5" secondAttribute="centerY" id="Dul-hU-eHd"/>
  79. <constraint firstItem="0cp-dc-xEA" firstAttribute="centerY" secondItem="Qvv-PB-aFY" secondAttribute="centerY" id="Mxf-dy-7Uo"/>
  80. <constraint firstItem="zoS-oC-qUN" firstAttribute="width" secondItem="3wz-87-zot" secondAttribute="width" id="awl-CE-STo"/>
  81. <constraint firstItem="zoS-oC-qUN" firstAttribute="centerY" secondItem="3wz-87-zot" secondAttribute="centerY" id="i7Q-Cp-2j7"/>
  82. <constraint firstItem="Qvv-PB-aFY" firstAttribute="leading" secondItem="0cp-dc-xEA" secondAttribute="trailing" constant="1" id="lIZ-dd-JnZ"/>
  83. <constraint firstItem="zoS-oC-qUN" firstAttribute="centerX" secondItem="3wz-87-zot" secondAttribute="centerX" id="oOe-rT-vCI"/>
  84. <constraint firstAttribute="trailing" secondItem="Qvv-PB-aFY" secondAttribute="trailing" constant="5" id="qsg-6D-PMR"/>
  85. <constraint firstItem="VNl-Ls-rA5" firstAttribute="leading" secondItem="3wz-87-zot" secondAttribute="leading" constant="5" id="rSb-I3-xQM"/>
  86. <constraint firstItem="af1-Y2-1Nh" firstAttribute="leading" secondItem="VNl-Ls-rA5" secondAttribute="trailing" constant="2.5" id="vLe-FR-xSP"/>
  87. <constraint firstItem="0cp-dc-xEA" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="af1-Y2-1Nh" secondAttribute="trailing" id="xUm-32-QdE"/>
  88. </constraints>
  89. </view>
  90. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="哈哈哈哈哈时代峻峰快乐发表发的" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="1ae-Xt-4G0" userLabel="标题">
  91. <rect key="frame" x="5" y="165" width="157" height="36"/>
  92. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  93. <color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  94. <nil key="highlightedColor"/>
  95. </label>
  96. <imageView hidden="YES" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="4BZ-Ku-HMS">
  97. <rect key="frame" x="10" y="10" width="30" height="30"/>
  98. <constraints>
  99. <constraint firstAttribute="width" constant="30" id="3wg-kT-5fD"/>
  100. <constraint firstAttribute="height" constant="30" id="AID-dI-IDn"/>
  101. </constraints>
  102. </imageView>
  103. </subviews>
  104. </view>
  105. <constraints>
  106. <constraint firstItem="4BZ-Ku-HMS" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" constant="10" id="319-we-FEK"/>
  107. <constraint firstItem="3wz-87-zot" firstAttribute="leading" secondItem="1lF-iC-uJK" secondAttribute="leading" id="8Gv-on-NXz"/>
  108. <constraint firstItem="3wz-87-zot" firstAttribute="trailing" secondItem="1lF-iC-uJK" secondAttribute="trailing" id="Ira-Vn-EZg"/>
  109. <constraint firstItem="1ae-Xt-4G0" firstAttribute="leading" secondItem="1lF-iC-uJK" secondAttribute="leading" constant="5" id="Jg6-DJ-EWO"/>
  110. <constraint firstItem="1ae-Xt-4G0" firstAttribute="trailing" secondItem="1lF-iC-uJK" secondAttribute="trailing" constant="-5" id="LFW-Rl-T8S"/>
  111. <constraint firstItem="1lF-iC-uJK" firstAttribute="centerY" secondItem="gTV-IL-0wX" secondAttribute="centerY" id="OYg-Nd-leJ"/>
  112. <constraint firstItem="4BZ-Ku-HMS" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="10" id="VLS-iN-d6m"/>
  113. <constraint firstItem="5RF-o8-SSf" firstAttribute="trailing" secondItem="1lF-iC-uJK" secondAttribute="trailing" constant="-6" id="YiT-DY-EQ2"/>
  114. <constraint firstItem="3wz-87-zot" firstAttribute="height" secondItem="1lF-iC-uJK" secondAttribute="height" multiplier="0.14" id="ehO-Os-LPG"/>
  115. <constraint firstItem="1lF-iC-uJK" firstAttribute="width" secondItem="gTV-IL-0wX" secondAttribute="width" id="fax-a4-DTM"/>
  116. <constraint firstItem="3wz-87-zot" firstAttribute="top" secondItem="1ae-Xt-4G0" secondAttribute="bottom" id="iOE-DX-Aes"/>
  117. <constraint firstItem="1lF-iC-uJK" firstAttribute="centerX" secondItem="gTV-IL-0wX" secondAttribute="centerX" id="isT-zr-lHm"/>
  118. <constraint firstItem="5RF-o8-SSf" firstAttribute="top" secondItem="1lF-iC-uJK" secondAttribute="top" constant="5" id="qvP-rz-DR4"/>
  119. <constraint firstItem="1lF-iC-uJK" firstAttribute="height" secondItem="gTV-IL-0wX" secondAttribute="height" id="xwY-Eb-Dmz"/>
  120. <constraint firstItem="3wz-87-zot" firstAttribute="bottom" secondItem="1lF-iC-uJK" secondAttribute="bottom" id="zDz-rb-baY"/>
  121. </constraints>
  122. <size key="customSize" width="167" height="234"/>
  123. <connections>
  124. <outlet property="bgImageV" destination="1lF-iC-uJK" id="zOB-NK-mbW"/>
  125. <outlet property="bottomView" destination="3wz-87-zot" id="41b-9o-mWT"/>
  126. <outlet property="distanceImage" destination="0cp-dc-xEA" id="sMi-Wl-nHl"/>
  127. <outlet property="distanceLabel" destination="Qvv-PB-aFY" id="dOL-YW-va7"/>
  128. <outlet property="titleLabel" destination="1ae-Xt-4G0" id="S6c-Mr-c29"/>
  129. <outlet property="userAvatar" destination="VNl-Ls-rA5" id="pq7-Uo-FI9"/>
  130. <outlet property="usernameLabel" destination="af1-Y2-1Nh" id="bep-f0-g0S"/>
  131. <outlet property="videoCoinBtn" destination="5RF-o8-SSf" id="LyL-Zz-5bS"/>
  132. <outlet property="videoImgType" destination="4BZ-Ku-HMS" id="ccN-g9-4dk"/>
  133. </connections>
  134. <point key="canvasLocation" x="0.80000000000000004" y="182.60869565217394"/>
  135. </collectionViewCell>
  136. </objects>
  137. <resources>
  138. <image name="pub_bot_shadow.png" width="186" height="40"/>
  139. <image name="定位小图标" width="32" height="32"/>
  140. <image name="礼物-金币.png" width="12" height="12"/>
  141. </resources>
  142. </document>