HomeHotLiveCell.xib 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  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="HomeHotLiveCell">
  15. <rect key="frame" x="0.0" y="0.0" width="240" height="157"/>
  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="240" height="157"/>
  19. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  20. <subviews>
  21. <view contentMode="scaleAspectFit" translatesAutoresizingMaskIntoConstraints="NO" id="lc6-Bv-qBL">
  22. <rect key="frame" x="2" y="2" width="236" height="153"/>
  23. <subviews>
  24. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="8qF-78-gZ4">
  25. <rect key="frame" x="0.0" y="0.0" width="236" height="95"/>
  26. <constraints>
  27. <constraint firstAttribute="height" constant="95" id="w9J-f7-oTD"/>
  28. </constraints>
  29. </imageView>
  30. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ZPa-8U-6df">
  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="X47-or-On0">
  34. <rect key="frame" x="5" y="0.0" width="18.5" height="13"/>
  35. <constraints>
  36. <constraint firstAttribute="height" constant="13" id="5J6-Su-Z2G"/>
  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="custom" customColorSpace="calibratedRGB"/>
  44. <constraints>
  45. <constraint firstAttribute="trailing" secondItem="X47-or-On0" secondAttribute="trailing" constant="5" id="mwk-Uc-8dW"/>
  46. <constraint firstItem="X47-or-On0" firstAttribute="leading" secondItem="ZPa-8U-6df" secondAttribute="leading" constant="5" id="oGP-0q-ev4"/>
  47. <constraint firstItem="X47-or-On0" firstAttribute="top" secondItem="ZPa-8U-6df" secondAttribute="top" id="pR9-ha-0qt"/>
  48. <constraint firstAttribute="bottom" secondItem="X47-or-On0" secondAttribute="bottom" id="tjY-eR-Z9u"/>
  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="IMu-ha-W8x">
  57. <rect key="frame" x="11" y="102" width="214" height="20"/>
  58. <constraints>
  59. <constraint firstAttribute="height" constant="20" id="uED-yd-pUh"/>
  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="1Xi-wQ-A7O">
  66. <rect key="frame" x="11" y="128" width="49.5" height="17"/>
  67. <constraints>
  68. <constraint firstAttribute="height" constant="17" id="ZXQ-Ji-6m5"/>
  69. </constraints>
  70. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  71. <color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
  72. <nil key="highlightedColor"/>
  73. </label>
  74. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="tVF-Pj-Vlw">
  75. <rect key="frame" x="151" y="134.5" width="4" height="4"/>
  76. <color key="backgroundColor" red="1" green="0.53725490200000003" blue="0.0039215686269999999" alpha="1" colorSpace="calibratedRGB"/>
  77. <constraints>
  78. <constraint firstAttribute="height" constant="4" id="dKn-jh-6Re"/>
  79. <constraint firstAttribute="width" constant="4" id="ghy-fK-sNr"/>
  80. </constraints>
  81. <userDefinedRuntimeAttributes>
  82. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  83. <real key="value" value="2"/>
  84. </userDefinedRuntimeAttribute>
  85. </userDefinedRuntimeAttributes>
  86. </view>
  87. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="1422人在学" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="inb-f4-5Eo">
  88. <rect key="frame" x="159" y="129" width="65" height="15"/>
  89. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  90. <color key="textColor" red="1" green="0.53725490200000003" blue="0.0039215686269999999" alpha="1" colorSpace="calibratedRGB"/>
  91. <nil key="highlightedColor"/>
  92. </label>
  93. </subviews>
  94. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  95. <constraints>
  96. <constraint firstAttribute="trailing" secondItem="8qF-78-gZ4" secondAttribute="trailing" id="69s-Cd-NHl"/>
  97. <constraint firstItem="tVF-Pj-Vlw" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="1Xi-wQ-A7O" secondAttribute="trailing" constant="4" id="6ub-oH-jt2"/>
  98. <constraint firstItem="tVF-Pj-Vlw" firstAttribute="centerY" secondItem="1Xi-wQ-A7O" secondAttribute="centerY" id="87b-ID-bac"/>
  99. <constraint firstItem="inb-f4-5Eo" firstAttribute="centerY" secondItem="tVF-Pj-Vlw" secondAttribute="centerY" id="GjT-YS-DJm"/>
  100. <constraint firstItem="inb-f4-5Eo" firstAttribute="leading" secondItem="tVF-Pj-Vlw" secondAttribute="trailing" constant="4" id="Hju-Ef-d9s"/>
  101. <constraint firstItem="8qF-78-gZ4" firstAttribute="top" secondItem="lc6-Bv-qBL" secondAttribute="top" id="HrY-ey-iOD"/>
  102. <constraint firstItem="1Xi-wQ-A7O" firstAttribute="leading" secondItem="IMu-ha-W8x" secondAttribute="leading" id="QkT-uw-GDT"/>
  103. <constraint firstItem="1Xi-wQ-A7O" firstAttribute="top" secondItem="IMu-ha-W8x" secondAttribute="bottom" constant="6" id="bXp-zy-llh"/>
  104. <constraint firstItem="IMu-ha-W8x" firstAttribute="leading" secondItem="lc6-Bv-qBL" secondAttribute="leading" constant="11" id="cEH-so-SKL"/>
  105. <constraint firstItem="IMu-ha-W8x" firstAttribute="top" secondItem="8qF-78-gZ4" secondAttribute="bottom" constant="7" id="dlS-qO-XFT"/>
  106. <constraint firstItem="ZPa-8U-6df" firstAttribute="top" secondItem="lc6-Bv-qBL" secondAttribute="top" constant="6" id="dpf-7X-EUE"/>
  107. <constraint firstAttribute="trailing" secondItem="inb-f4-5Eo" secondAttribute="trailing" constant="12" id="fvZ-ej-DUd"/>
  108. <constraint firstItem="8qF-78-gZ4" firstAttribute="leading" secondItem="lc6-Bv-qBL" secondAttribute="leading" id="jFE-wG-CBu"/>
  109. <constraint firstItem="ZPa-8U-6df" firstAttribute="leading" secondItem="lc6-Bv-qBL" secondAttribute="leading" constant="6" id="kpf-t3-e4g"/>
  110. <constraint firstAttribute="trailing" secondItem="IMu-ha-W8x" secondAttribute="trailing" constant="11" id="sfi-Qt-rkh"/>
  111. </constraints>
  112. <userDefinedRuntimeAttributes>
  113. <userDefinedRuntimeAttribute type="number" keyPath="shadowRadius">
  114. <real key="value" value="10"/>
  115. </userDefinedRuntimeAttribute>
  116. <userDefinedRuntimeAttribute type="number" keyPath="shadowOpacity">
  117. <real key="value" value="1"/>
  118. </userDefinedRuntimeAttribute>
  119. <userDefinedRuntimeAttribute type="size" keyPath="shadowOffset">
  120. <size key="value" width="0.0" height="2"/>
  121. </userDefinedRuntimeAttribute>
  122. <userDefinedRuntimeAttribute type="color" keyPath="shadowUIColor">
  123. <color key="value" red="0.8980392157" green="0.8980392157" blue="0.8980392157" alpha="0.10000000000000001" colorSpace="custom" customColorSpace="calibratedRGB"/>
  124. </userDefinedRuntimeAttribute>
  125. <userDefinedRuntimeAttribute type="boolean" keyPath="maskToBounces" value="YES"/>
  126. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  127. <real key="value" value="10"/>
  128. </userDefinedRuntimeAttribute>
  129. </userDefinedRuntimeAttributes>
  130. </view>
  131. </subviews>
  132. </view>
  133. <viewLayoutGuide key="safeArea" id="SEy-5g-ep8"/>
  134. <constraints>
  135. <constraint firstAttribute="bottom" secondItem="lc6-Bv-qBL" secondAttribute="bottom" constant="2" id="4Ml-ji-H3G"/>
  136. <constraint firstItem="lc6-Bv-qBL" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" constant="2" id="SAd-7U-K2f"/>
  137. <constraint firstAttribute="trailing" secondItem="lc6-Bv-qBL" secondAttribute="trailing" constant="2" id="URA-mo-kAf"/>
  138. <constraint firstItem="lc6-Bv-qBL" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="2" id="uTP-Mf-LvS"/>
  139. </constraints>
  140. <size key="customSize" width="240" height="155"/>
  141. <connections>
  142. <outlet property="countLabel" destination="inb-f4-5Eo" id="xVv-C1-BaZ"/>
  143. <outlet property="courseName" destination="IMu-ha-W8x" id="DPV-GN-WHW"/>
  144. <outlet property="coverImage" destination="8qF-78-gZ4" id="Vfz-tO-2Rb"/>
  145. <outlet property="subjectLabel" destination="X47-or-On0" id="g89-wl-Ehy"/>
  146. <outlet property="teacherName" destination="1Xi-wQ-A7O" id="O0d-9s-wW0"/>
  147. </connections>
  148. <point key="canvasLocation" x="269.56521739130437" y="104.79910714285714"/>
  149. </collectionViewCell>
  150. </objects>
  151. <resources>
  152. <systemColor name="systemBackgroundColor">
  153. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  154. </systemColor>
  155. </resources>
  156. </document>