MusicHeaderCell.xib 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14113" 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="14088"/>
  9. <capability name="Aspect ratio constraints" minToolsVersion="5.1"/>
  10. <capability name="Constraints with non-1.0 multipliers" minToolsVersion="5.1"/>
  11. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  12. </dependencies>
  13. <objects>
  14. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  15. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  16. <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" id="gTV-IL-0wX" customClass="MusicHeaderCell">
  17. <rect key="frame" x="0.0" y="0.0" width="112" height="109"/>
  18. <autoresizingMask key="autoresizingMask"/>
  19. <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
  20. <rect key="frame" x="0.0" y="0.0" width="112" height="109"/>
  21. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  22. <subviews>
  23. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="FtM-ZX-9ar" userLabel="图片">
  24. <rect key="frame" x="26.5" y="0.0" width="59.5" height="60"/>
  25. <constraints>
  26. <constraint firstAttribute="width" secondItem="FtM-ZX-9ar" secondAttribute="height" multiplier="1:1" id="ixN-53-ZV2"/>
  27. </constraints>
  28. </imageView>
  29. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="8Ke-Jn-6gm" userLabel="标题">
  30. <rect key="frame" x="0.0" y="60" width="112" height="49"/>
  31. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  32. <color key="textColor" red="0.5490196078431373" green="0.5490196078431373" blue="0.5490196078431373" alpha="1" colorSpace="calibratedRGB"/>
  33. <nil key="highlightedColor"/>
  34. </label>
  35. </subviews>
  36. </view>
  37. <constraints>
  38. <constraint firstItem="FtM-ZX-9ar" firstAttribute="height" secondItem="gTV-IL-0wX" secondAttribute="height" multiplier="0.55" id="18M-iD-vci"/>
  39. <constraint firstItem="FtM-ZX-9ar" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" id="2hk-iv-Fp2"/>
  40. <constraint firstItem="8Ke-Jn-6gm" firstAttribute="height" secondItem="gTV-IL-0wX" secondAttribute="height" multiplier="0.45" id="98I-Uz-T5c"/>
  41. <constraint firstItem="8Ke-Jn-6gm" firstAttribute="width" secondItem="gTV-IL-0wX" secondAttribute="width" id="E7x-Ig-5MH"/>
  42. <constraint firstItem="8Ke-Jn-6gm" firstAttribute="top" secondItem="FtM-ZX-9ar" secondAttribute="bottom" id="YGm-9g-2ag"/>
  43. <constraint firstItem="FtM-ZX-9ar" firstAttribute="centerX" secondItem="gTV-IL-0wX" secondAttribute="centerX" id="lsa-eH-fCr"/>
  44. <constraint firstItem="8Ke-Jn-6gm" firstAttribute="centerX" secondItem="gTV-IL-0wX" secondAttribute="centerX" id="pXF-en-tLf"/>
  45. </constraints>
  46. <size key="customSize" width="112" height="109"/>
  47. <connections>
  48. <outlet property="coverIV" destination="FtM-ZX-9ar" id="LgU-xT-rAO"/>
  49. <outlet property="titleL" destination="8Ke-Jn-6gm" id="rRj-0L-lc1"/>
  50. </connections>
  51. <point key="canvasLocation" x="65" y="16.5"/>
  52. </collectionViewCell>
  53. </objects>
  54. </document>