MusicChooseCell.xib 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  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" 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="22685"/>
  7. <capability name="Safe area layout guides" minToolsVersion="9.0"/>
  8. <capability name="System colors in document resources" minToolsVersion="11.0"/>
  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" selectionStyle="default" indentationWidth="10" rowHeight="143" id="KGk-i7-Jjw" customClass="MusicChooseCell">
  15. <rect key="frame" x="0.0" y="0.0" width="361" height="143"/>
  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="361" height="143"/>
  19. <autoresizingMask key="autoresizingMask"/>
  20. <subviews>
  21. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="zdT-Gq-o6h">
  22. <rect key="frame" x="14" y="0.0" width="333" height="131"/>
  23. <subviews>
  24. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="music_logo" translatesAutoresizingMaskIntoConstraints="NO" id="lnb-TA-sB1">
  25. <rect key="frame" x="11" y="10" width="41" height="40"/>
  26. <constraints>
  27. <constraint firstAttribute="height" constant="40" id="Nw3-MT-cdl"/>
  28. <constraint firstAttribute="width" constant="41" id="PeP-mM-PEf"/>
  29. </constraints>
  30. </imageView>
  31. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="野蜂飞舞" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="mBv-gA-1Xq">
  32. <rect key="frame" x="66" y="10" width="190" height="20"/>
  33. <constraints>
  34. <constraint firstAttribute="height" constant="20" id="Mqv-Xn-MfZ"/>
  35. </constraints>
  36. <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="14"/>
  37. <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
  38. <nil key="highlightedColor"/>
  39. </label>
  40. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="尼古拉·里姆斯基-科萨科夫" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="x14-lM-uEy">
  41. <rect key="frame" x="66" y="30" width="190" height="17"/>
  42. <constraints>
  43. <constraint firstAttribute="height" constant="17" id="LIC-qg-P7b"/>
  44. </constraints>
  45. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  46. <color key="textColor" red="0.41568627450000001" green="0.41568627450000001" blue="0.41568627450000001" alpha="1" colorSpace="calibratedRGB"/>
  47. <nil key="highlightedColor"/>
  48. </label>
  49. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ux3-4K-gVV">
  50. <rect key="frame" x="10" y="60" width="313" height="1"/>
  51. <color key="backgroundColor" red="0.94901960780000005" green="0.94901960780000005" blue="0.94901960780000005" alpha="1" colorSpace="calibratedRGB"/>
  52. <constraints>
  53. <constraint firstAttribute="height" constant="1" id="Bak-oD-PSf"/>
  54. </constraints>
  55. </view>
  56. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="teacher_avatar" translatesAutoresizingMaskIntoConstraints="NO" id="1jr-x0-lYx">
  57. <rect key="frame" x="18" y="69" width="20" height="20"/>
  58. <constraints>
  59. <constraint firstAttribute="height" constant="20" id="7hc-pB-NBU"/>
  60. <constraint firstAttribute="width" constant="20" id="Ar7-Fb-nZS"/>
  61. </constraints>
  62. <userDefinedRuntimeAttributes>
  63. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  64. <real key="value" value="10"/>
  65. </userDefinedRuntimeAttribute>
  66. </userDefinedRuntimeAttributes>
  67. </imageView>
  68. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="张老师" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="fpM-HP-ZbJ">
  69. <rect key="frame" x="45" y="71.5" width="37" height="15"/>
  70. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  71. <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
  72. <nil key="highlightedColor"/>
  73. </label>
  74. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Ppt-mW-U5C">
  75. <rect key="frame" x="90" y="71" width="233" height="16"/>
  76. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  77. <constraints>
  78. <constraint firstAttribute="height" constant="16" id="q7q-yz-zQL"/>
  79. </constraints>
  80. </view>
  81. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="music_free" translatesAutoresizingMaskIntoConstraints="NO" id="phL-s9-pqT">
  82. <rect key="frame" x="266" y="19" width="55" height="22"/>
  83. <constraints>
  84. <constraint firstAttribute="height" constant="22" id="6TN-ww-uz6"/>
  85. <constraint firstAttribute="width" constant="55" id="v2r-fp-Y99"/>
  86. </constraints>
  87. </imageView>
  88. </subviews>
  89. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  90. <constraints>
  91. <constraint firstItem="Ppt-mW-U5C" firstAttribute="centerY" secondItem="fpM-HP-ZbJ" secondAttribute="centerY" id="28n-HP-QaS"/>
  92. <constraint firstItem="ux3-4K-gVV" firstAttribute="leading" secondItem="zdT-Gq-o6h" secondAttribute="leading" constant="10" id="55p-dH-jxl"/>
  93. <constraint firstItem="phL-s9-pqT" firstAttribute="top" secondItem="zdT-Gq-o6h" secondAttribute="top" constant="19" id="8Qa-op-D8o"/>
  94. <constraint firstItem="ux3-4K-gVV" firstAttribute="top" secondItem="lnb-TA-sB1" secondAttribute="bottom" constant="10" id="AW3-eh-aAm"/>
  95. <constraint firstItem="phL-s9-pqT" firstAttribute="leading" secondItem="x14-lM-uEy" secondAttribute="trailing" constant="10" id="Jmr-IK-sB5"/>
  96. <constraint firstItem="Ppt-mW-U5C" firstAttribute="leading" secondItem="fpM-HP-ZbJ" secondAttribute="trailing" constant="8" id="KIm-DQ-rDy"/>
  97. <constraint firstItem="1jr-x0-lYx" firstAttribute="top" secondItem="ux3-4K-gVV" secondAttribute="bottom" constant="8" id="LC1-0k-7iJ"/>
  98. <constraint firstAttribute="trailing" secondItem="ux3-4K-gVV" secondAttribute="trailing" constant="10" id="Mmx-eb-uSx"/>
  99. <constraint firstItem="x14-lM-uEy" firstAttribute="leading" secondItem="mBv-gA-1Xq" secondAttribute="leading" id="PJw-HZ-fIq"/>
  100. <constraint firstAttribute="trailing" secondItem="Ppt-mW-U5C" secondAttribute="trailing" constant="10" id="Pee-bW-oZV"/>
  101. <constraint firstItem="lnb-TA-sB1" firstAttribute="top" secondItem="zdT-Gq-o6h" secondAttribute="top" constant="10" id="RNI-hT-lyW"/>
  102. <constraint firstItem="fpM-HP-ZbJ" firstAttribute="leading" secondItem="1jr-x0-lYx" secondAttribute="trailing" constant="7" id="Rk5-X7-v7T"/>
  103. <constraint firstItem="mBv-gA-1Xq" firstAttribute="top" secondItem="lnb-TA-sB1" secondAttribute="top" id="Rz5-kA-Br4"/>
  104. <constraint firstItem="fpM-HP-ZbJ" firstAttribute="centerY" secondItem="1jr-x0-lYx" secondAttribute="centerY" id="TZ9-iX-7ck"/>
  105. <constraint firstItem="mBv-gA-1Xq" firstAttribute="leading" secondItem="lnb-TA-sB1" secondAttribute="trailing" constant="14" id="a9M-fs-6c0"/>
  106. <constraint firstAttribute="trailing" secondItem="phL-s9-pqT" secondAttribute="trailing" constant="12" id="gVM-0q-onk"/>
  107. <constraint firstItem="phL-s9-pqT" firstAttribute="leading" secondItem="mBv-gA-1Xq" secondAttribute="trailing" constant="10" id="ijj-Ip-2xH"/>
  108. <constraint firstItem="1jr-x0-lYx" firstAttribute="leading" secondItem="zdT-Gq-o6h" secondAttribute="leading" constant="18" id="oxj-Fy-jhU"/>
  109. <constraint firstItem="x14-lM-uEy" firstAttribute="top" secondItem="mBv-gA-1Xq" secondAttribute="bottom" id="wpZ-2T-J8l"/>
  110. <constraint firstItem="lnb-TA-sB1" firstAttribute="leading" secondItem="zdT-Gq-o6h" secondAttribute="leading" constant="11" id="xFf-5v-cwD"/>
  111. </constraints>
  112. <userDefinedRuntimeAttributes>
  113. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  114. <real key="value" value="10"/>
  115. </userDefinedRuntimeAttribute>
  116. </userDefinedRuntimeAttributes>
  117. </view>
  118. </subviews>
  119. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  120. <constraints>
  121. <constraint firstItem="zdT-Gq-o6h" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" id="1i4-cm-jrg"/>
  122. <constraint firstAttribute="bottom" secondItem="zdT-Gq-o6h" secondAttribute="bottom" constant="12" id="4VH-Pi-gaO"/>
  123. <constraint firstItem="zdT-Gq-o6h" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="14" id="KU7-eB-yAW"/>
  124. <constraint firstAttribute="trailing" secondItem="zdT-Gq-o6h" secondAttribute="trailing" constant="14" id="Qca-8N-apf"/>
  125. </constraints>
  126. </tableViewCellContentView>
  127. <viewLayoutGuide key="safeArea" id="aW0-zy-SZf"/>
  128. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  129. <connections>
  130. <outlet property="bgView" destination="zdT-Gq-o6h" id="qPt-F9-bPE"/>
  131. <outlet property="songAuth" destination="x14-lM-uEy" id="C6q-cP-rZO"/>
  132. <outlet property="songName" destination="mBv-gA-1Xq" id="ZiQ-ic-ph6"/>
  133. <outlet property="tagView" destination="Ppt-mW-U5C" id="TiE-Xb-UZc"/>
  134. <outlet property="typeImage" destination="phL-s9-pqT" id="76J-zB-hZ8"/>
  135. <outlet property="uploaderLogo" destination="1jr-x0-lYx" id="j8j-OG-Axa"/>
  136. <outlet property="uploaderName" destination="fpM-HP-ZbJ" id="O9e-73-rcI"/>
  137. </connections>
  138. <point key="canvasLocation" x="161.59420289855075" y="112.83482142857142"/>
  139. </tableViewCell>
  140. </objects>
  141. <resources>
  142. <image name="music_free" width="55" height="22"/>
  143. <image name="music_logo" width="41" height="40"/>
  144. <image name="teacher_avatar" width="150" height="150"/>
  145. <systemColor name="systemBackgroundColor">
  146. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  147. </systemColor>
  148. </resources>
  149. </document>