NCTrashGridCell.xib 8.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14313.18" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="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="14283.14"/>
  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" reuseIdentifier="cell-grid" id="vf1-Kf-9uL" customClass="NCTrashGridCell" customModule="Nextcloud" customModuleProvider="target">
  16. <rect key="frame" x="0.0" y="0.0" width="220" height="265"/>
  17. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  18. <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO">
  19. <rect key="frame" x="0.0" y="0.0" width="220" height="265"/>
  20. <autoresizingMask key="autoresizingMask"/>
  21. <subviews>
  22. <imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="5Ci-V1-hf5" userLabel="ImageItem">
  23. <rect key="frame" x="0.0" y="0.0" width="220" height="220"/>
  24. </imageView>
  25. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="eU3-lY-fKr" userLabel="Label Title">
  26. <rect key="frame" x="0.0" y="220" width="220" height="14.5"/>
  27. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  28. <nil key="textColor"/>
  29. <nil key="highlightedColor"/>
  30. </label>
  31. <imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="3sA-NC-kIg" userLabel="more">
  32. <rect key="frame" x="200" y="239.5" width="20" height="20"/>
  33. <constraints>
  34. <constraint firstAttribute="width" constant="20" id="hoH-4o-Tff"/>
  35. <constraint firstAttribute="height" constant="20" id="vGK-h7-x3M"/>
  36. </constraints>
  37. </imageView>
  38. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="EJs-Ro-nbe" userLabel="buttonMore">
  39. <rect key="frame" x="190" y="234.5" width="30" height="30"/>
  40. <constraints>
  41. <constraint firstAttribute="height" constant="30" id="4Ba-Uy-pX2"/>
  42. <constraint firstAttribute="width" constant="30" id="aRK-GA-Nba"/>
  43. </constraints>
  44. <connections>
  45. <action selector="touchUpInsideMore:" destination="vf1-Kf-9uL" eventType="touchUpInside" id="Bn2-Ww-pz6"/>
  46. </connections>
  47. </button>
  48. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="b2F-OH-tLj" userLabel="restore">
  49. <rect key="frame" x="0.0" y="239.5" width="20" height="20"/>
  50. <constraints>
  51. <constraint firstAttribute="height" constant="20" id="L0E-5H-HIf"/>
  52. <constraint firstAttribute="width" constant="20" id="Qmu-32-cdJ"/>
  53. </constraints>
  54. </imageView>
  55. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="11Q-pS-XoP" userLabel="buttonRestore">
  56. <rect key="frame" x="0.0" y="234.5" width="30" height="30"/>
  57. <constraints>
  58. <constraint firstAttribute="height" constant="30" id="W6l-YK-wnp"/>
  59. <constraint firstAttribute="width" constant="30" id="ttG-cX-ekK"/>
  60. </constraints>
  61. <connections>
  62. <action selector="touchUpInsideRestore:" destination="vf1-Kf-9uL" eventType="touchUpInside" id="fIy-eN-HMs"/>
  63. </connections>
  64. </button>
  65. </subviews>
  66. </view>
  67. <constraints>
  68. <constraint firstItem="eU3-lY-fKr" firstAttribute="top" secondItem="5Ci-V1-hf5" secondAttribute="bottom" id="4Yq-Nh-z1l"/>
  69. <constraint firstItem="11Q-pS-XoP" firstAttribute="leading" secondItem="VXh-sQ-LeX" secondAttribute="leading" id="8M5-3p-yEh"/>
  70. <constraint firstItem="11Q-pS-XoP" firstAttribute="top" secondItem="eU3-lY-fKr" secondAttribute="bottom" id="JJL-dV-NAU"/>
  71. <constraint firstItem="VXh-sQ-LeX" firstAttribute="trailing" secondItem="eU3-lY-fKr" secondAttribute="trailing" id="Lu1-AM-kPq"/>
  72. <constraint firstItem="VXh-sQ-LeX" firstAttribute="trailing" secondItem="EJs-Ro-nbe" secondAttribute="trailing" id="OPv-7A-hS2"/>
  73. <constraint firstItem="5Ci-V1-hf5" firstAttribute="top" secondItem="VXh-sQ-LeX" secondAttribute="top" id="Ouj-ZD-UFm"/>
  74. <constraint firstItem="3sA-NC-kIg" firstAttribute="centerY" secondItem="EJs-Ro-nbe" secondAttribute="centerY" id="QvQ-5l-hne"/>
  75. <constraint firstItem="b2F-OH-tLj" firstAttribute="centerY" secondItem="11Q-pS-XoP" secondAttribute="centerY" id="c3E-1E-LeF"/>
  76. <constraint firstItem="VXh-sQ-LeX" firstAttribute="trailing" secondItem="5Ci-V1-hf5" secondAttribute="trailing" id="cHT-cP-NN6"/>
  77. <constraint firstItem="VXh-sQ-LeX" firstAttribute="bottom" secondItem="5Ci-V1-hf5" secondAttribute="bottom" constant="45" id="eEC-eB-alE"/>
  78. <constraint firstItem="eU3-lY-fKr" firstAttribute="leading" secondItem="VXh-sQ-LeX" secondAttribute="leading" id="gZe-FC-8XQ"/>
  79. <constraint firstItem="b2F-OH-tLj" firstAttribute="leading" secondItem="11Q-pS-XoP" secondAttribute="trailing" constant="-30" id="k3n-Il-DFg"/>
  80. <constraint firstItem="3sA-NC-kIg" firstAttribute="leading" secondItem="EJs-Ro-nbe" secondAttribute="trailing" constant="-20" id="pNq-NC-Hax"/>
  81. <constraint firstItem="5Ci-V1-hf5" firstAttribute="leading" secondItem="VXh-sQ-LeX" secondAttribute="leading" id="qT3-WD-iTV"/>
  82. <constraint firstItem="EJs-Ro-nbe" firstAttribute="top" secondItem="eU3-lY-fKr" secondAttribute="bottom" id="uL8-ea-AWa"/>
  83. </constraints>
  84. <viewLayoutGuide key="safeArea" id="VXh-sQ-LeX"/>
  85. <size key="customSize" width="220" height="260"/>
  86. <connections>
  87. <outlet property="buttonMore" destination="EJs-Ro-nbe" id="zGj-9L-Dpv"/>
  88. <outlet property="buttonRestore" destination="11Q-pS-XoP" id="kDT-Cz-C8D"/>
  89. <outlet property="imageItem" destination="5Ci-V1-hf5" id="xky-Nw-NUb"/>
  90. <outlet property="labelTitle" destination="eU3-lY-fKr" id="0P7-yM-Asb"/>
  91. <outlet property="more" destination="3sA-NC-kIg" id="LTq-2s-hq2"/>
  92. <outlet property="restore" destination="b2F-OH-tLj" id="bsp-In-8UB"/>
  93. </connections>
  94. <point key="canvasLocation" x="88" y="141.67916041979012"/>
  95. </collectionViewCell>
  96. </objects>
  97. </document>