HomeHotVideoCell.xib 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="23504" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
  3. <device id="retina6_1" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="23506"/>
  7. <capability name="System colors in document resources" minToolsVersion="11.0"/>
  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. <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" id="gTV-IL-0wX" customClass="HomeHotVideoCell">
  14. <rect key="frame" x="0.0" y="0.0" width="168" height="158"/>
  15. <autoresizingMask key="autoresizingMask"/>
  16. <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
  17. <rect key="frame" x="0.0" y="0.0" width="168" height="158"/>
  18. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  19. <subviews>
  20. <view contentMode="scaleAspectFit" translatesAutoresizingMaskIntoConstraints="NO" id="Z9Y-DS-o2S">
  21. <rect key="frame" x="0.0" y="0.0" width="168" height="158"/>
  22. <subviews>
  23. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="wTC-8E-ugs">
  24. <rect key="frame" x="0.0" y="0.0" width="168" height="93"/>
  25. <constraints>
  26. <constraint firstAttribute="height" constant="93" id="1MD-pj-b6f"/>
  27. </constraints>
  28. </imageView>
  29. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="iEG-bR-UaR">
  30. <rect key="frame" x="6" y="6" width="28" height="14"/>
  31. <subviews>
  32. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="长笛" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="t7Q-dI-DuS">
  33. <rect key="frame" x="4" y="0.0" width="20" height="14"/>
  34. <fontDescription key="fontDescription" type="system" pointSize="10"/>
  35. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  36. <nil key="highlightedColor"/>
  37. </label>
  38. </subviews>
  39. <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.40000000000000002" colorSpace="custom" customColorSpace="sRGB"/>
  40. <constraints>
  41. <constraint firstAttribute="bottom" secondItem="t7Q-dI-DuS" secondAttribute="bottom" id="To8-wX-JuA"/>
  42. <constraint firstAttribute="height" constant="14" id="YU1-55-lOr"/>
  43. <constraint firstItem="t7Q-dI-DuS" firstAttribute="top" secondItem="iEG-bR-UaR" secondAttribute="top" id="bTC-uv-MHS"/>
  44. <constraint firstItem="t7Q-dI-DuS" firstAttribute="leading" secondItem="iEG-bR-UaR" secondAttribute="leading" constant="4" id="mSr-sM-8gc"/>
  45. <constraint firstAttribute="trailing" secondItem="t7Q-dI-DuS" secondAttribute="trailing" constant="4" id="whh-ZK-qOD"/>
  46. </constraints>
  47. <userDefinedRuntimeAttributes>
  48. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  49. <real key="value" value="3"/>
  50. </userDefinedRuntimeAttribute>
  51. </userDefinedRuntimeAttributes>
  52. </view>
  53. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="热门歌曲…" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="4KZ-pa-CpR">
  54. <rect key="frame" x="12" y="99" width="144" height="21"/>
  55. <constraints>
  56. <constraint firstAttribute="height" constant="21" id="lao-V8-wfX"/>
  57. </constraints>
  58. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="15"/>
  59. <color key="textColor" red="0.074509803921568626" green="0.078431372549019607" blue="0.082352941176470587" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  60. <nil key="highlightedColor"/>
  61. </label>
  62. <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="4Ny-Ee-haR">
  63. <rect key="frame" x="36" y="127" width="0.0" height="18"/>
  64. <constraints>
  65. <constraint firstAttribute="height" constant="18" id="9hf-10-cyt"/>
  66. </constraints>
  67. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  68. <color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
  69. <nil key="highlightedColor"/>
  70. </label>
  71. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="UwQ-iN-CHQ">
  72. <rect key="frame" x="101.5" y="126.5" width="54.5" height="19"/>
  73. <subviews>
  74. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="12人学习" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="kAl-tc-ntC">
  75. <rect key="frame" x="2" y="2.5" width="50.5" height="14.5"/>
  76. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  77. <color key="textColor" red="1" green="0.40784313725490196" blue="0.15294117647058825" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  78. <nil key="highlightedColor"/>
  79. </label>
  80. </subviews>
  81. <color key="backgroundColor" red="1" green="0.50196078431372548" blue="0.17254901960784313" alpha="0.070000000000000007" colorSpace="custom" customColorSpace="sRGB"/>
  82. <constraints>
  83. <constraint firstItem="kAl-tc-ntC" firstAttribute="centerY" secondItem="UwQ-iN-CHQ" secondAttribute="centerY" id="UlY-8z-c9f"/>
  84. <constraint firstItem="kAl-tc-ntC" firstAttribute="leading" secondItem="UwQ-iN-CHQ" secondAttribute="leading" constant="2" id="XbR-Bk-nwH"/>
  85. <constraint firstAttribute="height" constant="19" id="aVy-LG-dXa"/>
  86. <constraint firstAttribute="trailing" secondItem="kAl-tc-ntC" secondAttribute="trailing" constant="2" id="kQH-FX-Ek1"/>
  87. </constraints>
  88. <userDefinedRuntimeAttributes>
  89. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  90. <real key="value" value="2"/>
  91. </userDefinedRuntimeAttribute>
  92. </userDefinedRuntimeAttributes>
  93. </view>
  94. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="beY-9e-YS4">
  95. <rect key="frame" x="12" y="126" width="20" height="20"/>
  96. <constraints>
  97. <constraint firstAttribute="height" constant="20" id="XDf-1n-aB1"/>
  98. <constraint firstAttribute="width" constant="20" id="s4R-QM-XyC"/>
  99. </constraints>
  100. <userDefinedRuntimeAttributes>
  101. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  102. <real key="value" value="10"/>
  103. </userDefinedRuntimeAttribute>
  104. </userDefinedRuntimeAttributes>
  105. </imageView>
  106. </subviews>
  107. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  108. <constraints>
  109. <constraint firstAttribute="trailing" secondItem="wTC-8E-ugs" secondAttribute="trailing" id="3D0-1L-YuS"/>
  110. <constraint firstItem="4Ny-Ee-haR" firstAttribute="centerY" secondItem="beY-9e-YS4" secondAttribute="centerY" id="5N8-LS-RoX"/>
  111. <constraint firstItem="4KZ-pa-CpR" firstAttribute="leading" secondItem="Z9Y-DS-o2S" secondAttribute="leading" constant="12" id="ARz-lR-bqo"/>
  112. <constraint firstItem="4Ny-Ee-haR" firstAttribute="leading" secondItem="beY-9e-YS4" secondAttribute="trailing" constant="4" id="AeB-3j-gFI"/>
  113. <constraint firstItem="wTC-8E-ugs" firstAttribute="leading" secondItem="Z9Y-DS-o2S" secondAttribute="leading" id="Cz7-tf-l2g"/>
  114. <constraint firstItem="iEG-bR-UaR" firstAttribute="top" secondItem="Z9Y-DS-o2S" secondAttribute="top" constant="6" id="ESb-5A-bp8"/>
  115. <constraint firstItem="wTC-8E-ugs" firstAttribute="top" secondItem="Z9Y-DS-o2S" secondAttribute="top" id="HLD-wW-9Jh"/>
  116. <constraint firstAttribute="trailing" secondItem="UwQ-iN-CHQ" secondAttribute="trailing" constant="12" id="Soz-FZ-FGc"/>
  117. <constraint firstItem="iEG-bR-UaR" firstAttribute="leading" secondItem="Z9Y-DS-o2S" secondAttribute="leading" constant="6" id="T2f-qa-HN9"/>
  118. <constraint firstItem="4Ny-Ee-haR" firstAttribute="centerY" secondItem="UwQ-iN-CHQ" secondAttribute="centerY" id="Thf-Qt-6KH"/>
  119. <constraint firstItem="beY-9e-YS4" firstAttribute="top" secondItem="4KZ-pa-CpR" secondAttribute="bottom" constant="6" id="cNg-21-Uzv"/>
  120. <constraint firstItem="beY-9e-YS4" firstAttribute="leading" secondItem="Z9Y-DS-o2S" secondAttribute="leading" constant="12" id="kYD-cs-CXc"/>
  121. <constraint firstItem="4KZ-pa-CpR" firstAttribute="top" secondItem="wTC-8E-ugs" secondAttribute="bottom" constant="6" id="n8d-1d-I45"/>
  122. <constraint firstItem="UwQ-iN-CHQ" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="4Ny-Ee-haR" secondAttribute="trailing" constant="5" id="s36-Nv-HfG"/>
  123. <constraint firstAttribute="trailing" secondItem="4KZ-pa-CpR" secondAttribute="trailing" constant="12" id="xmO-bF-zUB"/>
  124. </constraints>
  125. <userDefinedRuntimeAttributes>
  126. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  127. <real key="value" value="6"/>
  128. </userDefinedRuntimeAttribute>
  129. </userDefinedRuntimeAttributes>
  130. </view>
  131. </subviews>
  132. </view>
  133. <constraints>
  134. <constraint firstAttribute="bottom" secondItem="Z9Y-DS-o2S" secondAttribute="bottom" id="6bd-bt-lLy"/>
  135. <constraint firstItem="Z9Y-DS-o2S" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" id="8EY-rY-zVf"/>
  136. <constraint firstItem="Z9Y-DS-o2S" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="D5y-CV-jga"/>
  137. <constraint firstAttribute="trailing" secondItem="Z9Y-DS-o2S" secondAttribute="trailing" id="ZB7-Gj-aCl"/>
  138. </constraints>
  139. <size key="customSize" width="294" height="193"/>
  140. <connections>
  141. <outlet property="countLabel" destination="kAl-tc-ntC" id="nlN-Js-BZG"/>
  142. <outlet property="courseName" destination="4KZ-pa-CpR" id="FF1-fh-P98"/>
  143. <outlet property="coverImage" destination="wTC-8E-ugs" id="z93-t8-kqz"/>
  144. <outlet property="subjectLabel" destination="t7Q-dI-DuS" id="g1q-ZG-oNa"/>
  145. <outlet property="teacherName" destination="4Ny-Ee-haR" id="KeA-wn-Vzl"/>
  146. </connections>
  147. <point key="canvasLocation" x="121.73913043478262" y="127.23214285714285"/>
  148. </collectionViewCell>
  149. </objects>
  150. <resources>
  151. <systemColor name="systemBackgroundColor">
  152. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  153. </systemColor>
  154. </resources>
  155. </document>