HomeHotVideoCell.xib 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="20037" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="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="20020"/>
  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. <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" id="gTV-IL-0wX" customClass="HomeHotVideoCell">
  15. <rect key="frame" x="0.0" y="0.0" width="168" height="153"/>
  16. <autoresizingMask key="autoresizingMask"/>
  17. <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
  18. <rect key="frame" x="0.0" y="0.0" width="168" height="153"/>
  19. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  20. <subviews>
  21. <view contentMode="scaleAspectFit" translatesAutoresizingMaskIntoConstraints="NO" id="Z9Y-DS-o2S">
  22. <rect key="frame" x="2" y="2" width="164" height="149"/>
  23. <subviews>
  24. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="wTC-8E-ugs">
  25. <rect key="frame" x="0.0" y="0.0" width="164" height="95"/>
  26. <constraints>
  27. <constraint firstAttribute="height" constant="95" id="1MD-pj-b6f"/>
  28. </constraints>
  29. </imageView>
  30. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="iEG-bR-UaR">
  31. <rect key="frame" x="6" y="6" width="28.5" height="13"/>
  32. <subviews>
  33. <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">
  34. <rect key="frame" x="5" y="0.0" width="18.5" height="13"/>
  35. <constraints>
  36. <constraint firstAttribute="height" constant="13" id="X64-z5-Rol"/>
  37. </constraints>
  38. <fontDescription key="fontDescription" type="system" pointSize="9"/>
  39. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  40. <nil key="highlightedColor"/>
  41. </label>
  42. </subviews>
  43. <color key="backgroundColor" red="0.37647058823529411" green="0.37647058823529411" blue="0.37647058823529411" alpha="0.59999999999999998" colorSpace="calibratedRGB"/>
  44. <constraints>
  45. <constraint firstAttribute="bottom" secondItem="t7Q-dI-DuS" secondAttribute="bottom" id="To8-wX-JuA"/>
  46. <constraint firstItem="t7Q-dI-DuS" firstAttribute="top" secondItem="iEG-bR-UaR" secondAttribute="top" id="bTC-uv-MHS"/>
  47. <constraint firstItem="t7Q-dI-DuS" firstAttribute="leading" secondItem="iEG-bR-UaR" secondAttribute="leading" constant="5" id="mSr-sM-8gc"/>
  48. <constraint firstAttribute="trailing" secondItem="t7Q-dI-DuS" secondAttribute="trailing" constant="5" id="whh-ZK-qOD"/>
  49. </constraints>
  50. <userDefinedRuntimeAttributes>
  51. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  52. <real key="value" value="3"/>
  53. </userDefinedRuntimeAttribute>
  54. </userDefinedRuntimeAttributes>
  55. </view>
  56. <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">
  57. <rect key="frame" x="11" y="102" width="142" height="20"/>
  58. <constraints>
  59. <constraint firstAttribute="height" constant="20" id="lao-V8-wfX"/>
  60. </constraints>
  61. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="14"/>
  62. <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
  63. <nil key="highlightedColor"/>
  64. </label>
  65. <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">
  66. <rect key="frame" x="11" y="128" width="50" height="15"/>
  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="NHm-Ob-jBe">
  72. <rect key="frame" x="79" y="133.5" width="4" height="4"/>
  73. <color key="backgroundColor" red="1" green="0.53725490196078429" blue="0.0039215686274509803" alpha="1" colorSpace="calibratedRGB"/>
  74. <constraints>
  75. <constraint firstAttribute="height" constant="4" id="ZB8-4x-8jr"/>
  76. <constraint firstAttribute="width" constant="4" id="gt1-F9-L6E"/>
  77. </constraints>
  78. <userDefinedRuntimeAttributes>
  79. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  80. <real key="value" value="2"/>
  81. </userDefinedRuntimeAttribute>
  82. </userDefinedRuntimeAttributes>
  83. </view>
  84. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="1422人在学" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="kAl-tc-ntC">
  85. <rect key="frame" x="87" y="128" width="65" height="15"/>
  86. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  87. <color key="textColor" red="1" green="0.53725490200000003" blue="0.0039215686269999999" alpha="1" colorSpace="calibratedRGB"/>
  88. <nil key="highlightedColor"/>
  89. </label>
  90. </subviews>
  91. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  92. <constraints>
  93. <constraint firstItem="NHm-Ob-jBe" firstAttribute="centerY" secondItem="4Ny-Ee-haR" secondAttribute="centerY" id="0kg-0F-TKg"/>
  94. <constraint firstAttribute="trailing" secondItem="wTC-8E-ugs" secondAttribute="trailing" id="3D0-1L-YuS"/>
  95. <constraint firstItem="4Ny-Ee-haR" firstAttribute="leading" secondItem="4KZ-pa-CpR" secondAttribute="leading" id="4iA-XR-otT"/>
  96. <constraint firstItem="NHm-Ob-jBe" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="4Ny-Ee-haR" secondAttribute="trailing" constant="4" id="7Ia-I7-SEf"/>
  97. <constraint firstItem="4Ny-Ee-haR" firstAttribute="top" secondItem="4KZ-pa-CpR" secondAttribute="bottom" constant="6" id="7zK-KZ-Yb8"/>
  98. <constraint firstItem="4KZ-pa-CpR" firstAttribute="leading" secondItem="Z9Y-DS-o2S" secondAttribute="leading" constant="11" id="ARz-lR-bqo"/>
  99. <constraint firstItem="wTC-8E-ugs" firstAttribute="leading" secondItem="Z9Y-DS-o2S" secondAttribute="leading" id="Cz7-tf-l2g"/>
  100. <constraint firstItem="iEG-bR-UaR" firstAttribute="top" secondItem="Z9Y-DS-o2S" secondAttribute="top" constant="6" id="ESb-5A-bp8"/>
  101. <constraint firstItem="kAl-tc-ntC" firstAttribute="centerY" secondItem="NHm-Ob-jBe" secondAttribute="centerY" id="F1J-2K-d2x"/>
  102. <constraint firstItem="wTC-8E-ugs" firstAttribute="top" secondItem="Z9Y-DS-o2S" secondAttribute="top" id="HLD-wW-9Jh"/>
  103. <constraint firstItem="kAl-tc-ntC" firstAttribute="leading" secondItem="NHm-Ob-jBe" secondAttribute="trailing" constant="4" id="IJL-s1-EkX"/>
  104. <constraint firstItem="iEG-bR-UaR" firstAttribute="leading" secondItem="Z9Y-DS-o2S" secondAttribute="leading" constant="6" id="T2f-qa-HN9"/>
  105. <constraint firstAttribute="trailing" secondItem="kAl-tc-ntC" secondAttribute="trailing" constant="12" id="dYW-Ui-C47"/>
  106. <constraint firstItem="4KZ-pa-CpR" firstAttribute="top" secondItem="wTC-8E-ugs" secondAttribute="bottom" constant="7" id="n8d-1d-I45"/>
  107. <constraint firstAttribute="trailing" secondItem="4KZ-pa-CpR" secondAttribute="trailing" constant="11" id="xmO-bF-zUB"/>
  108. </constraints>
  109. <userDefinedRuntimeAttributes>
  110. <userDefinedRuntimeAttribute type="number" keyPath="shadowRadius">
  111. <real key="value" value="10"/>
  112. </userDefinedRuntimeAttribute>
  113. <userDefinedRuntimeAttribute type="number" keyPath="shadowOpacity">
  114. <real key="value" value="1"/>
  115. </userDefinedRuntimeAttribute>
  116. <userDefinedRuntimeAttribute type="size" keyPath="shadowOffset">
  117. <size key="value" width="0.0" height="2"/>
  118. </userDefinedRuntimeAttribute>
  119. <userDefinedRuntimeAttribute type="color" keyPath="shadowUIColor">
  120. <color key="value" red="0.89803921568627454" green="0.89803921568627454" blue="0.89803921568627454" alpha="0.10000000000000001" colorSpace="custom" customColorSpace="calibratedRGB"/>
  121. </userDefinedRuntimeAttribute>
  122. <userDefinedRuntimeAttribute type="boolean" keyPath="maskToBounces" value="YES"/>
  123. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  124. <real key="value" value="10"/>
  125. </userDefinedRuntimeAttribute>
  126. </userDefinedRuntimeAttributes>
  127. </view>
  128. </subviews>
  129. </view>
  130. <viewLayoutGuide key="safeArea" id="SEy-5g-ep8"/>
  131. <constraints>
  132. <constraint firstAttribute="bottom" secondItem="Z9Y-DS-o2S" secondAttribute="bottom" constant="2" id="6bd-bt-lLy"/>
  133. <constraint firstItem="Z9Y-DS-o2S" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" constant="2" id="8EY-rY-zVf"/>
  134. <constraint firstItem="Z9Y-DS-o2S" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="2" id="D5y-CV-jga"/>
  135. <constraint firstAttribute="trailing" secondItem="Z9Y-DS-o2S" secondAttribute="trailing" constant="2" id="ZB7-Gj-aCl"/>
  136. </constraints>
  137. <size key="customSize" width="294" height="193"/>
  138. <connections>
  139. <outlet property="countLabel" destination="kAl-tc-ntC" id="nlN-Js-BZG"/>
  140. <outlet property="courseName" destination="4KZ-pa-CpR" id="FF1-fh-P98"/>
  141. <outlet property="coverImage" destination="wTC-8E-ugs" id="z93-t8-kqz"/>
  142. <outlet property="subjectLabel" destination="t7Q-dI-DuS" id="g1q-ZG-oNa"/>
  143. <outlet property="teacherName" destination="4Ny-Ee-haR" id="KeA-wn-Vzl"/>
  144. </connections>
  145. <point key="canvasLocation" x="121.73913043478262" y="127.56696428571428"/>
  146. </collectionViewCell>
  147. </objects>
  148. <resources>
  149. <systemColor name="systemBackgroundColor">
  150. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  151. </systemColor>
  152. </resources>
  153. </document>