HomeHotVideoCourseView.xib 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  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" 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="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  8. </dependencies>
  9. <objects>
  10. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  11. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  12. <view contentMode="scaleToFill" id="iN0-l3-epB" customClass="HomeHotVideoCourseView">
  13. <rect key="frame" x="0.0" y="0.0" width="414" height="224"/>
  14. <autoresizingMask key="autoresizingMask"/>
  15. <subviews>
  16. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ImZ-xL-12C">
  17. <rect key="frame" x="355" y="33.5" width="45" height="18"/>
  18. <color key="backgroundColor" red="0.94901960780000005" green="0.94901960780000005" blue="0.94901960780000005" alpha="1" colorSpace="calibratedRGB"/>
  19. <constraints>
  20. <constraint firstAttribute="height" constant="18" id="AcK-bR-c3f"/>
  21. </constraints>
  22. <userDefinedRuntimeAttributes>
  23. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  24. <real key="value" value="9"/>
  25. </userDefinedRuntimeAttribute>
  26. </userDefinedRuntimeAttributes>
  27. </view>
  28. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="精品视频课" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="EIe-qp-TsO">
  29. <rect key="frame" x="24" y="30" width="92" height="25"/>
  30. <constraints>
  31. <constraint firstAttribute="height" constant="25" id="uPk-du-hdF"/>
  32. </constraints>
  33. <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="18"/>
  34. <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
  35. <nil key="highlightedColor"/>
  36. </label>
  37. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Kff-dl-GsO">
  38. <rect key="frame" x="0.0" y="67" width="414" height="157"/>
  39. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  40. <constraints>
  41. <constraint firstAttribute="height" constant="157" id="drX-7K-Af3"/>
  42. </constraints>
  43. </view>
  44. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="home_more" translatesAutoresizingMaskIntoConstraints="NO" id="QNi-gh-Evy">
  45. <rect key="frame" x="389" y="38.5" width="6" height="8"/>
  46. <constraints>
  47. <constraint firstAttribute="height" constant="8" id="GlH-pA-QXZ"/>
  48. <constraint firstAttribute="width" constant="6" id="Ukq-f5-bGl"/>
  49. </constraints>
  50. </imageView>
  51. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="更多" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Nbu-3T-s6e">
  52. <rect key="frame" x="361" y="35.5" width="25" height="14.5"/>
  53. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  54. <color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/>
  55. <nil key="highlightedColor"/>
  56. </label>
  57. <button opaque="NO" tag="1008" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="oQF-oZ-Pbs">
  58. <rect key="frame" x="361" y="27.5" width="34" height="30"/>
  59. <constraints>
  60. <constraint firstAttribute="height" constant="30" id="EY9-fK-W16"/>
  61. </constraints>
  62. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="14"/>
  63. <state key="normal">
  64. <color key="titleColor" red="0.46666666670000001" green="0.46666666670000001" blue="0.46666666670000001" alpha="0.84705882349999995" colorSpace="calibratedRGB"/>
  65. </state>
  66. <connections>
  67. <action selector="moreVideoCourse:" destination="iN0-l3-epB" eventType="touchUpInside" id="xej-nI-LqN"/>
  68. </connections>
  69. </button>
  70. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="home_left" translatesAutoresizingMaskIntoConstraints="NO" id="tFO-hR-fSY">
  71. <rect key="frame" x="14" y="33.5" width="4" height="18"/>
  72. <constraints>
  73. <constraint firstAttribute="width" constant="4" id="F2X-9W-Jbc"/>
  74. <constraint firstAttribute="height" constant="18" id="OWn-BU-LHJ"/>
  75. </constraints>
  76. </imageView>
  77. </subviews>
  78. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  79. <constraints>
  80. <constraint firstItem="QNi-gh-Evy" firstAttribute="leading" secondItem="Nbu-3T-s6e" secondAttribute="trailing" constant="3" id="0pg-lF-5ou"/>
  81. <constraint firstItem="tFO-hR-fSY" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="14" id="A87-gJ-d0d"/>
  82. <constraint firstItem="QNi-gh-Evy" firstAttribute="trailing" secondItem="ImZ-xL-12C" secondAttribute="trailing" constant="-5" id="Bti-gD-Ii3"/>
  83. <constraint firstItem="Kff-dl-GsO" firstAttribute="top" secondItem="EIe-qp-TsO" secondAttribute="bottom" constant="12" id="Cgu-9X-JpY"/>
  84. <constraint firstItem="oQF-oZ-Pbs" firstAttribute="centerY" secondItem="EIe-qp-TsO" secondAttribute="centerY" id="DOP-FW-z0s"/>
  85. <constraint firstItem="Nbu-3T-s6e" firstAttribute="centerY" secondItem="EIe-qp-TsO" secondAttribute="centerY" id="Dov-kK-syB"/>
  86. <constraint firstItem="EIe-qp-TsO" firstAttribute="leading" secondItem="tFO-hR-fSY" secondAttribute="trailing" constant="6" id="ETt-w1-ZU5"/>
  87. <constraint firstItem="EIe-qp-TsO" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" constant="30" id="J92-sS-Hwf"/>
  88. <constraint firstItem="EIe-qp-TsO" firstAttribute="centerY" secondItem="tFO-hR-fSY" secondAttribute="centerY" id="ZdY-76-AKV"/>
  89. <constraint firstItem="QNi-gh-Evy" firstAttribute="trailing" secondItem="oQF-oZ-Pbs" secondAttribute="trailing" id="dYU-KQ-3GP"/>
  90. <constraint firstItem="ImZ-xL-12C" firstAttribute="centerY" secondItem="EIe-qp-TsO" secondAttribute="centerY" id="k4f-yA-IaN"/>
  91. <constraint firstItem="Nbu-3T-s6e" firstAttribute="leading" secondItem="ImZ-xL-12C" secondAttribute="leading" constant="6" id="oaE-qX-yfy"/>
  92. <constraint firstAttribute="trailing" secondItem="ImZ-xL-12C" secondAttribute="trailing" constant="14" id="p3s-MS-gkU"/>
  93. <constraint firstAttribute="trailing" secondItem="Kff-dl-GsO" secondAttribute="trailing" id="pVp-yG-Xlz"/>
  94. <constraint firstItem="Nbu-3T-s6e" firstAttribute="leading" secondItem="oQF-oZ-Pbs" secondAttribute="leading" id="sbR-d6-ncd"/>
  95. <constraint firstItem="Kff-dl-GsO" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="u1y-W4-PXG"/>
  96. <constraint firstItem="QNi-gh-Evy" firstAttribute="centerY" secondItem="EIe-qp-TsO" secondAttribute="centerY" id="yIg-fk-weo"/>
  97. </constraints>
  98. <nil key="simulatedTopBarMetrics"/>
  99. <nil key="simulatedBottomBarMetrics"/>
  100. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  101. <connections>
  102. <outlet property="videoContentView" destination="Kff-dl-GsO" id="fB7-RQ-UlM"/>
  103. </connections>
  104. <point key="canvasLocation" x="131.8840579710145" y="-155.02232142857142"/>
  105. </view>
  106. </objects>
  107. <resources>
  108. <image name="home_left" width="4" height="12"/>
  109. <image name="home_more" width="6" height="8"/>
  110. </resources>
  111. </document>