HomeHotMusicView.xib 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  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="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. <view contentMode="scaleToFill" id="iN0-l3-epB" customClass="HomeHotMusicView">
  14. <rect key="frame" x="0.0" y="0.0" width="414" height="304"/>
  15. <autoresizingMask key="autoresizingMask"/>
  16. <subviews>
  17. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="aLQ-YK-tTY">
  18. <rect key="frame" x="355" y="32" width="45" height="18"/>
  19. <color key="backgroundColor" red="0.94901960780000005" green="0.94901960780000005" blue="0.94901960780000005" alpha="1" colorSpace="calibratedRGB"/>
  20. <constraints>
  21. <constraint firstAttribute="height" constant="18" id="GeK-bh-mkr"/>
  22. </constraints>
  23. <userDefinedRuntimeAttributes>
  24. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  25. <real key="value" value="9"/>
  26. </userDefinedRuntimeAttribute>
  27. </userDefinedRuntimeAttributes>
  28. </view>
  29. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="热门曲目" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="t7j-WY-6gF">
  30. <rect key="frame" x="24" y="30" width="73.5" height="22"/>
  31. <constraints>
  32. <constraint firstAttribute="height" constant="22" id="5Zd-6z-MkK"/>
  33. </constraints>
  34. <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="18"/>
  35. <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
  36. <nil key="highlightedColor"/>
  37. </label>
  38. <button opaque="NO" tag="1008" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="3Up-TV-A6N">
  39. <rect key="frame" x="361" y="26" width="34" height="30"/>
  40. <constraints>
  41. <constraint firstAttribute="height" constant="30" id="ZOa-30-rEf"/>
  42. </constraints>
  43. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="14"/>
  44. <state key="normal">
  45. <color key="titleColor" red="0.46666666670000001" green="0.46666666670000001" blue="0.46666666670000001" alpha="0.84705882349999995" colorSpace="calibratedRGB"/>
  46. </state>
  47. <connections>
  48. <action selector="moreMusic:" destination="iN0-l3-epB" eventType="touchUpInside" id="La7-fL-IFl"/>
  49. </connections>
  50. </button>
  51. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="更多" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="2OG-Ff-YNg">
  52. <rect key="frame" x="361" y="34" 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. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="home_more" translatesAutoresizingMaskIntoConstraints="NO" id="RXl-RQ-VTX">
  58. <rect key="frame" x="389" y="37" width="6" height="8"/>
  59. <constraints>
  60. <constraint firstAttribute="height" constant="8" id="3dv-t9-A1y"/>
  61. <constraint firstAttribute="width" constant="6" id="9Vz-LP-ovZ"/>
  62. </constraints>
  63. </imageView>
  64. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="home_left" translatesAutoresizingMaskIntoConstraints="NO" id="DQd-nL-Wor">
  65. <rect key="frame" x="14" y="32" width="4" height="18"/>
  66. <constraints>
  67. <constraint firstAttribute="height" constant="18" id="rlt-cd-KJy"/>
  68. <constraint firstAttribute="width" constant="4" id="ysI-kO-iNt"/>
  69. </constraints>
  70. </imageView>
  71. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="5PX-DV-Tle">
  72. <rect key="frame" x="0.0" y="64" width="414" height="240"/>
  73. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  74. <constraints>
  75. <constraint firstAttribute="height" constant="240" id="q68-6v-m4R"/>
  76. </constraints>
  77. </view>
  78. </subviews>
  79. <viewLayoutGuide key="safeArea" id="vUN-kp-3ea"/>
  80. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  81. <constraints>
  82. <constraint firstItem="2OG-Ff-YNg" firstAttribute="leading" secondItem="3Up-TV-A6N" secondAttribute="leading" id="3IU-bV-Bwj"/>
  83. <constraint firstItem="5PX-DV-Tle" firstAttribute="leading" secondItem="vUN-kp-3ea" secondAttribute="leading" id="4lU-fp-zTR"/>
  84. <constraint firstItem="2OG-Ff-YNg" firstAttribute="leading" secondItem="aLQ-YK-tTY" secondAttribute="leading" constant="6" id="4mW-s8-Ipb"/>
  85. <constraint firstItem="vUN-kp-3ea" firstAttribute="trailing" secondItem="aLQ-YK-tTY" secondAttribute="trailing" constant="14" id="4xK-PM-d0A"/>
  86. <constraint firstItem="RXl-RQ-VTX" firstAttribute="trailing" secondItem="3Up-TV-A6N" secondAttribute="trailing" id="8dG-Ih-dcP"/>
  87. <constraint firstItem="t7j-WY-6gF" firstAttribute="leading" secondItem="DQd-nL-Wor" secondAttribute="trailing" constant="6" id="987-JH-aK9"/>
  88. <constraint firstItem="5PX-DV-Tle" firstAttribute="top" secondItem="t7j-WY-6gF" secondAttribute="bottom" constant="12" id="9L4-j0-7Ud"/>
  89. <constraint firstItem="RXl-RQ-VTX" firstAttribute="leading" secondItem="2OG-Ff-YNg" secondAttribute="trailing" constant="3" id="F0y-dt-dXp"/>
  90. <constraint firstItem="t7j-WY-6gF" firstAttribute="centerY" secondItem="DQd-nL-Wor" secondAttribute="centerY" id="HJc-jv-RnT"/>
  91. <constraint firstItem="3Up-TV-A6N" firstAttribute="centerY" secondItem="t7j-WY-6gF" secondAttribute="centerY" id="Rcz-ki-VEq"/>
  92. <constraint firstItem="RXl-RQ-VTX" firstAttribute="centerY" secondItem="t7j-WY-6gF" secondAttribute="centerY" id="VZ0-9S-Lac"/>
  93. <constraint firstItem="t7j-WY-6gF" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" constant="30" id="Vsf-3w-ngf"/>
  94. <constraint firstItem="aLQ-YK-tTY" firstAttribute="centerY" secondItem="2OG-Ff-YNg" secondAttribute="centerY" id="WuF-B0-7jc"/>
  95. <constraint firstItem="RXl-RQ-VTX" firstAttribute="trailing" secondItem="aLQ-YK-tTY" secondAttribute="trailing" constant="-5" id="aJ8-A6-XsG"/>
  96. <constraint firstItem="DQd-nL-Wor" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="14" id="e2G-Q7-sFN"/>
  97. <constraint firstItem="5PX-DV-Tle" firstAttribute="trailing" secondItem="vUN-kp-3ea" secondAttribute="trailing" id="qak-uV-tbh"/>
  98. <constraint firstItem="2OG-Ff-YNg" firstAttribute="centerY" secondItem="t7j-WY-6gF" secondAttribute="centerY" id="x6Q-2j-qka"/>
  99. </constraints>
  100. <nil key="simulatedTopBarMetrics"/>
  101. <nil key="simulatedBottomBarMetrics"/>
  102. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  103. <connections>
  104. <outlet property="musicContentView" destination="5PX-DV-Tle" id="82H-ul-c1D"/>
  105. </connections>
  106. <point key="canvasLocation" x="100.00000000000001" y="-36.160714285714285"/>
  107. </view>
  108. </objects>
  109. <resources>
  110. <image name="home_left" width="4" height="12"/>
  111. <image name="home_more" width="6" height="8"/>
  112. </resources>
  113. </document>