MediaCollectionViewCell.xib 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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. <stackView opaque="NO" contentMode="scaleToFill" alignment="center" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="jwA-4O-tgL">
  23. <rect key="frame" x="0.0" y="0.0" width="480" height="80"/>
  24. <subviews>
  25. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="DpW-xo-rll" userLabel="Thumbnail">
  26. <rect key="frame" x="0.0" y="12" width="56" height="56"/>
  27. <color key="backgroundColor" white="0.66666666669999997" alpha="1" colorSpace="calibratedWhite"/>
  28. <constraints>
  29. <constraint firstAttribute="width" secondItem="DpW-xo-rll" secondAttribute="height" multiplier="1:1" id="K1w-Z8-Rbn"/>
  30. <constraint firstAttribute="width" constant="56" id="vgz-Bg-lit"/>
  31. </constraints>
  32. </imageView>
  33. <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="4" translatesAutoresizingMaskIntoConstraints="NO" id="HHK-jR-WLx">
  34. <rect key="frame" x="64" y="12" width="416" height="56.5"/>
  35. <subviews>
  36. <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">
  37. <rect key="frame" x="0.0" y="0.0" width="416" height="12"/>
  38. <fontDescription key="fontDescription" type="boldSystem" pointSize="10"/>
  39. <nil key="textColor"/>
  40. <nil key="highlightedColor"/>
  41. </label>
  42. <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">
  43. <rect key="frame" x="0.0" y="16" width="416" height="20.5"/>
  44. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="17"/>
  45. <nil key="textColor"/>
  46. <nil key="highlightedColor"/>
  47. </label>
  48. <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">
  49. <rect key="frame" x="0.0" y="40.5" width="416" height="16"/>
  50. <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="13"/>
  51. <nil key="textColor"/>
  52. <nil key="highlightedColor"/>
  53. </label>
  54. </subviews>
  55. </stackView>
  56. </subviews>
  57. </stackView>
  58. </subviews>
  59. </view>
  60. <constraints>
  61. <constraint firstItem="jwA-4O-tgL" firstAttribute="leading" secondItem="L0K-f1-QjV" secondAttribute="leading" id="IBs-dW-Lj7"/>
  62. <constraint firstItem="jwA-4O-tgL" firstAttribute="top" secondItem="L0K-f1-QjV" secondAttribute="top" id="TTE-Hs-KZ8"/>
  63. <constraint firstItem="L0K-f1-QjV" firstAttribute="trailing" secondItem="jwA-4O-tgL" secondAttribute="trailing" id="VMU-O4-8og"/>
  64. <constraint firstItem="L0K-f1-QjV" firstAttribute="bottom" secondItem="jwA-4O-tgL" secondAttribute="bottom" id="tHN-ES-0Mv"/>
  65. </constraints>
  66. <viewLayoutGuide key="safeArea" id="L0K-f1-QjV"/>
  67. <size key="customSize" width="480" height="213"/>
  68. <connections>
  69. <outlet property="descriptionLabel" destination="5N8-js-t0W" id="8YA-5P-R6q"/>
  70. <outlet property="newLabel" destination="Klo-Bq-5nI" id="8jr-y0-SoR"/>
  71. <outlet property="thumbnailView" destination="DpW-xo-rll" id="U2i-pe-qCM"/>
  72. <outlet property="titleLabel" destination="Zkn-vN-SN4" id="H77-N8-sRM"/>
  73. </connections>
  74. <point key="canvasLocation" x="110" y="-53.5"/>
  75. </collectionViewCell>
  76. </objects>
  77. </document>