MediaEditCell.xib 8.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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. <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="0.0" width="62" height="62"/>
  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="AudioAspect = 1:1"/>
  34. <constraint firstAttribute="height" relation="greaterThanOrEqual" constant="52" id="N5E-7I-evU"/>
  35. <constraint firstAttribute="width" secondItem="W4f-6Y-az7" secondAttribute="height" multiplier="16:10" id="o2R-2I-WPK" userLabel="VideoAspectRatio"/>
  36. </constraints>
  37. <variation key="default">
  38. <mask key="constraints">
  39. <exclude reference="o2R-2I-WPK"/>
  40. </mask>
  41. </variation>
  42. </imageView>
  43. <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" alignment="top" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="ZiN-xT-sWh">
  44. <rect key="frame" x="140" y="11.5" width="211" height="39"/>
  45. <subviews>
  46. <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">
  47. <rect key="frame" x="0.0" y="0.0" width="42" height="20.5"/>
  48. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  49. <nil key="textColor"/>
  50. <nil key="highlightedColor"/>
  51. </label>
  52. <stackView opaque="NO" contentMode="scaleToFill" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="Gg7-zE-SB8">
  53. <rect key="frame" x="0.0" y="25.5" width="68" height="13.5"/>
  54. <subviews>
  55. <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">
  56. <rect key="frame" x="0.0" y="0.0" width="30" height="13.5"/>
  57. <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="11"/>
  58. <nil key="textColor"/>
  59. <nil key="highlightedColor"/>
  60. </label>
  61. <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">
  62. <rect key="frame" x="38" y="0.0" width="30" height="13.5"/>
  63. <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="11"/>
  64. <nil key="textColor"/>
  65. <nil key="highlightedColor"/>
  66. </label>
  67. </subviews>
  68. </stackView>
  69. </subviews>
  70. </stackView>
  71. </subviews>
  72. </stackView>
  73. </subviews>
  74. <constraints>
  75. <constraint firstItem="QHO-Op-40P" firstAttribute="top" secondItem="Lgw-oV-ncW" secondAttribute="top" constant="12" id="W5v-NW-IE1"/>
  76. <constraint firstItem="QHO-Op-40P" firstAttribute="leading" secondItem="Lgw-oV-ncW" secondAttribute="leading" constant="12" id="caY-MD-M4Q"/>
  77. <constraint firstItem="QHO-Op-40P" firstAttribute="bottom" secondItem="Lgw-oV-ncW" secondAttribute="bottom" constant="-12" id="wd3-UE-Kr9"/>
  78. <constraint firstItem="Lgw-oV-ncW" firstAttribute="trailing" secondItem="QHO-Op-40P" secondAttribute="trailing" constant="12" id="y6V-5A-beP"/>
  79. </constraints>
  80. <viewLayoutGuide key="safeArea" id="Lgw-oV-ncW"/>
  81. <connections>
  82. <outlet property="AudioAspectRatio" destination="0S0-Dm-pFV" id="fup-hh-pq5"/>
  83. <outlet property="VideoAspectRatio" destination="o2R-2I-WPK" id="hQw-An-wIt"/>
  84. <outlet property="checkboxImageView" destination="RHG-II-xmF" id="F6Y-7m-fPb"/>
  85. <outlet property="sizeLabel" destination="ZKc-bz-v5I" id="wmF-9r-Gew"/>
  86. <outlet property="thumbnailImageView" destination="W4f-6Y-az7" id="qx7-8D-QJK"/>
  87. <outlet property="timeLabel" destination="eSL-7g-tbd" id="qOK-gw-8qT"/>
  88. <outlet property="titleLabel" destination="22f-7o-NGo" id="tOe-hv-WU6"/>
  89. </connections>
  90. <point key="canvasLocation" x="113.5" y="-207.5"/>
  91. </collectionReusableView>
  92. </objects>
  93. <resources>
  94. <image name="checkboxEmpty" width="22" height="22"/>
  95. </resources>
  96. </document>