HomeRecommendMusicView.xib 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="23504" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
  3. <device id="retina6_0" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="23506"/>
  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="HomeRecommendMusicView">
  13. <rect key="frame" x="0.0" y="0.0" width="390" height="376"/>
  14. <autoresizingMask key="autoresizingMask"/>
  15. <subviews>
  16. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="gSD-Yz-KRC">
  17. <rect key="frame" x="332" y="23" width="44" height="18"/>
  18. <color key="backgroundColor" red="0.1764705882" green="0.78039215689999997" blue="0.66666666669999997" alpha="0.10000000000000001" colorSpace="calibratedRGB"/>
  19. <constraints>
  20. <constraint firstAttribute="height" constant="18" id="kBH-qS-EqY"/>
  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="4Gb-9V-Vs2">
  29. <rect key="frame" x="24" y="20" width="67.666666666666671" height="24"/>
  30. <constraints>
  31. <constraint firstAttribute="height" constant="24" id="j7f-c1-B4o"/>
  32. </constraints>
  33. <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="17"/>
  34. <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  35. <nil key="highlightedColor"/>
  36. </label>
  37. <button opaque="NO" tag="1008" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="0Ql-Fk-cYb">
  38. <rect key="frame" x="338" y="17" width="33" height="30"/>
  39. <constraints>
  40. <constraint firstAttribute="height" constant="30" id="t0v-AC-yCX"/>
  41. </constraints>
  42. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="14"/>
  43. <state key="normal">
  44. <color key="titleColor" red="0.46666666670000001" green="0.46666666670000001" blue="0.46666666670000001" alpha="0.84705882349999995" colorSpace="calibratedRGB"/>
  45. </state>
  46. <connections>
  47. <action selector="moreMusic:" destination="iN0-l3-epB" eventType="touchUpInside" id="nbh-dJ-kNs"/>
  48. </connections>
  49. </button>
  50. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="更多" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Mli-0b-3pS">
  51. <rect key="frame" x="338" y="24.666666666666668" width="24" height="14.666666666666668"/>
  52. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  53. <color key="textColor" red="0.1764705882" green="0.78039215689999997" blue="0.66666666669999997" alpha="1" colorSpace="calibratedRGB"/>
  54. <nil key="highlightedColor"/>
  55. </label>
  56. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="home_more_green" translatesAutoresizingMaskIntoConstraints="NO" id="IEk-2m-N7I">
  57. <rect key="frame" x="365" y="28" width="6" height="8"/>
  58. <constraints>
  59. <constraint firstAttribute="width" constant="6" id="byI-Z3-gT0"/>
  60. <constraint firstAttribute="height" constant="8" id="qoy-h5-4Bu"/>
  61. </constraints>
  62. </imageView>
  63. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="home_left" translatesAutoresizingMaskIntoConstraints="NO" id="Te8-hi-wDF">
  64. <rect key="frame" x="14" y="24.666666666666671" width="4" height="15"/>
  65. </imageView>
  66. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="sOs-N5-Dh3">
  67. <rect key="frame" x="0.0" y="56" width="390" height="320"/>
  68. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  69. <constraints>
  70. <constraint firstAttribute="height" constant="320" id="J92-zM-Vmh"/>
  71. </constraints>
  72. </view>
  73. </subviews>
  74. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  75. <constraints>
  76. <constraint firstItem="Mli-0b-3pS" firstAttribute="leading" secondItem="0Ql-Fk-cYb" secondAttribute="leading" id="6pf-y6-Wao"/>
  77. <constraint firstItem="Mli-0b-3pS" firstAttribute="centerY" secondItem="4Gb-9V-Vs2" secondAttribute="centerY" id="7BW-Dc-nmW"/>
  78. <constraint firstItem="gSD-Yz-KRC" firstAttribute="centerY" secondItem="Mli-0b-3pS" secondAttribute="centerY" id="837-8X-pmv"/>
  79. <constraint firstItem="Te8-hi-wDF" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="14" id="8cI-bD-Tsc"/>
  80. <constraint firstItem="IEk-2m-N7I" firstAttribute="leading" secondItem="Mli-0b-3pS" secondAttribute="trailing" constant="3" id="9Qa-kh-8Ez"/>
  81. <constraint firstItem="IEk-2m-N7I" firstAttribute="trailing" secondItem="gSD-Yz-KRC" secondAttribute="trailing" constant="-5" id="AKW-PK-EIG"/>
  82. <constraint firstItem="4Gb-9V-Vs2" firstAttribute="leading" secondItem="Te8-hi-wDF" secondAttribute="trailing" constant="6" id="EPn-Mj-O3D"/>
  83. <constraint firstAttribute="trailing" secondItem="gSD-Yz-KRC" secondAttribute="trailing" constant="14" id="JMj-P1-q8L"/>
  84. <constraint firstItem="sOs-N5-Dh3" firstAttribute="top" secondItem="4Gb-9V-Vs2" secondAttribute="bottom" constant="12" id="NSD-UZ-gFO"/>
  85. <constraint firstItem="4Gb-9V-Vs2" firstAttribute="centerY" secondItem="Te8-hi-wDF" secondAttribute="centerY" id="Pj3-mD-xum"/>
  86. <constraint firstItem="4Gb-9V-Vs2" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" constant="20" id="Pt2-sD-VP8"/>
  87. <constraint firstItem="IEk-2m-N7I" firstAttribute="centerY" secondItem="4Gb-9V-Vs2" secondAttribute="centerY" id="TpR-es-wzb"/>
  88. <constraint firstItem="Mli-0b-3pS" firstAttribute="leading" secondItem="gSD-Yz-KRC" secondAttribute="leading" constant="6" id="VFz-yi-c52"/>
  89. <constraint firstItem="sOs-N5-Dh3" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="Yn3-lz-qgY"/>
  90. <constraint firstAttribute="trailing" secondItem="sOs-N5-Dh3" secondAttribute="trailing" id="ZKj-Zg-Isk"/>
  91. <constraint firstItem="IEk-2m-N7I" firstAttribute="trailing" secondItem="0Ql-Fk-cYb" secondAttribute="trailing" id="crv-Dd-v7v"/>
  92. <constraint firstItem="0Ql-Fk-cYb" firstAttribute="centerY" secondItem="4Gb-9V-Vs2" secondAttribute="centerY" id="goy-VI-GLl"/>
  93. </constraints>
  94. <nil key="simulatedTopBarMetrics"/>
  95. <nil key="simulatedBottomBarMetrics"/>
  96. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  97. <connections>
  98. <outlet property="musicContentView" destination="sOs-N5-Dh3" id="ara-7Z-J8V"/>
  99. </connections>
  100. <point key="canvasLocation" x="101.53846153846153" y="-82.464454976303315"/>
  101. </view>
  102. </objects>
  103. <resources>
  104. <image name="home_left" width="4" height="15"/>
  105. <image name="home_more_green" width="5" height="8"/>
  106. </resources>
  107. </document>