MediaCollectionViewCell.xib 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14490.70" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="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="14490.49"/>
  9. <capability name="Safe area layout guides" minToolsVersion="9.0"/>
  10. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  11. </dependencies>
  12. <objects>
  13. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  14. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  15. <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" id="OaX-w0-CLr" userLabel="MediaCollectionViewCell" customClass="MediaCollectionViewCell" customModule="VLC" customModuleProvider="target">
  16. <rect key="frame" x="0.0" y="0.0" width="480" height="80"/>
  17. <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/>
  18. <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO">
  19. <rect key="frame" x="0.0" y="0.0" width="480" height="80"/>
  20. <autoresizingMask key="autoresizingMask"/>
  21. <subviews>
  22. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="bhw-Aa-3Q7">
  23. <rect key="frame" x="0.0" y="0.0" width="480" height="80"/>
  24. <subviews>
  25. <stackView opaque="NO" contentMode="scaleToFill" alignment="center" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="jwA-4O-tgL">
  26. <rect key="frame" x="0.0" y="0.0" width="480" height="80"/>
  27. <subviews>
  28. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="249" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="DpW-xo-rll" userLabel="Thumbnail">
  29. <rect key="frame" x="0.0" y="12" width="56" height="56"/>
  30. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  31. <constraints>
  32. <constraint firstAttribute="width" secondItem="DpW-xo-rll" secondAttribute="height" multiplier="1:1" id="K1w-Z8-Rbn"/>
  33. <constraint firstAttribute="width" constant="56" id="vgz-Bg-lit"/>
  34. </constraints>
  35. </imageView>
  36. <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="4" translatesAutoresizingMaskIntoConstraints="NO" id="HHK-jR-WLx">
  37. <rect key="frame" x="64" y="12" width="416" height="56.5"/>
  38. <subviews>
  39. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="new" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Klo-Bq-5nI" userLabel="NewLabel">
  40. <rect key="frame" x="0.0" y="0.0" width="416" height="12"/>
  41. <fontDescription key="fontDescription" type="boldSystem" pointSize="10"/>
  42. <nil key="textColor"/>
  43. <nil key="highlightedColor"/>
  44. </label>
  45. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="252" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Zkn-vN-SN4" userLabel="Titlelabel">
  46. <rect key="frame" x="0.0" y="16" width="416" height="20.5"/>
  47. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="17"/>
  48. <nil key="textColor"/>
  49. <nil key="highlightedColor"/>
  50. </label>
  51. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="5N8-js-t0W" userLabel="descriptionLabel">
  52. <rect key="frame" x="0.0" y="40.5" width="416" height="16"/>
  53. <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="13"/>
  54. <nil key="textColor"/>
  55. <nil key="highlightedColor"/>
  56. </label>
  57. </subviews>
  58. </stackView>
  59. </subviews>
  60. </stackView>
  61. </subviews>
  62. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  63. <constraints>
  64. <constraint firstItem="jwA-4O-tgL" firstAttribute="leading" secondItem="bhw-Aa-3Q7" secondAttribute="leading" id="YQR-FC-YG0"/>
  65. <constraint firstAttribute="bottom" secondItem="jwA-4O-tgL" secondAttribute="bottom" id="cPv-gK-orc"/>
  66. <constraint firstItem="jwA-4O-tgL" firstAttribute="top" secondItem="bhw-Aa-3Q7" secondAttribute="top" id="gXu-Td-kve"/>
  67. <constraint firstAttribute="trailing" secondItem="jwA-4O-tgL" secondAttribute="trailing" id="mtd-yR-U0o"/>
  68. </constraints>
  69. </view>
  70. </subviews>
  71. </view>
  72. <constraints>
  73. <constraint firstAttribute="trailing" secondItem="bhw-Aa-3Q7" secondAttribute="trailing" id="WzK-fE-ej1"/>
  74. <constraint firstAttribute="bottom" secondItem="bhw-Aa-3Q7" secondAttribute="bottom" id="uGU-or-Ied"/>
  75. <constraint firstItem="bhw-Aa-3Q7" firstAttribute="top" secondItem="OaX-w0-CLr" secondAttribute="top" id="uS9-0r-I9z"/>
  76. <constraint firstItem="bhw-Aa-3Q7" firstAttribute="leading" secondItem="OaX-w0-CLr" secondAttribute="leading" id="zWX-4R-X83"/>
  77. </constraints>
  78. <viewLayoutGuide key="safeArea" id="L0K-f1-QjV"/>
  79. <size key="customSize" width="480" height="213"/>
  80. <connections>
  81. <outlet property="descriptionLabel" destination="5N8-js-t0W" id="8YA-5P-R6q"/>
  82. <outlet property="newLabel" destination="Klo-Bq-5nI" id="8jr-y0-SoR"/>
  83. <outlet property="thumbnailView" destination="DpW-xo-rll" id="U2i-pe-qCM"/>
  84. <outlet property="titleLabel" destination="Zkn-vN-SN4" id="H77-N8-sRM"/>
  85. </connections>
  86. <point key="canvasLocation" x="110" y="-53.5"/>
  87. </collectionViewCell>
  88. </objects>
  89. </document>