IMFileView.xib 4.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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="System colors in document resources" minToolsVersion="11.0"/>
  9. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  10. </dependencies>
  11. <objects>
  12. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  13. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  14. <view contentMode="scaleToFill" id="iN0-l3-epB" customClass="IMFileView" customModule="O2Platform" customModuleProvider="target">
  15. <rect key="frame" x="0.0" y="0.0" width="175" height="75"/>
  16. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  17. <subviews>
  18. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="icon_file_more" translatesAutoresizingMaskIntoConstraints="NO" id="1Ru-zq-dZI">
  19. <rect key="frame" x="24" y="17.5" width="40" height="40"/>
  20. <constraints>
  21. <constraint firstAttribute="height" constant="40" id="F6i-hQ-qx3"/>
  22. <constraint firstAttribute="width" constant="40" id="xRh-wH-ADK"/>
  23. </constraints>
  24. </imageView>
  25. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="文件.png" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="vr0-sq-1BQ">
  26. <rect key="frame" x="76" y="29.5" width="87" height="16"/>
  27. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  28. <nil key="textColor"/>
  29. <nil key="highlightedColor"/>
  30. </label>
  31. </subviews>
  32. <viewLayoutGuide key="safeArea" id="vUN-kp-3ea"/>
  33. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  34. <constraints>
  35. <constraint firstItem="vr0-sq-1BQ" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="centerY" id="B8a-Ba-bhs"/>
  36. <constraint firstAttribute="trailing" secondItem="vr0-sq-1BQ" secondAttribute="trailing" constant="12" id="Lwa-Gc-Xxg"/>
  37. <constraint firstItem="1Ru-zq-dZI" firstAttribute="leading" secondItem="vUN-kp-3ea" secondAttribute="leading" constant="24" id="byU-pl-9Po"/>
  38. <constraint firstItem="vr0-sq-1BQ" firstAttribute="leading" secondItem="1Ru-zq-dZI" secondAttribute="trailing" constant="12" id="pYp-nQ-SGW"/>
  39. <constraint firstItem="1Ru-zq-dZI" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="centerY" id="wDB-ks-Q67"/>
  40. </constraints>
  41. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  42. <connections>
  43. <outlet property="fileIcon" destination="1Ru-zq-dZI" id="4BG-gF-BSr"/>
  44. <outlet property="fileNameLabel" destination="vr0-sq-1BQ" id="vdq-9T-hPz"/>
  45. </connections>
  46. <point key="canvasLocation" x="-163.04347826086959" y="-290.95982142857139"/>
  47. </view>
  48. </objects>
  49. <resources>
  50. <image name="icon_file_more" width="40" height="40"/>
  51. <systemColor name="systemBackgroundColor">
  52. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  53. </systemColor>
  54. </resources>
  55. </document>