RQVideoListCell.xib 8.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="19455" 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="19454"/>
  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="RQVideoListCell">
  14. <rect key="frame" x="0.0" y="0.0" width="277" height="82"/>
  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="277" height="82"/>
  18. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  19. <subviews>
  20. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="B20-qJ-cDe">
  21. <rect key="frame" x="0.0" y="0.0" width="277" height="82"/>
  22. <subviews>
  23. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="videoPlaceholder" translatesAutoresizingMaskIntoConstraints="NO" id="6AJ-WL-Uuw">
  24. <rect key="frame" x="8" y="7" width="120" height="68"/>
  25. <constraints>
  26. <constraint firstAttribute="width" secondItem="6AJ-WL-Uuw" secondAttribute="height" multiplier="30:17" id="UK0-ht-XlS"/>
  27. </constraints>
  28. </imageView>
  29. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="00:10:40" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Auj-Ze-2Rn">
  30. <rect key="frame" x="136" y="63" width="125" height="16"/>
  31. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  32. <color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  33. <nil key="highlightedColor"/>
  34. </label>
  35. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ZiQ-X1-VUq">
  36. <rect key="frame" x="55" y="28" width="26" height="26"/>
  37. <constraints>
  38. <constraint firstAttribute="width" secondItem="ZiQ-X1-VUq" secondAttribute="height" id="aqZ-n6-IeJ"/>
  39. </constraints>
  40. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  41. <state key="normal" image="playIcon"/>
  42. </button>
  43. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalCompressionResistancePriority="749" verticalCompressionResistancePriority="749" text="1.1.1机动车驾驶许可" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontForContentSizeCategory="YES" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="AX3-a9-Naf">
  44. <rect key="frame" x="136" y="3" width="125" height="44"/>
  45. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  46. <color key="textColor" red="0.039215686270000001" green="0.1019607843" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  47. <nil key="highlightedColor"/>
  48. </label>
  49. </subviews>
  50. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  51. <constraints>
  52. <constraint firstItem="6AJ-WL-Uuw" firstAttribute="width" secondItem="B20-qJ-cDe" secondAttribute="width" multiplier="120:277" id="E32-fg-7y2"/>
  53. <constraint firstItem="6AJ-WL-Uuw" firstAttribute="centerY" secondItem="B20-qJ-cDe" secondAttribute="centerY" id="EUH-zu-CKH"/>
  54. <constraint firstItem="AX3-a9-Naf" firstAttribute="top" secondItem="6AJ-WL-Uuw" secondAttribute="top" constant="-4" id="H6A-Ud-3dz"/>
  55. <constraint firstItem="Auj-Ze-2Rn" firstAttribute="bottom" secondItem="6AJ-WL-Uuw" secondAttribute="bottom" constant="4" id="LtO-mz-SBa"/>
  56. <constraint firstItem="6AJ-WL-Uuw" firstAttribute="leading" secondItem="B20-qJ-cDe" secondAttribute="leading" constant="8" id="Q3b-FZ-fOu"/>
  57. <constraint firstAttribute="trailing" secondItem="Auj-Ze-2Rn" secondAttribute="trailing" constant="16" id="VwE-L8-UuO"/>
  58. <constraint firstItem="ZiQ-X1-VUq" firstAttribute="centerY" secondItem="6AJ-WL-Uuw" secondAttribute="centerY" id="ehP-Hm-KEG"/>
  59. <constraint firstItem="AX3-a9-Naf" firstAttribute="leading" secondItem="6AJ-WL-Uuw" secondAttribute="trailing" constant="8" id="g3f-Rt-W4d"/>
  60. <constraint firstItem="ZiQ-X1-VUq" firstAttribute="width" secondItem="6AJ-WL-Uuw" secondAttribute="width" multiplier="26:120" id="ies-BL-gDl"/>
  61. <constraint firstAttribute="trailing" secondItem="AX3-a9-Naf" secondAttribute="trailing" constant="16" id="jMr-7z-Tpy"/>
  62. <constraint firstItem="Auj-Ze-2Rn" firstAttribute="top" secondItem="AX3-a9-Naf" secondAttribute="bottom" constant="16" id="khK-15-tOV"/>
  63. <constraint firstItem="Auj-Ze-2Rn" firstAttribute="leading" secondItem="6AJ-WL-Uuw" secondAttribute="trailing" constant="8" id="oJd-H3-Z04"/>
  64. <constraint firstItem="ZiQ-X1-VUq" firstAttribute="centerX" secondItem="6AJ-WL-Uuw" secondAttribute="centerX" id="x0f-jf-VUz"/>
  65. </constraints>
  66. </view>
  67. </subviews>
  68. </view>
  69. <constraints>
  70. <constraint firstAttribute="bottom" secondItem="B20-qJ-cDe" secondAttribute="bottom" id="GYL-Nj-H6r"/>
  71. <constraint firstAttribute="trailing" secondItem="B20-qJ-cDe" secondAttribute="trailing" id="cXt-Gn-6ZR"/>
  72. <constraint firstItem="B20-qJ-cDe" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="fYX-3s-wZ3"/>
  73. <constraint firstItem="B20-qJ-cDe" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" id="rzL-kM-NeA"/>
  74. </constraints>
  75. <size key="customSize" width="322" height="113"/>
  76. <connections>
  77. <outlet property="videoDurationLabel" destination="Auj-Ze-2Rn" id="nbm-yu-fiy"/>
  78. <outlet property="videoImageView" destination="6AJ-WL-Uuw" id="dYx-B0-YsO"/>
  79. <outlet property="videoTitleLabel" destination="AX3-a9-Naf" id="gvS-tW-IIk"/>
  80. </connections>
  81. <point key="canvasLocation" x="334.05797101449281" y="144.64285714285714"/>
  82. </collectionViewCell>
  83. </objects>
  84. <resources>
  85. <image name="playIcon" width="26" height="26"/>
  86. <image name="videoPlaceholder" width="120" height="68"/>
  87. <systemColor name="systemBackgroundColor">
  88. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  89. </systemColor>
  90. </resources>
  91. </document>