NCGridMediaCell.xib 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14460.31" 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="14460.20"/>
  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="NCGridMediaCell" customModule="Nextcloud" customModuleProvider="target">
  16. <rect key="frame" x="0.0" y="0.0" width="220" height="220"/>
  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="220"/>
  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. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="DHy-Up-3Bh" userLabel="imageSelect">
  26. <rect key="frame" x="5" y="5" width="25" height="25"/>
  27. <constraints>
  28. <constraint firstAttribute="height" constant="25" id="SoZ-J3-98x"/>
  29. <constraint firstAttribute="width" constant="25" id="cZG-gx-gwt"/>
  30. </constraints>
  31. </imageView>
  32. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="AYs-f2-vve" userLabel="imageFavorite">
  33. <rect key="frame" x="200" y="5" width="15" height="15"/>
  34. <constraints>
  35. <constraint firstAttribute="height" constant="15" id="ZjS-Hv-JNm"/>
  36. <constraint firstAttribute="width" constant="15" id="kDr-15-VeJ"/>
  37. </constraints>
  38. </imageView>
  39. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="a0p-rj-jnV" userLabel="imageStatus">
  40. <rect key="frame" x="5" y="200" width="15" height="15"/>
  41. <constraints>
  42. <constraint firstAttribute="height" constant="15" id="gq1-0a-eLC"/>
  43. <constraint firstAttribute="width" constant="15" id="uJE-4b-Qt7"/>
  44. </constraints>
  45. </imageView>
  46. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="81G-wH-fjN" userLabel="imageLocal">
  47. <rect key="frame" x="200" y="200" width="15" height="15"/>
  48. <constraints>
  49. <constraint firstAttribute="height" constant="15" id="NTa-Gi-uzY"/>
  50. <constraint firstAttribute="width" constant="15" id="xLe-lb-N1p"/>
  51. </constraints>
  52. </imageView>
  53. </subviews>
  54. </view>
  55. <constraints>
  56. <constraint firstItem="DHy-Up-3Bh" firstAttribute="leading" secondItem="VXh-sQ-LeX" secondAttribute="leading" constant="5" id="1T3-8p-uIW"/>
  57. <constraint firstItem="AYs-f2-vve" firstAttribute="leading" secondItem="5Ci-V1-hf5" secondAttribute="trailing" constant="-20" id="3e3-0A-NSl"/>
  58. <constraint firstItem="DHy-Up-3Bh" firstAttribute="top" secondItem="VXh-sQ-LeX" secondAttribute="top" constant="5" id="ESV-qE-tbO"/>
  59. <constraint firstItem="5Ci-V1-hf5" firstAttribute="top" secondItem="VXh-sQ-LeX" secondAttribute="top" id="Ouj-ZD-UFm"/>
  60. <constraint firstItem="5Ci-V1-hf5" firstAttribute="leading" secondItem="a0p-rj-jnV" secondAttribute="trailing" constant="-20" id="UtQ-6D-cYc"/>
  61. <constraint firstItem="81G-wH-fjN" firstAttribute="top" secondItem="5Ci-V1-hf5" secondAttribute="bottom" constant="-20" id="aEb-vq-8sk"/>
  62. <constraint firstItem="VXh-sQ-LeX" firstAttribute="trailing" secondItem="5Ci-V1-hf5" secondAttribute="trailing" id="cHT-cP-NN6"/>
  63. <constraint firstItem="VXh-sQ-LeX" firstAttribute="bottom" secondItem="5Ci-V1-hf5" secondAttribute="bottom" id="eEC-eB-alE"/>
  64. <constraint firstItem="81G-wH-fjN" firstAttribute="leading" secondItem="5Ci-V1-hf5" secondAttribute="trailing" constant="-20" id="nFH-Pc-end"/>
  65. <constraint firstItem="5Ci-V1-hf5" firstAttribute="leading" secondItem="VXh-sQ-LeX" secondAttribute="leading" id="qT3-WD-iTV"/>
  66. <constraint firstItem="5Ci-V1-hf5" firstAttribute="top" secondItem="AYs-f2-vve" secondAttribute="bottom" constant="-20" id="rLL-6g-ypv"/>
  67. <constraint firstItem="a0p-rj-jnV" firstAttribute="top" secondItem="5Ci-V1-hf5" secondAttribute="bottom" constant="-20" id="upV-Ov-WWd"/>
  68. </constraints>
  69. <viewLayoutGuide key="safeArea" id="VXh-sQ-LeX"/>
  70. <size key="customSize" width="220" height="260"/>
  71. <connections>
  72. <outlet property="imageFavorite" destination="AYs-f2-vve" id="UeH-R7-bZr"/>
  73. <outlet property="imageItem" destination="5Ci-V1-hf5" id="xky-Nw-NUb"/>
  74. <outlet property="imageLocal" destination="81G-wH-fjN" id="bqj-wQ-CBV"/>
  75. <outlet property="imageSelect" destination="DHy-Up-3Bh" id="mo9-rP-P4I"/>
  76. <outlet property="imageStatus" destination="a0p-rj-jnV" id="6Dg-tf-evd"/>
  77. </connections>
  78. <point key="canvasLocation" x="88" y="141.67916041979012"/>
  79. </collectionViewCell>
  80. </objects>
  81. </document>