MusicCell.xib 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14460.31" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
  3. <device id="retina4_7" orientation="portrait">
  4. <adaptation id="fullscreen"/>
  5. </device>
  6. <dependencies>
  7. <deployment identifier="iOS"/>
  8. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14460.20"/>
  9. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  10. </dependencies>
  11. <objects>
  12. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  13. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  14. <tableViewCell contentMode="scaleToFill" restorationIdentifier="MusicCell" selectionStyle="default" indentationWidth="10" rowHeight="137" id="KGk-i7-Jjw" customClass="MusicCell">
  15. <rect key="frame" x="0.0" y="0.0" width="341" height="137"/>
  16. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  17. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
  18. <rect key="frame" x="0.0" y="0.0" width="341" height="136.5"/>
  19. <autoresizingMask key="autoresizingMask"/>
  20. <subviews>
  21. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="xGv-eh-3DM" userLabel="撑起开拍按钮顶部80的高度,方便点击时显示开拍按钮">
  22. <rect key="frame" x="0.0" y="0.0" width="341" height="80"/>
  23. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  24. <constraints>
  25. <constraint firstAttribute="height" constant="80" id="Yqn-EY-Fss"/>
  26. </constraints>
  27. </view>
  28. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="gIE-4U-PWs" userLabel="封面">
  29. <rect key="frame" x="15" y="10" width="60" height="60"/>
  30. <constraints>
  31. <constraint firstAttribute="width" constant="60" id="XNK-1l-k5U"/>
  32. <constraint firstAttribute="width" secondItem="gIE-4U-PWs" secondAttribute="height" multiplier="1:1" id="ffB-Zc-T59"/>
  33. </constraints>
  34. <userDefinedRuntimeAttributes>
  35. <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/>
  36. <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
  37. <integer key="value" value="5"/>
  38. </userDefinedRuntimeAttribute>
  39. </userDefinedRuntimeAttributes>
  40. </imageView>
  41. <button opaque="NO" userInteractionEnabled="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="r8l-dg-Prc" userLabel="播放状态">
  42. <rect key="frame" x="35" y="30" width="20" height="20"/>
  43. <constraints>
  44. <constraint firstAttribute="width" constant="20" id="Tlh-EQ-0TN"/>
  45. <constraint firstAttribute="width" secondItem="r8l-dg-Prc" secondAttribute="height" multiplier="1:1" id="fQk-yo-gTM"/>
  46. </constraints>
  47. <state key="normal" title="Button"/>
  48. </button>
  49. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Bmy-Jm-IiH" userLabel="音乐名称">
  50. <rect key="frame" x="85" y="10" width="37.5" height="20"/>
  51. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  52. <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
  53. <nil key="highlightedColor"/>
  54. </label>
  55. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Mv2-6G-kLV" userLabel="歌手">
  56. <rect key="frame" x="85" y="30" width="33" height="20"/>
  57. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  58. <color key="textColor" red="0.5490196078431373" green="0.5490196078431373" blue="0.5490196078431373" alpha="1" colorSpace="calibratedRGB"/>
  59. <nil key="highlightedColor"/>
  60. </label>
  61. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="MYS-hC-ZPE" userLabel="时间">
  62. <rect key="frame" x="85" y="50" width="33" height="20"/>
  63. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  64. <color key="textColor" red="0.5490196078431373" green="0.5490196078431373" blue="0.5490196078431373" alpha="1" colorSpace="calibratedRGB"/>
  65. <nil key="highlightedColor"/>
  66. </label>
  67. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="jhu-Xv-EKO" userLabel="收藏">
  68. <rect key="frame" x="296" y="25" width="30" height="30"/>
  69. <constraints>
  70. <constraint firstAttribute="height" constant="30" id="GdU-Uh-75f"/>
  71. <constraint firstAttribute="width" constant="30" id="LBX-HQ-h9G"/>
  72. </constraints>
  73. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  74. <state key="normal">
  75. <color key="titleColor" red="0.91764705882352937" green="0.21568627450980393" blue="0.44313725490196076" alpha="1" colorSpace="calibratedRGB"/>
  76. </state>
  77. <connections>
  78. <action selector="clickUseBtn:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="WDT-te-mpo"/>
  79. </connections>
  80. </button>
  81. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Qb1-pK-LUl" userLabel="line">
  82. <rect key="frame" x="0.0" y="135.5" width="341" height="0.5"/>
  83. <color key="backgroundColor" red="1" green="1" blue="1" alpha="0.059999999999999998" colorSpace="calibratedRGB"/>
  84. <constraints>
  85. <constraint firstAttribute="height" constant="0.5" id="sNC-i5-PH7"/>
  86. </constraints>
  87. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  88. <nil key="textColor"/>
  89. <nil key="highlightedColor"/>
  90. </label>
  91. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="y53-MI-hwg" userLabel="开拍">
  92. <rect key="frame" x="15" y="80" width="311" height="45"/>
  93. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  94. <constraints>
  95. <constraint firstAttribute="height" constant="45" id="83v-kl-UcE"/>
  96. </constraints>
  97. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  98. <inset key="titleEdgeInsets" minX="2" minY="0.0" maxX="0.0" maxY="0.0"/>
  99. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2" maxY="0.0"/>
  100. <state key="normal" title="确认使用并开拍" image="music_startrecord.png"/>
  101. <connections>
  102. <action selector="clickStartRecordBtn:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="pJ3-Z8-mIQ"/>
  103. </connections>
  104. </button>
  105. </subviews>
  106. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  107. <constraints>
  108. <constraint firstItem="gIE-4U-PWs" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="10" id="21B-tz-AHr"/>
  109. <constraint firstAttribute="trailing" secondItem="jhu-Xv-EKO" secondAttribute="trailing" constant="15" id="B6B-gt-XtR"/>
  110. <constraint firstItem="Bmy-Jm-IiH" firstAttribute="leading" secondItem="gIE-4U-PWs" secondAttribute="trailing" constant="10" id="C9b-2S-SHi"/>
  111. <constraint firstItem="gIE-4U-PWs" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="15" id="DhJ-hc-PNE"/>
  112. <constraint firstItem="r8l-dg-Prc" firstAttribute="centerX" secondItem="gIE-4U-PWs" secondAttribute="centerX" id="EHh-U3-n97"/>
  113. <constraint firstItem="Bmy-Jm-IiH" firstAttribute="width" relation="lessThanOrEqual" secondItem="H2p-sc-9uM" secondAttribute="width" multiplier="1/2" id="HBU-nK-CjY"/>
  114. <constraint firstItem="xGv-eh-3DM" firstAttribute="width" secondItem="H2p-sc-9uM" secondAttribute="width" id="Hr1-CC-yhh"/>
  115. <constraint firstItem="y53-MI-hwg" firstAttribute="centerX" secondItem="H2p-sc-9uM" secondAttribute="centerX" id="K4q-nA-N1W"/>
  116. <constraint firstItem="jhu-Xv-EKO" firstAttribute="centerY" secondItem="gIE-4U-PWs" secondAttribute="centerY" id="K64-ge-XF3"/>
  117. <constraint firstItem="Mv2-6G-kLV" firstAttribute="height" secondItem="Bmy-Jm-IiH" secondAttribute="height" id="ONp-R9-9Zi"/>
  118. <constraint firstAttribute="bottom" secondItem="Qb1-pK-LUl" secondAttribute="bottom" constant="0.5" id="OTd-7W-w64"/>
  119. <constraint firstItem="r8l-dg-Prc" firstAttribute="centerY" secondItem="gIE-4U-PWs" secondAttribute="centerY" id="PJW-Zq-ujJ"/>
  120. <constraint firstItem="Mv2-6G-kLV" firstAttribute="width" relation="lessThanOrEqual" secondItem="H2p-sc-9uM" secondAttribute="width" multiplier="1/2" id="Rbj-ww-SgN"/>
  121. <constraint firstItem="Bmy-Jm-IiH" firstAttribute="height" secondItem="gIE-4U-PWs" secondAttribute="height" multiplier="1/3" id="Vdi-c6-3pG"/>
  122. <constraint firstItem="MYS-hC-ZPE" firstAttribute="height" secondItem="Mv2-6G-kLV" secondAttribute="height" id="bMg-6s-EM8"/>
  123. <constraint firstItem="MYS-hC-ZPE" firstAttribute="width" relation="lessThanOrEqual" secondItem="H2p-sc-9uM" secondAttribute="width" multiplier="1/2" id="cOK-AT-lll"/>
  124. <constraint firstItem="y53-MI-hwg" firstAttribute="width" secondItem="H2p-sc-9uM" secondAttribute="width" constant="-30" id="cTL-Z6-lbm"/>
  125. <constraint firstItem="Bmy-Jm-IiH" firstAttribute="top" secondItem="gIE-4U-PWs" secondAttribute="top" id="ccP-wQ-IfN"/>
  126. <constraint firstItem="MYS-hC-ZPE" firstAttribute="leading" secondItem="Mv2-6G-kLV" secondAttribute="leading" id="fNq-ub-K2D"/>
  127. <constraint firstItem="xGv-eh-3DM" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" id="mCd-kc-GuI"/>
  128. <constraint firstItem="Mv2-6G-kLV" firstAttribute="leading" secondItem="Bmy-Jm-IiH" secondAttribute="leading" id="n4P-g4-gMX"/>
  129. <constraint firstItem="Mv2-6G-kLV" firstAttribute="top" secondItem="Bmy-Jm-IiH" secondAttribute="bottom" id="prZ-xa-KbT"/>
  130. <constraint firstItem="y53-MI-hwg" firstAttribute="top" secondItem="xGv-eh-3DM" secondAttribute="bottom" id="rxY-jS-sEC"/>
  131. <constraint firstItem="Qb1-pK-LUl" firstAttribute="centerX" secondItem="H2p-sc-9uM" secondAttribute="centerX" id="uGr-ww-D2t"/>
  132. <constraint firstItem="Qb1-pK-LUl" firstAttribute="width" secondItem="H2p-sc-9uM" secondAttribute="width" id="uzI-dX-ffT"/>
  133. <constraint firstItem="MYS-hC-ZPE" firstAttribute="top" secondItem="Mv2-6G-kLV" secondAttribute="bottom" id="xDs-Cs-zD4"/>
  134. <constraint firstItem="xGv-eh-3DM" firstAttribute="centerX" secondItem="H2p-sc-9uM" secondAttribute="centerX" id="yXe-FV-xN3"/>
  135. </constraints>
  136. </tableViewCellContentView>
  137. <connections>
  138. <outlet property="StateBtn" destination="r8l-dg-Prc" id="Tr5-cW-ymD"/>
  139. <outlet property="bgIV" destination="gIE-4U-PWs" id="y89-7r-DRx"/>
  140. <outlet property="musicNameL" destination="Bmy-Jm-IiH" id="7ld-Xe-n6B"/>
  141. <outlet property="singerL" destination="Mv2-6G-kLV" id="B5v-0L-Xzc"/>
  142. <outlet property="startRecoedBtn" destination="y53-MI-hwg" id="1CH-SJ-BZ4"/>
  143. <outlet property="timeL" destination="MYS-hC-ZPE" id="zqT-sv-KJs"/>
  144. <outlet property="topBgV" destination="xGv-eh-3DM" id="CKq-0j-Q4y"/>
  145. <outlet property="useBtn" destination="jhu-Xv-EKO" id="Ai4-Gh-scJ"/>
  146. </connections>
  147. <point key="canvasLocation" x="49.5" y="107.5"/>
  148. </tableViewCell>
  149. </objects>
  150. <resources>
  151. <image name="music_startrecord.png" width="20" height="20"/>
  152. </resources>
  153. </document>