musicCell.xib 9.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="32700.99.1234" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
  3. <device id="retina4_7" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="22684"/>
  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. <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="79" id="KGk-i7-Jjw" customClass="musicCell">
  13. <rect key="frame" x="0.0" y="0.0" width="319" height="79"/>
  14. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  15. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
  16. <rect key="frame" x="0.0" y="0.0" width="319" height="79"/>
  17. <autoresizingMask key="autoresizingMask"/>
  18. <subviews>
  19. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="zb6-nM-Gum">
  20. <rect key="frame" x="0.0" y="0.0" width="319" height="79"/>
  21. <subviews>
  22. <view hidden="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="nbp-2w-BSi">
  23. <rect key="frame" x="8" y="29.5" width="2" height="20"/>
  24. <color key="backgroundColor" red="0.58823529411764708" green="0.58823529411764708" blue="0.58823529411764708" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  25. <constraints>
  26. <constraint firstAttribute="width" constant="2" id="wgm-Ph-EBQ"/>
  27. <constraint firstAttribute="height" constant="20" id="yY4-4y-PxI"/>
  28. </constraints>
  29. </view>
  30. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" verticalHuggingPriority="251" text="歌名" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Ca8-bN-Fh9">
  31. <rect key="frame" x="15" y="15" width="33" height="19.5"/>
  32. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  33. <color key="textColor" red="0.10196078431372549" green="0.10196078431372549" blue="0.10196078431372549" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  34. <nil key="highlightedColor"/>
  35. </label>
  36. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" verticalHuggingPriority="251" text="歌手" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="4Zg-DK-JaQ">
  37. <rect key="frame" x="15" y="44.5" width="33" height="16"/>
  38. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  39. <color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  40. <nil key="highlightedColor"/>
  41. </label>
  42. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="04:50" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="9Km-BV-wVc">
  43. <rect key="frame" x="68" y="45.5" width="34.5" height="14.5"/>
  44. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  45. <color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  46. <nil key="highlightedColor"/>
  47. </label>
  48. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="PN2-lm-gil">
  49. <rect key="frame" x="284" y="30" width="16" height="19"/>
  50. <constraints>
  51. <constraint firstAttribute="width" constant="16" id="ITX-Xv-7aR"/>
  52. <constraint firstAttribute="height" constant="19" id="mLg-29-3ae"/>
  53. </constraints>
  54. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  55. <state key="normal" title="Button" image="未播"/>
  56. <state key="selected" image="播放中"/>
  57. <connections>
  58. <action selector="clickMusic:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="KNJ-lP-gPI"/>
  59. </connections>
  60. </button>
  61. </subviews>
  62. <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  63. <constraints>
  64. <constraint firstItem="4Zg-DK-JaQ" firstAttribute="leading" secondItem="Ca8-bN-Fh9" secondAttribute="leading" id="8fF-NS-l2e"/>
  65. <constraint firstItem="nbp-2w-BSi" firstAttribute="centerY" secondItem="zb6-nM-Gum" secondAttribute="centerY" id="ALP-NC-gcZ"/>
  66. <constraint firstItem="Ca8-bN-Fh9" firstAttribute="leading" secondItem="nbp-2w-BSi" secondAttribute="trailing" constant="5" id="HaS-0p-SPk"/>
  67. <constraint firstItem="Ca8-bN-Fh9" firstAttribute="top" secondItem="zb6-nM-Gum" secondAttribute="top" constant="15" id="Hrk-7O-JsB"/>
  68. <constraint firstItem="PN2-lm-gil" firstAttribute="centerY" secondItem="zb6-nM-Gum" secondAttribute="centerY" id="JAX-BE-7if"/>
  69. <constraint firstItem="4Zg-DK-JaQ" firstAttribute="trailing" secondItem="Ca8-bN-Fh9" secondAttribute="trailing" id="Jk5-tL-fi1"/>
  70. <constraint firstItem="9Km-BV-wVc" firstAttribute="leading" secondItem="4Zg-DK-JaQ" secondAttribute="trailing" constant="20" id="MOS-fN-cRc"/>
  71. <constraint firstItem="9Km-BV-wVc" firstAttribute="centerY" secondItem="4Zg-DK-JaQ" secondAttribute="centerY" id="bvL-IN-BaN"/>
  72. <constraint firstItem="nbp-2w-BSi" firstAttribute="leading" secondItem="zb6-nM-Gum" secondAttribute="leading" constant="8" id="cMo-mw-Pua"/>
  73. <constraint firstItem="4Zg-DK-JaQ" firstAttribute="top" secondItem="Ca8-bN-Fh9" secondAttribute="bottom" constant="10" id="caj-re-AjR"/>
  74. <constraint firstAttribute="trailing" secondItem="PN2-lm-gil" secondAttribute="trailing" constant="19" id="ngy-Ma-lhG"/>
  75. </constraints>
  76. </view>
  77. </subviews>
  78. <constraints>
  79. <constraint firstItem="zb6-nM-Gum" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" id="Ckg-2B-7tr"/>
  80. <constraint firstItem="zb6-nM-Gum" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" id="Gcw-Iv-8YQ"/>
  81. <constraint firstAttribute="trailing" secondItem="zb6-nM-Gum" secondAttribute="trailing" id="W24-l5-ijO"/>
  82. <constraint firstAttribute="bottom" secondItem="zb6-nM-Gum" secondAttribute="bottom" id="w64-2P-gyX"/>
  83. </constraints>
  84. </tableViewCellContentView>
  85. <connections>
  86. <outlet property="mlong" destination="9Km-BV-wVc" id="2sy-Mx-Urt"/>
  87. <outlet property="mname" destination="Ca8-bN-Fh9" id="7Yv-R6-gfd"/>
  88. <outlet property="msonger" destination="4Zg-DK-JaQ" id="kGd-h8-DWz"/>
  89. <outlet property="playBtn" destination="PN2-lm-gil" id="3FD-xC-yNJ"/>
  90. </connections>
  91. <point key="canvasLocation" x="84" y="266.71664167916043"/>
  92. </tableViewCell>
  93. </objects>
  94. <resources>
  95. <image name="播放中" width="16" height="19"/>
  96. <image name="未播" width="16" height="19"/>
  97. </resources>
  98. </document>