CFFileTableViewCell.xib 8.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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="retina6_1" 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. <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="79" id="KGk-i7-Jjw" customClass="CFFileTableViewCell" customModule="O2Platform" customModuleProvider="target">
  16. <rect key="frame" x="0.0" y="0.0" width="320" height="79"/>
  17. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  18. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
  19. <rect key="frame" x="0.0" y="0.0" width="320" height="78.5"/>
  20. <autoresizingMask key="autoresizingMask"/>
  21. <subviews>
  22. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="icon_moren" translatesAutoresizingMaskIntoConstraints="NO" id="jI7-0M-1DM">
  23. <rect key="frame" x="12" y="19.5" width="40" height="40"/>
  24. </imageView>
  25. <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="fillEqually" alignment="top" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="nL5-Qj-XQC">
  26. <rect key="frame" x="76" y="10" width="175" height="58.5"/>
  27. <subviews>
  28. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="文件名称" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Eed-z7-xJp">
  29. <rect key="frame" x="0.0" y="0.0" width="65.5" height="27"/>
  30. <fontDescription key="fontDescription" type="boldSystem" pointSize="16"/>
  31. <nil key="textColor"/>
  32. <nil key="highlightedColor"/>
  33. </label>
  34. <stackView opaque="NO" contentMode="scaleToFill" alignment="center" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="Lxz-bV-rUH">
  35. <rect key="frame" x="0.0" y="32" width="163" height="26.5"/>
  36. <subviews>
  37. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="2019-10-08 12:12" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="GaR-0Z-CDg">
  38. <rect key="frame" x="0.0" y="4.5" width="115" height="17"/>
  39. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  40. <color key="textColor" white="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  41. <nil key="highlightedColor"/>
  42. </label>
  43. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="200M" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Hu4-aC-TIc">
  44. <rect key="frame" x="125" y="4.5" width="38" height="17"/>
  45. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  46. <color key="textColor" white="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  47. <nil key="highlightedColor"/>
  48. </label>
  49. </subviews>
  50. </stackView>
  51. </subviews>
  52. </stackView>
  53. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="2LI-u5-wQt">
  54. <rect key="frame" x="256" y="0.0" width="64" height="78.5"/>
  55. <constraints>
  56. <constraint firstAttribute="width" constant="64" id="I0v-dA-YcC"/>
  57. </constraints>
  58. <state key="normal" image="icon_circle"/>
  59. <connections>
  60. <action selector="clickBoxAction:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="0IR-Wd-c2L"/>
  61. </connections>
  62. </button>
  63. </subviews>
  64. <constraints>
  65. <constraint firstItem="nL5-Qj-XQC" firstAttribute="leading" secondItem="jI7-0M-1DM" secondAttribute="trailing" constant="24" id="JE7-zz-dBM"/>
  66. <constraint firstItem="jI7-0M-1DM" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="12" id="Rmg-f4-rUC"/>
  67. <constraint firstItem="2LI-u5-wQt" firstAttribute="leading" secondItem="nL5-Qj-XQC" secondAttribute="trailing" constant="5" id="SLt-4Z-GOQ"/>
  68. <constraint firstAttribute="bottom" secondItem="2LI-u5-wQt" secondAttribute="bottom" id="VEI-K6-HIc"/>
  69. <constraint firstItem="jI7-0M-1DM" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="Y8a-Np-wyD"/>
  70. <constraint firstItem="nL5-Qj-XQC" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="10" id="dzf-ph-J9Y"/>
  71. <constraint firstItem="2LI-u5-wQt" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" id="fnD-nJ-WHp"/>
  72. <constraint firstAttribute="bottom" secondItem="nL5-Qj-XQC" secondAttribute="bottom" constant="10" id="jMh-9F-fMf"/>
  73. <constraint firstAttribute="trailing" secondItem="2LI-u5-wQt" secondAttribute="trailing" id="za4-kS-Yh1"/>
  74. </constraints>
  75. </tableViewCellContentView>
  76. <viewLayoutGuide key="safeArea" id="njF-e1-oar"/>
  77. <connections>
  78. <outlet property="checkBoxButton" destination="2LI-u5-wQt" id="1mw-eL-yaQ"/>
  79. <outlet property="fileNameLabel" destination="Eed-z7-xJp" id="5mP-s8-bfB"/>
  80. <outlet property="fileSizeLabel" destination="Hu4-aC-TIc" id="JqC-AR-mlB"/>
  81. <outlet property="fileTimeLabel" destination="GaR-0Z-CDg" id="JmM-T0-cdO"/>
  82. <outlet property="fileTypeImageView" destination="jI7-0M-1DM" id="swt-TE-eKV"/>
  83. </connections>
  84. <point key="canvasLocation" x="131.8840579710145" y="125.55803571428571"/>
  85. </tableViewCell>
  86. </objects>
  87. <resources>
  88. <image name="icon_circle" width="22" height="22"/>
  89. <image name="icon_moren" width="40" height="40"/>
  90. </resources>
  91. </document>