123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151 |
- <?xml version="1.0" encoding="UTF-8"?>
- <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">
- <device id="retina6_1" orientation="portrait" appearance="light"/>
- <dependencies>
- <deployment identifier="iOS"/>
- <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="22685"/>
- <capability name="Safe area layout guides" minToolsVersion="9.0"/>
- <capability name="System colors in document resources" minToolsVersion="11.0"/>
- <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
- </dependencies>
- <objects>
- <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
- <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
- <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" id="gTV-IL-0wX" customClass="HomeTempLiveCell">
- <rect key="frame" x="0.0" y="0.0" width="217" height="284"/>
- <autoresizingMask key="autoresizingMask"/>
- <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
- <rect key="frame" x="0.0" y="0.0" width="217" height="284"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <subviews>
- <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="7Qa-Xp-aU3">
- <rect key="frame" x="2" y="2" width="213" height="280"/>
- <subviews>
- <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="dkD-Rj-Jac">
- <rect key="frame" x="0.0" y="0.0" width="213" height="200"/>
- </imageView>
- <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Rgs-pt-r0X">
- <rect key="frame" x="0.0" y="200" width="213" height="80"/>
- <subviews>
- <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="teacher_avatar" translatesAutoresizingMaskIntoConstraints="NO" id="UqS-fb-rXq">
- <rect key="frame" x="10" y="50" width="16" height="16"/>
- <constraints>
- <constraint firstAttribute="width" constant="16" id="C2I-Ix-13W"/>
- <constraint firstAttribute="height" constant="16" id="TNu-jN-48x"/>
- </constraints>
- <userDefinedRuntimeAttributes>
- <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
- <real key="value" value="8"/>
- </userDefinedRuntimeAttribute>
- </userDefinedRuntimeAttributes>
- </imageView>
- <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">
- <rect key="frame" x="31" y="58" width="0.0" height="0.0"/>
- <fontDescription key="fontDescription" type="system" pointSize="12"/>
- <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
- <nil key="highlightedColor"/>
- </label>
- <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">
- <rect key="frame" x="153.5" y="50.5" width="49.5" height="15"/>
- <fontDescription key="fontDescription" type="system" pointSize="12"/>
- <color key="textColor" red="1" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
- <nil key="highlightedColor"/>
- </label>
- <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">
- <rect key="frame" x="11" y="7" width="193" height="0.0"/>
- <fontDescription key="fontDescription" type="system" pointSize="14"/>
- <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
- <nil key="highlightedColor"/>
- </label>
- </subviews>
- <color key="backgroundColor" systemColor="systemBackgroundColor"/>
- <constraints>
- <constraint firstItem="KOn-hZ-b6S" firstAttribute="centerY" secondItem="zw4-4b-hQf" secondAttribute="centerY" id="15D-ul-srB"/>
- <constraint firstItem="zw4-4b-hQf" firstAttribute="centerY" secondItem="UqS-fb-rXq" secondAttribute="centerY" id="5vG-cV-jVl"/>
- <constraint firstItem="okN-QS-lDq" firstAttribute="leading" secondItem="Rgs-pt-r0X" secondAttribute="leading" constant="11" id="765-EY-90b"/>
- <constraint firstAttribute="trailing" secondItem="okN-QS-lDq" secondAttribute="trailing" constant="9" id="BXi-dw-mrG"/>
- <constraint firstAttribute="trailing" secondItem="KOn-hZ-b6S" secondAttribute="trailing" constant="10" id="PfN-K8-EyP"/>
- <constraint firstItem="UqS-fb-rXq" firstAttribute="leading" secondItem="Rgs-pt-r0X" secondAttribute="leading" constant="10" id="YXR-2B-XnM"/>
- <constraint firstItem="zw4-4b-hQf" firstAttribute="leading" secondItem="UqS-fb-rXq" secondAttribute="trailing" constant="5" id="Yis-ft-D6s"/>
- <constraint firstAttribute="bottom" secondItem="UqS-fb-rXq" secondAttribute="bottom" constant="14" id="bfJ-PD-F2t"/>
- <constraint firstAttribute="height" constant="80" id="lMv-ba-bx5"/>
- <constraint firstItem="KOn-hZ-b6S" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="zw4-4b-hQf" secondAttribute="trailing" constant="10" id="oVz-8Q-svH"/>
- <constraint firstItem="okN-QS-lDq" firstAttribute="top" secondItem="Rgs-pt-r0X" secondAttribute="top" constant="7" id="u1n-3R-3DM"/>
- </constraints>
- </view>
- <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="rP0-Bh-d6J">
- <rect key="frame" x="141" y="15" width="72" height="26"/>
- <subviews>
- <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">
- <rect key="frame" x="28" y="5.5" width="37" height="15"/>
- <fontDescription key="fontDescription" type="system" pointSize="12"/>
- <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
- <nil key="highlightedColor"/>
- </label>
- </subviews>
- <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.20000000000000001" colorSpace="custom" customColorSpace="calibratedRGB"/>
- <constraints>
- <constraint firstItem="Dyu-dd-ig4" firstAttribute="centerY" secondItem="rP0-Bh-d6J" secondAttribute="centerY" id="flS-r2-G5q"/>
- <constraint firstAttribute="width" constant="72" id="gjc-84-oYX"/>
- <constraint firstAttribute="height" constant="26" id="hin-Cs-WaC"/>
- <constraint firstAttribute="trailing" secondItem="Dyu-dd-ig4" secondAttribute="trailing" constant="7" id="kxW-io-zTu"/>
- </constraints>
- </view>
- </subviews>
- <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
- <constraints>
- <constraint firstAttribute="trailing" secondItem="Rgs-pt-r0X" secondAttribute="trailing" id="0JW-jt-v8i"/>
- <constraint firstAttribute="bottom" secondItem="Rgs-pt-r0X" secondAttribute="bottom" id="2w9-XB-DI2"/>
- <constraint firstAttribute="trailing" secondItem="dkD-Rj-Jac" secondAttribute="trailing" id="3Vp-um-Tp5"/>
- <constraint firstItem="dkD-Rj-Jac" firstAttribute="leading" secondItem="7Qa-Xp-aU3" secondAttribute="leading" id="Be7-Uf-891"/>
- <constraint firstItem="rP0-Bh-d6J" firstAttribute="top" secondItem="7Qa-Xp-aU3" secondAttribute="top" constant="15" id="T5M-yX-Rk7"/>
- <constraint firstAttribute="trailing" secondItem="rP0-Bh-d6J" secondAttribute="trailing" id="aq3-cu-0Fs"/>
- <constraint firstItem="dkD-Rj-Jac" firstAttribute="top" secondItem="7Qa-Xp-aU3" secondAttribute="top" id="ckL-RL-TCG"/>
- <constraint firstItem="Rgs-pt-r0X" firstAttribute="leading" secondItem="7Qa-Xp-aU3" secondAttribute="leading" id="eZo-B4-eTR"/>
- <constraint firstItem="Rgs-pt-r0X" firstAttribute="top" secondItem="dkD-Rj-Jac" secondAttribute="bottom" id="jHX-oa-jdy"/>
- </constraints>
- <userDefinedRuntimeAttributes>
- <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
- <real key="value" value="10"/>
- </userDefinedRuntimeAttribute>
- <userDefinedRuntimeAttribute type="size" keyPath="shadowOffset">
- <size key="value" width="0.0" height="2"/>
- </userDefinedRuntimeAttribute>
- <userDefinedRuntimeAttribute type="color" keyPath="shadowUIColor">
- <color key="value" red="0.8980392157" green="0.8980392157" blue="0.8980392157" alpha="0.10000000000000001" colorSpace="custom" customColorSpace="calibratedRGB"/>
- </userDefinedRuntimeAttribute>
- <userDefinedRuntimeAttribute type="number" keyPath="shadowRadius">
- <real key="value" value="10"/>
- </userDefinedRuntimeAttribute>
- <userDefinedRuntimeAttribute type="number" keyPath="shadowOpacity">
- <real key="value" value="1"/>
- </userDefinedRuntimeAttribute>
- </userDefinedRuntimeAttributes>
- </view>
- </subviews>
- </view>
- <viewLayoutGuide key="safeArea" id="SEy-5g-ep8"/>
- <constraints>
- <constraint firstAttribute="bottom" secondItem="7Qa-Xp-aU3" secondAttribute="bottom" constant="2" id="Jcj-7F-4tS"/>
- <constraint firstAttribute="trailing" secondItem="7Qa-Xp-aU3" secondAttribute="trailing" constant="2" id="Web-Nj-kBA"/>
- <constraint firstItem="7Qa-Xp-aU3" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" constant="2" id="rIE-IT-VWy"/>
- <constraint firstItem="7Qa-Xp-aU3" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="2" id="vn6-SG-jiE"/>
- </constraints>
- <size key="customSize" width="217" height="284"/>
- <connections>
- <outlet property="coverImage" destination="dkD-Rj-Jac" id="f0m-uW-0Kh"/>
- <outlet property="liveStatusView" destination="rP0-Bh-d6J" id="d2l-hd-zpc"/>
- <outlet property="liveTitle" destination="okN-QS-lDq" id="hoG-vN-V8l"/>
- <outlet property="teacherAvatar" destination="UqS-fb-rXq" id="CAa-qK-6Ke"/>
- <outlet property="teacherName" destination="zw4-4b-hQf" id="yUh-e1-rHX"/>
- </connections>
- <point key="canvasLocation" x="252.89855072463769" y="155.35714285714286"/>
- </collectionViewCell>
- </objects>
- <resources>
- <image name="teacher_avatar" width="150" height="150"/>
- <systemColor name="systemBackgroundColor">
- <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
- </systemColor>
- </resources>
- </document>
|