MediaEditCell.xib 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14490.59" 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.45"/>
  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. <collectionReusableView opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" id="U0b-qz-VRr" customClass="MediaEditCell" customModule="VLC" customModuleProvider="target">
  16. <rect key="frame" x="0.0" y="0.0" width="375" height="86"/>
  17. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  18. <subviews>
  19. <stackView opaque="NO" contentMode="scaleToFill" alignment="center" spacing="20" translatesAutoresizingMaskIntoConstraints="NO" id="QHO-Op-40P">
  20. <rect key="frame" x="12" y="12" width="351" height="62"/>
  21. <subviews>
  22. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="checkboxEmpty" translatesAutoresizingMaskIntoConstraints="NO" id="RHG-II-xmF">
  23. <rect key="frame" x="0.0" y="21" width="20" height="20"/>
  24. <constraints>
  25. <constraint firstAttribute="width" constant="20" id="KHh-bO-FPO"/>
  26. <constraint firstAttribute="width" secondItem="RHG-II-xmF" secondAttribute="height" id="p2u-hc-SRe"/>
  27. </constraints>
  28. </imageView>
  29. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="W4f-6Y-az7">
  30. <rect key="frame" x="40" y="6" width="80" height="50"/>
  31. <color key="backgroundColor" white="0.66666666669999997" alpha="1" colorSpace="calibratedWhite"/>
  32. <constraints>
  33. <constraint firstAttribute="width" secondItem="W4f-6Y-az7" secondAttribute="height" multiplier="1:1" id="0S0-Dm-pFV" userLabel="AudioAspectt = 1:1"/>
  34. <constraint firstAttribute="width" secondItem="W4f-6Y-az7" secondAttribute="height" multiplier="16:10" id="o2R-2I-WPK" userLabel="VideoAspectRatio"/>
  35. </constraints>
  36. <variation key="default">
  37. <mask key="constraints">
  38. <exclude reference="0S0-Dm-pFV"/>
  39. </mask>
  40. </variation>
  41. </imageView>
  42. <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" alignment="top" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="ZiN-xT-sWh">
  43. <rect key="frame" x="140" y="11.5" width="211" height="39"/>
  44. <subviews>
  45. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="22f-7o-NGo">
  46. <rect key="frame" x="0.0" y="0.0" width="42" height="20.5"/>
  47. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  48. <nil key="textColor"/>
  49. <nil key="highlightedColor"/>
  50. </label>
  51. <stackView opaque="NO" contentMode="scaleToFill" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="Gg7-zE-SB8">
  52. <rect key="frame" x="0.0" y="25.5" width="68" height="13.5"/>
  53. <subviews>
  54. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="eSL-7g-tbd" userLabel="duration">
  55. <rect key="frame" x="0.0" y="0.0" width="30" height="13.5"/>
  56. <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="11"/>
  57. <nil key="textColor"/>
  58. <nil key="highlightedColor"/>
  59. </label>
  60. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ZKc-bz-v5I" userLabel="Size">
  61. <rect key="frame" x="38" y="0.0" width="30" height="13.5"/>
  62. <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="11"/>
  63. <nil key="textColor"/>
  64. <nil key="highlightedColor"/>
  65. </label>
  66. </subviews>
  67. </stackView>
  68. </subviews>
  69. </stackView>
  70. </subviews>
  71. </stackView>
  72. </subviews>
  73. <constraints>
  74. <constraint firstItem="QHO-Op-40P" firstAttribute="top" secondItem="Lgw-oV-ncW" secondAttribute="top" constant="12" id="W5v-NW-IE1"/>
  75. <constraint firstItem="QHO-Op-40P" firstAttribute="leading" secondItem="Lgw-oV-ncW" secondAttribute="leading" constant="12" id="caY-MD-M4Q"/>
  76. <constraint firstItem="QHO-Op-40P" firstAttribute="bottom" secondItem="Lgw-oV-ncW" secondAttribute="bottom" constant="-12" id="wd3-UE-Kr9"/>
  77. <constraint firstItem="Lgw-oV-ncW" firstAttribute="trailing" secondItem="QHO-Op-40P" secondAttribute="trailing" constant="12" id="y6V-5A-beP"/>
  78. </constraints>
  79. <viewLayoutGuide key="safeArea" id="Lgw-oV-ncW"/>
  80. <connections>
  81. <outlet property="AudioAspectRatio" destination="0S0-Dm-pFV" id="fup-hh-pq5"/>
  82. <outlet property="VideoAspectRatio" destination="o2R-2I-WPK" id="hQw-An-wIt"/>
  83. <outlet property="checkboxImageView" destination="RHG-II-xmF" id="F6Y-7m-fPb"/>
  84. <outlet property="sizeLabel" destination="ZKc-bz-v5I" id="wmF-9r-Gew"/>
  85. <outlet property="thumbnailImageView" destination="W4f-6Y-az7" id="qx7-8D-QJK"/>
  86. <outlet property="timeLabel" destination="eSL-7g-tbd" id="qOK-gw-8qT"/>
  87. <outlet property="titleLabel" destination="22f-7o-NGo" id="tOe-hv-WU6"/>
  88. </connections>
  89. <point key="canvasLocation" x="113.5" y="-207.5"/>
  90. </collectionReusableView>
  91. </objects>
  92. <resources>
  93. <image name="checkboxEmpty" width="22" height="22"/>
  94. </resources>
  95. </document>