VLCNetworkListCell.xib 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="13771" 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="13772"/>
  9. <capability name="Alignment constraints with different attributes" minToolsVersion="5.1"/>
  10. <capability name="Constraints to layout margins" minToolsVersion="6.0"/>
  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. <tableViewCell contentMode="scaleToFill" selectionStyle="blue" indentationWidth="10" reuseIdentifier="LocalNetworkCell" rowHeight="44" id="3" customClass="VLCNetworkListCell">
  17. <rect key="frame" x="0.0" y="0.0" width="320" height="68"/>
  18. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  19. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="3" id="qo4-sr-qnV">
  20. <rect key="frame" x="0.0" y="0.0" width="320" height="67.5"/>
  21. <autoresizingMask key="autoresizingMask"/>
  22. <subviews>
  23. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" translatesAutoresizingMaskIntoConstraints="NO" id="4" customClass="VLCNetworkImageView">
  24. <rect key="frame" x="16" y="9" width="50" height="50"/>
  25. <constraints>
  26. <constraint firstAttribute="width" constant="50" id="4Vq-gO-XLC"/>
  27. <constraint firstAttribute="height" relation="greaterThanOrEqual" constant="50" id="a8P-bS-TpP"/>
  28. <constraint firstAttribute="width" constant="50" id="q3t-5m-D2K"/>
  29. <constraint firstAttribute="height" constant="50" id="yWC-Jh-3pH"/>
  30. </constraints>
  31. <variation key="default">
  32. <mask key="constraints">
  33. <exclude reference="4Vq-gO-XLC"/>
  34. <exclude reference="a8P-bS-TpP"/>
  35. </mask>
  36. </variation>
  37. </imageView>
  38. <label clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="File Title" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="none" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="6">
  39. <rect key="frame" x="74" y="15" width="190" height="17"/>
  40. <color key="backgroundColor" red="0.1052877679" green="0.1052846164" blue="0.1052864045" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  41. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  42. <color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  43. <color key="highlightedColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  44. </label>
  45. <label hidden="YES" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Downloading..." textAlignment="center" lineBreakMode="wordWrap" baselineAdjustment="none" minimumScaleFactor="0.5" translatesAutoresizingMaskIntoConstraints="NO" id="28" customClass="VLCStatusLabel">
  46. <rect key="frame" x="112" y="25" width="96" height="18"/>
  47. <color key="backgroundColor" red="0.1052877679" green="0.1052846164" blue="0.1052864045" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  48. <constraints>
  49. <constraint firstAttribute="height" relation="greaterThanOrEqual" constant="18" id="Zr1-tM-Pyf"/>
  50. </constraints>
  51. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  52. <color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  53. <color key="highlightedColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  54. </label>
  55. <label clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Subtitle — Subtitle" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="7">
  56. <rect key="frame" x="74" y="36" width="190" height="15"/>
  57. <color key="backgroundColor" red="0.1052877679" green="0.1052846164" blue="0.1052864045" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  58. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  59. <color key="textColor" red="0.72000002861022949" green="0.72000002861022949" blue="0.72000002861022949" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  60. <color key="highlightedColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  61. </label>
  62. <button opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" horizontalCompressionResistancePriority="751" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="25">
  63. <rect key="frame" x="272" y="18" width="32" height="32"/>
  64. <constraints>
  65. <constraint firstAttribute="width" constant="32" id="b2E-BO-ESa"/>
  66. <constraint firstAttribute="height" constant="32" id="jpk-NV-gaJ"/>
  67. </constraints>
  68. <fontDescription key="fontDescription" type="boldSystem" pointSize="15"/>
  69. <state key="normal" image="download.png">
  70. <color key="titleColor" red="0.19607843459999999" green="0.30980393290000002" blue="0.52156865600000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  71. <color key="titleShadowColor" red="0.5" green="0.5" blue="0.5" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  72. </state>
  73. <state key="highlighted">
  74. <color key="titleColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  75. </state>
  76. <variation key="default">
  77. <mask key="constraints">
  78. <exclude reference="b2E-BO-ESa"/>
  79. <exclude reference="jpk-NV-gaJ"/>
  80. </mask>
  81. </variation>
  82. <connections>
  83. <action selector="triggerDownload:" destination="3" eventType="touchUpInside" id="26"/>
  84. </connections>
  85. </button>
  86. <label clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="249" text="Folder Title" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="none" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="23">
  87. <rect key="frame" x="74" y="25.5" width="190" height="17"/>
  88. <color key="backgroundColor" red="0.1052877679" green="0.1052846164" blue="0.1052864045" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  89. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  90. <color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  91. <color key="highlightedColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  92. </label>
  93. </subviews>
  94. <constraints>
  95. <constraint firstItem="6" firstAttribute="leading" secondItem="4" secondAttribute="trailing" constant="8" id="0DO-SK-odg"/>
  96. <constraint firstItem="28" firstAttribute="centerX" secondItem="qo4-sr-qnV" secondAttribute="centerX" id="1or-QE-1fQ"/>
  97. <constraint firstItem="23" firstAttribute="leading" secondItem="7" secondAttribute="leading" id="5Ar-JE-Yqx"/>
  98. <constraint firstItem="6" firstAttribute="leading" secondItem="23" secondAttribute="leading" id="HEc-tB-oLB"/>
  99. <constraint firstItem="4" firstAttribute="centerY" secondItem="qo4-sr-qnV" secondAttribute="centerY" id="JxB-lj-rIe"/>
  100. <constraint firstItem="6" firstAttribute="bottom" secondItem="qo4-sr-qnV" secondAttribute="centerY" constant="-2" id="KkA-rA-D7T"/>
  101. <constraint firstItem="23" firstAttribute="trailing" secondItem="25" secondAttribute="leading" constant="-8" id="NTl-Ne-ar5"/>
  102. <constraint firstItem="7" firstAttribute="bottom" relation="lessThanOrEqual" secondItem="qo4-sr-qnV" secondAttribute="bottomMargin" id="Qo6-Gd-U30"/>
  103. <constraint firstItem="7" firstAttribute="trailing" secondItem="23" secondAttribute="trailing" id="UsP-hO-cib"/>
  104. <constraint firstItem="6" firstAttribute="trailing" secondItem="23" secondAttribute="trailing" id="WvD-3H-DdX"/>
  105. <constraint firstItem="25" firstAttribute="centerY" secondItem="qo4-sr-qnV" secondAttribute="centerY" id="ZOR-bw-X93"/>
  106. <constraint firstItem="6" firstAttribute="top" relation="greaterThanOrEqual" secondItem="qo4-sr-qnV" secondAttribute="topMargin" id="csN-tj-rK0"/>
  107. <constraint firstItem="28" firstAttribute="centerY" secondItem="qo4-sr-qnV" secondAttribute="centerY" id="jOz-Wg-wfW"/>
  108. <constraint firstItem="7" firstAttribute="top" secondItem="qo4-sr-qnV" secondAttribute="centerY" constant="2" id="kFU-wc-JfQ"/>
  109. <constraint firstItem="23" firstAttribute="centerY" secondItem="qo4-sr-qnV" secondAttribute="centerY" id="nw8-Li-eEV"/>
  110. <constraint firstItem="25" firstAttribute="trailing" secondItem="qo4-sr-qnV" secondAttribute="trailingMargin" id="rSC-hz-6v1"/>
  111. <constraint firstItem="4" firstAttribute="leading" secondItem="qo4-sr-qnV" secondAttribute="leadingMargin" id="zXF-XV-IEW"/>
  112. </constraints>
  113. </tableViewCellContentView>
  114. <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  115. <connections>
  116. <outlet property="downloadButton" destination="25" id="27"/>
  117. <outlet property="folderTitleLabel" destination="23" id="24"/>
  118. <outlet property="statusLabel" destination="28" id="29"/>
  119. <outlet property="subtitleLabel" destination="7" id="8"/>
  120. <outlet property="thumbnailView" destination="4" id="9"/>
  121. <outlet property="titleLabel" destination="6" id="10"/>
  122. </connections>
  123. <point key="canvasLocation" x="454" y="376"/>
  124. </tableViewCell>
  125. </objects>
  126. <resources>
  127. <image name="download.png" width="32" height="32"/>
  128. </resources>
  129. </document>