NCGridCell.xib 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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="retina4_7" 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" reuseIdentifier="gridCell" id="vf1-Kf-9uL" customClass="NCGridCell" 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 clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" 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="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="eU3-lY-fKr" userLabel="labelTitle">
  26. <rect key="frame" x="5" y="230" width="180" height="15"/>
  27. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  28. <nil key="textColor"/>
  29. <nil key="highlightedColor"/>
  30. </label>
  31. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="EJs-Ro-nbe" userLabel="buttonMoreGrid">
  32. <rect key="frame" x="195" y="225" width="25" height="25"/>
  33. <constraints>
  34. <constraint firstAttribute="height" constant="25" id="4Ba-Uy-pX2"/>
  35. <constraint firstAttribute="width" constant="25" id="aRK-GA-Nba"/>
  36. </constraints>
  37. <state key="normal" image="more"/>
  38. <connections>
  39. <action selector="touchUpInsideMore:" destination="vf1-Kf-9uL" eventType="touchUpInside" id="GDx-NN-gE9"/>
  40. </connections>
  41. </button>
  42. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="DHy-Up-3Bh" userLabel="imageSelect">
  43. <rect key="frame" x="5" y="5" width="25" height="25"/>
  44. <constraints>
  45. <constraint firstAttribute="height" constant="25" id="SoZ-J3-98x"/>
  46. <constraint firstAttribute="width" constant="25" id="cZG-gx-gwt"/>
  47. </constraints>
  48. </imageView>
  49. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="AYs-f2-vve" userLabel="imageFavorite">
  50. <rect key="frame" x="200" y="5" width="15" height="15"/>
  51. <constraints>
  52. <constraint firstAttribute="height" constant="15" id="ZjS-Hv-JNm"/>
  53. <constraint firstAttribute="width" constant="15" id="kDr-15-VeJ"/>
  54. </constraints>
  55. </imageView>
  56. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="a0p-rj-jnV" userLabel="imageStatus">
  57. <rect key="frame" x="5" y="200" width="15" height="15"/>
  58. <constraints>
  59. <constraint firstAttribute="height" constant="15" id="gq1-0a-eLC"/>
  60. <constraint firstAttribute="width" constant="15" id="uJE-4b-Qt7"/>
  61. </constraints>
  62. </imageView>
  63. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="81G-wH-fjN" userLabel="imageLocal">
  64. <rect key="frame" x="200" y="200" width="15" height="15"/>
  65. <constraints>
  66. <constraint firstAttribute="height" constant="15" id="NTa-Gi-uzY"/>
  67. <constraint firstAttribute="width" constant="15" id="xLe-lb-N1p"/>
  68. </constraints>
  69. </imageView>
  70. </subviews>
  71. </view>
  72. <constraints>
  73. <constraint firstItem="DHy-Up-3Bh" firstAttribute="leading" secondItem="VXh-sQ-LeX" secondAttribute="leading" constant="5" id="1T3-8p-uIW"/>
  74. <constraint firstItem="AYs-f2-vve" firstAttribute="leading" secondItem="5Ci-V1-hf5" secondAttribute="trailing" constant="-20" id="3e3-0A-NSl"/>
  75. <constraint firstItem="eU3-lY-fKr" firstAttribute="top" secondItem="5Ci-V1-hf5" secondAttribute="bottom" constant="10" id="4Yq-Nh-z1l"/>
  76. <constraint firstItem="EJs-Ro-nbe" firstAttribute="top" secondItem="5Ci-V1-hf5" secondAttribute="bottom" constant="5" id="89Q-77-ulE"/>
  77. <constraint firstItem="DHy-Up-3Bh" firstAttribute="top" secondItem="VXh-sQ-LeX" secondAttribute="top" constant="5" id="ESV-qE-tbO"/>
  78. <constraint firstItem="5Ci-V1-hf5" firstAttribute="top" secondItem="VXh-sQ-LeX" secondAttribute="top" id="Ouj-ZD-UFm"/>
  79. <constraint firstItem="VXh-sQ-LeX" firstAttribute="trailing" secondItem="EJs-Ro-nbe" secondAttribute="trailing" id="Pfe-J0-t9I"/>
  80. <constraint firstItem="5Ci-V1-hf5" firstAttribute="leading" secondItem="a0p-rj-jnV" secondAttribute="trailing" constant="-20" id="UtQ-6D-cYc"/>
  81. <constraint firstItem="81G-wH-fjN" firstAttribute="top" secondItem="5Ci-V1-hf5" secondAttribute="bottom" constant="-20" id="aEb-vq-8sk"/>
  82. <constraint firstItem="VXh-sQ-LeX" firstAttribute="trailing" secondItem="5Ci-V1-hf5" secondAttribute="trailing" id="cHT-cP-NN6"/>
  83. <constraint firstItem="VXh-sQ-LeX" firstAttribute="bottom" secondItem="5Ci-V1-hf5" secondAttribute="bottom" constant="45" id="eEC-eB-alE"/>
  84. <constraint firstItem="eU3-lY-fKr" firstAttribute="leading" secondItem="VXh-sQ-LeX" secondAttribute="leading" constant="5" id="gZe-FC-8XQ"/>
  85. <constraint firstItem="EJs-Ro-nbe" firstAttribute="leading" secondItem="eU3-lY-fKr" secondAttribute="trailing" constant="10" id="mhP-9c-PC9"/>
  86. <constraint firstItem="81G-wH-fjN" firstAttribute="leading" secondItem="5Ci-V1-hf5" secondAttribute="trailing" constant="-20" id="nFH-Pc-end"/>
  87. <constraint firstItem="5Ci-V1-hf5" firstAttribute="leading" secondItem="VXh-sQ-LeX" secondAttribute="leading" id="qT3-WD-iTV"/>
  88. <constraint firstItem="5Ci-V1-hf5" firstAttribute="top" secondItem="AYs-f2-vve" secondAttribute="bottom" constant="-20" id="rLL-6g-ypv"/>
  89. <constraint firstItem="a0p-rj-jnV" firstAttribute="top" secondItem="5Ci-V1-hf5" secondAttribute="bottom" constant="-20" id="upV-Ov-WWd"/>
  90. </constraints>
  91. <viewLayoutGuide key="safeArea" id="VXh-sQ-LeX"/>
  92. <size key="customSize" width="220" height="260"/>
  93. <connections>
  94. <outlet property="buttonMore" destination="EJs-Ro-nbe" id="BdI-ay-LuX"/>
  95. <outlet property="imageFavorite" destination="AYs-f2-vve" id="UeH-R7-bZr"/>
  96. <outlet property="imageItem" destination="5Ci-V1-hf5" id="xky-Nw-NUb"/>
  97. <outlet property="imageLocal" destination="81G-wH-fjN" id="bqj-wQ-CBV"/>
  98. <outlet property="imageSelect" destination="DHy-Up-3Bh" id="mo9-rP-P4I"/>
  99. <outlet property="imageStatus" destination="a0p-rj-jnV" id="6Dg-tf-evd"/>
  100. <outlet property="labelTitle" destination="eU3-lY-fKr" id="0P7-yM-Asb"/>
  101. </connections>
  102. <point key="canvasLocation" x="88" y="141.67916041979012"/>
  103. </collectionViewCell>
  104. </objects>
  105. <resources>
  106. <image name="more" width="50" height="50"/>
  107. </resources>
  108. </document>