HomeTempLiveCell.xib 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="32700.99.1234" 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="22685"/>
  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="HomeTempLiveCell">
  15. <rect key="frame" x="0.0" y="0.0" width="217" height="284"/>
  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="217" height="284"/>
  19. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  20. <subviews>
  21. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="7Qa-Xp-aU3">
  22. <rect key="frame" x="2" y="2" width="213" height="280"/>
  23. <subviews>
  24. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="dkD-Rj-Jac">
  25. <rect key="frame" x="0.0" y="0.0" width="213" height="200"/>
  26. </imageView>
  27. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Rgs-pt-r0X">
  28. <rect key="frame" x="0.0" y="200" width="213" height="80"/>
  29. <subviews>
  30. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="teacher_avatar" translatesAutoresizingMaskIntoConstraints="NO" id="UqS-fb-rXq">
  31. <rect key="frame" x="10" y="50" width="16" height="16"/>
  32. <constraints>
  33. <constraint firstAttribute="width" constant="16" id="C2I-Ix-13W"/>
  34. <constraint firstAttribute="height" constant="16" id="TNu-jN-48x"/>
  35. </constraints>
  36. <userDefinedRuntimeAttributes>
  37. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  38. <real key="value" value="8"/>
  39. </userDefinedRuntimeAttribute>
  40. </userDefinedRuntimeAttributes>
  41. </imageView>
  42. <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="zw4-4b-hQf">
  43. <rect key="frame" x="31" y="58" width="0.0" height="0.0"/>
  44. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  45. <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
  46. <nil key="highlightedColor"/>
  47. </label>
  48. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="正在直播" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="KOn-hZ-b6S">
  49. <rect key="frame" x="153.5" y="50.5" width="49.5" height="15"/>
  50. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  51. <color key="textColor" red="1" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
  52. <nil key="highlightedColor"/>
  53. </label>
  54. <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="okN-QS-lDq">
  55. <rect key="frame" x="11" y="7" width="193" height="0.0"/>
  56. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  57. <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
  58. <nil key="highlightedColor"/>
  59. </label>
  60. </subviews>
  61. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  62. <constraints>
  63. <constraint firstItem="KOn-hZ-b6S" firstAttribute="centerY" secondItem="zw4-4b-hQf" secondAttribute="centerY" id="15D-ul-srB"/>
  64. <constraint firstItem="zw4-4b-hQf" firstAttribute="centerY" secondItem="UqS-fb-rXq" secondAttribute="centerY" id="5vG-cV-jVl"/>
  65. <constraint firstItem="okN-QS-lDq" firstAttribute="leading" secondItem="Rgs-pt-r0X" secondAttribute="leading" constant="11" id="765-EY-90b"/>
  66. <constraint firstAttribute="trailing" secondItem="okN-QS-lDq" secondAttribute="trailing" constant="9" id="BXi-dw-mrG"/>
  67. <constraint firstAttribute="trailing" secondItem="KOn-hZ-b6S" secondAttribute="trailing" constant="10" id="PfN-K8-EyP"/>
  68. <constraint firstItem="UqS-fb-rXq" firstAttribute="leading" secondItem="Rgs-pt-r0X" secondAttribute="leading" constant="10" id="YXR-2B-XnM"/>
  69. <constraint firstItem="zw4-4b-hQf" firstAttribute="leading" secondItem="UqS-fb-rXq" secondAttribute="trailing" constant="5" id="Yis-ft-D6s"/>
  70. <constraint firstAttribute="bottom" secondItem="UqS-fb-rXq" secondAttribute="bottom" constant="14" id="bfJ-PD-F2t"/>
  71. <constraint firstAttribute="height" constant="80" id="lMv-ba-bx5"/>
  72. <constraint firstItem="KOn-hZ-b6S" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="zw4-4b-hQf" secondAttribute="trailing" constant="10" id="oVz-8Q-svH"/>
  73. <constraint firstItem="okN-QS-lDq" firstAttribute="top" secondItem="Rgs-pt-r0X" secondAttribute="top" constant="7" id="u1n-3R-3DM"/>
  74. </constraints>
  75. </view>
  76. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="rP0-Bh-d6J">
  77. <rect key="frame" x="141" y="15" width="72" height="26"/>
  78. <subviews>
  79. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="直播中" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Dyu-dd-ig4">
  80. <rect key="frame" x="28" y="5.5" width="37" height="15"/>
  81. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  82. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  83. <nil key="highlightedColor"/>
  84. </label>
  85. </subviews>
  86. <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.20000000000000001" colorSpace="custom" customColorSpace="calibratedRGB"/>
  87. <constraints>
  88. <constraint firstItem="Dyu-dd-ig4" firstAttribute="centerY" secondItem="rP0-Bh-d6J" secondAttribute="centerY" id="flS-r2-G5q"/>
  89. <constraint firstAttribute="width" constant="72" id="gjc-84-oYX"/>
  90. <constraint firstAttribute="height" constant="26" id="hin-Cs-WaC"/>
  91. <constraint firstAttribute="trailing" secondItem="Dyu-dd-ig4" secondAttribute="trailing" constant="7" id="kxW-io-zTu"/>
  92. </constraints>
  93. </view>
  94. </subviews>
  95. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  96. <constraints>
  97. <constraint firstAttribute="trailing" secondItem="Rgs-pt-r0X" secondAttribute="trailing" id="0JW-jt-v8i"/>
  98. <constraint firstAttribute="bottom" secondItem="Rgs-pt-r0X" secondAttribute="bottom" id="2w9-XB-DI2"/>
  99. <constraint firstAttribute="trailing" secondItem="dkD-Rj-Jac" secondAttribute="trailing" id="3Vp-um-Tp5"/>
  100. <constraint firstItem="dkD-Rj-Jac" firstAttribute="leading" secondItem="7Qa-Xp-aU3" secondAttribute="leading" id="Be7-Uf-891"/>
  101. <constraint firstItem="rP0-Bh-d6J" firstAttribute="top" secondItem="7Qa-Xp-aU3" secondAttribute="top" constant="15" id="T5M-yX-Rk7"/>
  102. <constraint firstAttribute="trailing" secondItem="rP0-Bh-d6J" secondAttribute="trailing" id="aq3-cu-0Fs"/>
  103. <constraint firstItem="dkD-Rj-Jac" firstAttribute="top" secondItem="7Qa-Xp-aU3" secondAttribute="top" id="ckL-RL-TCG"/>
  104. <constraint firstItem="Rgs-pt-r0X" firstAttribute="leading" secondItem="7Qa-Xp-aU3" secondAttribute="leading" id="eZo-B4-eTR"/>
  105. <constraint firstItem="Rgs-pt-r0X" firstAttribute="top" secondItem="dkD-Rj-Jac" secondAttribute="bottom" id="jHX-oa-jdy"/>
  106. </constraints>
  107. <userDefinedRuntimeAttributes>
  108. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  109. <real key="value" value="10"/>
  110. </userDefinedRuntimeAttribute>
  111. <userDefinedRuntimeAttribute type="size" keyPath="shadowOffset">
  112. <size key="value" width="0.0" height="2"/>
  113. </userDefinedRuntimeAttribute>
  114. <userDefinedRuntimeAttribute type="color" keyPath="shadowUIColor">
  115. <color key="value" red="0.8980392157" green="0.8980392157" blue="0.8980392157" alpha="0.10000000000000001" colorSpace="custom" customColorSpace="calibratedRGB"/>
  116. </userDefinedRuntimeAttribute>
  117. <userDefinedRuntimeAttribute type="number" keyPath="shadowRadius">
  118. <real key="value" value="10"/>
  119. </userDefinedRuntimeAttribute>
  120. <userDefinedRuntimeAttribute type="number" keyPath="shadowOpacity">
  121. <real key="value" value="1"/>
  122. </userDefinedRuntimeAttribute>
  123. </userDefinedRuntimeAttributes>
  124. </view>
  125. </subviews>
  126. </view>
  127. <viewLayoutGuide key="safeArea" id="SEy-5g-ep8"/>
  128. <constraints>
  129. <constraint firstAttribute="bottom" secondItem="7Qa-Xp-aU3" secondAttribute="bottom" constant="2" id="Jcj-7F-4tS"/>
  130. <constraint firstAttribute="trailing" secondItem="7Qa-Xp-aU3" secondAttribute="trailing" constant="2" id="Web-Nj-kBA"/>
  131. <constraint firstItem="7Qa-Xp-aU3" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" constant="2" id="rIE-IT-VWy"/>
  132. <constraint firstItem="7Qa-Xp-aU3" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="2" id="vn6-SG-jiE"/>
  133. </constraints>
  134. <size key="customSize" width="217" height="284"/>
  135. <connections>
  136. <outlet property="coverImage" destination="dkD-Rj-Jac" id="f0m-uW-0Kh"/>
  137. <outlet property="liveStatusView" destination="rP0-Bh-d6J" id="d2l-hd-zpc"/>
  138. <outlet property="liveTitle" destination="okN-QS-lDq" id="hoG-vN-V8l"/>
  139. <outlet property="teacherAvatar" destination="UqS-fb-rXq" id="CAa-qK-6Ke"/>
  140. <outlet property="teacherName" destination="zw4-4b-hQf" id="yUh-e1-rHX"/>
  141. </connections>
  142. <point key="canvasLocation" x="252.89855072463769" y="155.35714285714286"/>
  143. </collectionViewCell>
  144. </objects>
  145. <resources>
  146. <image name="teacher_avatar" width="150" height="150"/>
  147. <systemColor name="systemBackgroundColor">
  148. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  149. </systemColor>
  150. </resources>
  151. </document>