CFFileTableViewCell.xib 8.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="17701" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
  3. <device id="retina6_1" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="17703"/>
  7. <capability name="Safe area layout guides" minToolsVersion="9.0"/>
  8. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  9. </dependencies>
  10. <objects>
  11. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  12. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  13. <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="79" id="KGk-i7-Jjw" customClass="CFFileTableViewCell" customModule="O2Platform" customModuleProvider="target">
  14. <rect key="frame" x="0.0" y="0.0" width="320" height="79"/>
  15. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  16. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
  17. <rect key="frame" x="0.0" y="0.0" width="320" height="79"/>
  18. <autoresizingMask key="autoresizingMask"/>
  19. <subviews>
  20. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="icon_file_more" translatesAutoresizingMaskIntoConstraints="NO" id="jI7-0M-1DM">
  21. <rect key="frame" x="12" y="19.5" width="40" height="40"/>
  22. </imageView>
  23. <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="fillEqually" alignment="top" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="nL5-Qj-XQC">
  24. <rect key="frame" x="76" y="10" width="175" height="59"/>
  25. <subviews>
  26. <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">
  27. <rect key="frame" x="0.0" y="0.0" width="65.5" height="27"/>
  28. <fontDescription key="fontDescription" type="boldSystem" pointSize="16"/>
  29. <nil key="textColor"/>
  30. <nil key="highlightedColor"/>
  31. </label>
  32. <stackView opaque="NO" contentMode="scaleToFill" alignment="center" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="Lxz-bV-rUH">
  33. <rect key="frame" x="0.0" y="32" width="163" height="27"/>
  34. <subviews>
  35. <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">
  36. <rect key="frame" x="0.0" y="5" width="115" height="17"/>
  37. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  38. <color key="textColor" white="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  39. <nil key="highlightedColor"/>
  40. </label>
  41. <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">
  42. <rect key="frame" x="125" y="5" width="38" height="17"/>
  43. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  44. <color key="textColor" white="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  45. <nil key="highlightedColor"/>
  46. </label>
  47. </subviews>
  48. </stackView>
  49. </subviews>
  50. </stackView>
  51. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="2LI-u5-wQt">
  52. <rect key="frame" x="256" y="0.0" width="64" height="79"/>
  53. <constraints>
  54. <constraint firstAttribute="width" constant="64" id="I0v-dA-YcC"/>
  55. </constraints>
  56. <state key="normal" image="icon_circle"/>
  57. <connections>
  58. <action selector="clickBoxAction:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="0IR-Wd-c2L"/>
  59. </connections>
  60. </button>
  61. </subviews>
  62. <constraints>
  63. <constraint firstItem="nL5-Qj-XQC" firstAttribute="leading" secondItem="jI7-0M-1DM" secondAttribute="trailing" constant="24" id="JE7-zz-dBM"/>
  64. <constraint firstItem="jI7-0M-1DM" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="12" id="Rmg-f4-rUC"/>
  65. <constraint firstItem="2LI-u5-wQt" firstAttribute="leading" secondItem="nL5-Qj-XQC" secondAttribute="trailing" constant="5" id="SLt-4Z-GOQ"/>
  66. <constraint firstAttribute="bottom" secondItem="2LI-u5-wQt" secondAttribute="bottom" id="VEI-K6-HIc"/>
  67. <constraint firstItem="jI7-0M-1DM" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="Y8a-Np-wyD"/>
  68. <constraint firstItem="nL5-Qj-XQC" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="10" id="dzf-ph-J9Y"/>
  69. <constraint firstItem="2LI-u5-wQt" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" id="fnD-nJ-WHp"/>
  70. <constraint firstAttribute="bottom" secondItem="nL5-Qj-XQC" secondAttribute="bottom" constant="10" id="jMh-9F-fMf"/>
  71. <constraint firstAttribute="trailing" secondItem="2LI-u5-wQt" secondAttribute="trailing" id="za4-kS-Yh1"/>
  72. </constraints>
  73. </tableViewCellContentView>
  74. <viewLayoutGuide key="safeArea" id="njF-e1-oar"/>
  75. <connections>
  76. <outlet property="checkBoxButton" destination="2LI-u5-wQt" id="1mw-eL-yaQ"/>
  77. <outlet property="fileNameLabel" destination="Eed-z7-xJp" id="5mP-s8-bfB"/>
  78. <outlet property="fileSizeLabel" destination="Hu4-aC-TIc" id="JqC-AR-mlB"/>
  79. <outlet property="fileTimeLabel" destination="GaR-0Z-CDg" id="JmM-T0-cdO"/>
  80. <outlet property="fileTypeImageView" destination="jI7-0M-1DM" id="swt-TE-eKV"/>
  81. </connections>
  82. <point key="canvasLocation" x="131.8840579710145" y="125.55803571428571"/>
  83. </tableViewCell>
  84. </objects>
  85. <resources>
  86. <image name="icon_circle" width="22" height="22"/>
  87. <image name="icon_file_more" width="40" height="40"/>
  88. </resources>
  89. </document>