SBTFileCell.xib 8.3 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. <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" id="gTV-IL-0wX" customClass="SBTFileCell" customModule="SolarBT" customModuleProvider="target">
  16. <rect key="frame" x="0.0" y="0.0" width="87" height="116"/>
  17. <autoresizingMask key="autoresizingMask"/>
  18. <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
  19. <rect key="frame" x="0.0" y="0.0" width="87" height="116"/>
  20. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  21. <subviews>
  22. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="QVu-Vb-DxW">
  23. <rect key="frame" x="0.0" y="0.0" width="87" height="116"/>
  24. <subviews>
  25. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="file_normal" translatesAutoresizingMaskIntoConstraints="NO" id="ioe-cN-erI">
  26. <rect key="frame" x="24.5" y="10" width="38" height="47"/>
  27. <constraints>
  28. <constraint firstAttribute="width" constant="38" id="jF7-sc-Efs"/>
  29. <constraint firstAttribute="height" constant="47" id="upw-Wj-KRN"/>
  30. </constraints>
  31. </imageView>
  32. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="irN-oq-P1L">
  33. <rect key="frame" x="0.0" y="69" width="87" height="20"/>
  34. <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="14"/>
  35. <color key="textColor" red="0.13333333333333333" green="0.13333333333333333" blue="0.13333333333333333" alpha="0.84705882352941175" colorSpace="calibratedRGB"/>
  36. <nil key="highlightedColor"/>
  37. </label>
  38. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="JAk-TX-VH9">
  39. <rect key="frame" x="0.0" y="97" width="87" height="0.0"/>
  40. <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="9"/>
  41. <color key="textColor" red="0.53333333333333333" green="0.53333333333333333" blue="0.53333333333333333" alpha="0.84705882352941175" colorSpace="calibratedRGB"/>
  42. <nil key="highlightedColor"/>
  43. </label>
  44. <imageView hidden="YES" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="10" translatesAutoresizingMaskIntoConstraints="NO" id="qqA-3u-xxv">
  45. <rect key="frame" x="71" y="0.0" width="16" height="16"/>
  46. <constraints>
  47. <constraint firstAttribute="height" constant="16" id="4wW-rq-fmF"/>
  48. <constraint firstAttribute="width" constant="16" id="jha-ni-zlT"/>
  49. </constraints>
  50. </imageView>
  51. </subviews>
  52. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  53. <constraints>
  54. <constraint firstItem="JAk-TX-VH9" firstAttribute="top" secondItem="irN-oq-P1L" secondAttribute="bottom" constant="8" id="CJ0-eX-6t7"/>
  55. <constraint firstItem="irN-oq-P1L" firstAttribute="leading" secondItem="QVu-Vb-DxW" secondAttribute="leading" id="F10-Jd-qbS"/>
  56. <constraint firstItem="qqA-3u-xxv" firstAttribute="top" secondItem="QVu-Vb-DxW" secondAttribute="top" id="Fb0-PD-MNu"/>
  57. <constraint firstAttribute="trailing" secondItem="qqA-3u-xxv" secondAttribute="trailing" id="OR4-fv-t1u"/>
  58. <constraint firstItem="irN-oq-P1L" firstAttribute="centerX" secondItem="QVu-Vb-DxW" secondAttribute="centerX" id="RCZ-Zn-GOI"/>
  59. <constraint firstItem="JAk-TX-VH9" firstAttribute="leading" secondItem="QVu-Vb-DxW" secondAttribute="leading" id="Uu0-xm-xbi"/>
  60. <constraint firstItem="irN-oq-P1L" firstAttribute="top" secondItem="ioe-cN-erI" secondAttribute="bottom" constant="12" id="Uxk-Nn-CqT"/>
  61. <constraint firstAttribute="trailing" secondItem="irN-oq-P1L" secondAttribute="trailing" id="VD9-iO-1e1"/>
  62. <constraint firstItem="ioe-cN-erI" firstAttribute="top" secondItem="QVu-Vb-DxW" secondAttribute="top" constant="10" id="hPL-4N-jUw"/>
  63. <constraint firstItem="ioe-cN-erI" firstAttribute="centerX" secondItem="QVu-Vb-DxW" secondAttribute="centerX" id="jDn-CX-Ofx"/>
  64. <constraint firstAttribute="trailing" secondItem="JAk-TX-VH9" secondAttribute="trailing" id="raK-5W-9Hj"/>
  65. </constraints>
  66. </view>
  67. </subviews>
  68. </view>
  69. <constraints>
  70. <constraint firstAttribute="trailing" secondItem="QVu-Vb-DxW" secondAttribute="trailing" id="8xk-Fw-CnF"/>
  71. <constraint firstItem="QVu-Vb-DxW" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="LBx-zD-cq1"/>
  72. <constraint firstAttribute="bottom" secondItem="QVu-Vb-DxW" secondAttribute="bottom" id="X6r-ZG-8ck"/>
  73. <constraint firstItem="QVu-Vb-DxW" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" id="dtc-bC-thc"/>
  74. </constraints>
  75. <viewLayoutGuide key="safeArea" id="ZTg-uK-7eu"/>
  76. <size key="customSize" width="99" height="138"/>
  77. <connections>
  78. <outlet property="crateTime" destination="JAk-TX-VH9" id="GEc-sd-Hk7"/>
  79. <outlet property="deleteImageV" destination="qqA-3u-xxv" id="cbu-eg-vYc"/>
  80. <outlet property="fileContentView" destination="QVu-Vb-DxW" id="2WX-iD-5Gq"/>
  81. <outlet property="fileImage" destination="ioe-cN-erI" id="EOg-Lo-nkc"/>
  82. <outlet property="fileName" destination="irN-oq-P1L" id="w2p-XQ-nEN"/>
  83. </connections>
  84. <point key="canvasLocation" x="173.18840579710147" y="127.23214285714285"/>
  85. </collectionViewCell>
  86. </objects>
  87. <resources>
  88. <image name="10" width="15" height="15"/>
  89. <image name="file_normal" width="42" height="51"/>
  90. </resources>
  91. </document>