NCTrash.storyboard 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14313.18" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="EFX-fO-Oip">
  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. <scenes>
  13. <!--Trash-->
  14. <scene sceneID="X4W-6b-l7s">
  15. <objects>
  16. <viewController storyboardIdentifier="NCTrash.storyboard" id="EFX-fO-Oip" customClass="NCTrash" customModule="Nextcloud" customModuleProvider="target" sceneMemberID="viewController">
  17. <view key="view" contentMode="scaleToFill" id="QEs-gO-Cmp">
  18. <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
  19. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  20. <subviews>
  21. <collectionView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" dataMode="prototypes" translatesAutoresizingMaskIntoConstraints="NO" id="Zaz-Cl-qpZ">
  22. <rect key="frame" x="0.0" y="20" width="375" height="647"/>
  23. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  24. <collectionViewFlowLayout key="collectionViewLayout" minimumLineSpacing="0.0" minimumInteritemSpacing="0.0" id="fF1-wd-0xN">
  25. <size key="itemSize" width="0.0" height="0.0"/>
  26. <size key="headerReferenceSize" width="50" height="30"/>
  27. <size key="footerReferenceSize" width="0.0" height="0.0"/>
  28. <inset key="sectionInset" minX="0.0" minY="0.0" maxX="0.0" maxY="0.0"/>
  29. </collectionViewFlowLayout>
  30. <cells/>
  31. <collectionReusableView key="sectionHeaderView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" reuseIdentifier="header" id="AQ6-rS-Wxb" customClass="NCTrashHeader" customModule="Nextcloud" customModuleProvider="target">
  32. <rect key="frame" x="0.0" y="0.0" width="375" height="30"/>
  33. <autoresizingMask key="autoresizingMask"/>
  34. <subviews>
  35. <imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="trashMore" translatesAutoresizingMaskIntoConstraints="NO" id="2CA-s4-Jqg" userLabel="More">
  36. <rect key="frame" x="332" y="2" width="26" height="26"/>
  37. <constraints>
  38. <constraint firstAttribute="height" constant="26" id="1jE-4z-D0D"/>
  39. <constraint firstAttribute="width" constant="26" id="9NZ-3O-HHt"/>
  40. </constraints>
  41. </imageView>
  42. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="hva-qI-4Kl" userLabel="Separator">
  43. <rect key="frame" x="0.0" y="29" width="375" height="1"/>
  44. <color key="backgroundColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  45. <color key="tintColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  46. <constraints>
  47. <constraint firstAttribute="height" constant="1" id="5Wf-y6-RCg"/>
  48. </constraints>
  49. </view>
  50. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="trashMore" translatesAutoresizingMaskIntoConstraints="NO" id="nkV-w3-rdJ" userLabel="switch">
  51. <rect key="frame" x="10" y="2" width="26" height="26"/>
  52. <constraints>
  53. <constraint firstAttribute="width" constant="26" id="Ghm-eE-bE5"/>
  54. <constraint firstAttribute="height" constant="26" id="gge-hx-5g4"/>
  55. </constraints>
  56. </imageView>
  57. </subviews>
  58. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  59. <constraints>
  60. <constraint firstItem="nkV-w3-rdJ" firstAttribute="centerY" secondItem="AQ6-rS-Wxb" secondAttribute="centerY" id="1Rd-vo-7Qb"/>
  61. <constraint firstItem="nkV-w3-rdJ" firstAttribute="leading" secondItem="AQ6-rS-Wxb" secondAttribute="leading" constant="10" id="Kdy-nZ-IGc"/>
  62. <constraint firstAttribute="trailing" secondItem="2CA-s4-Jqg" secondAttribute="trailing" constant="17" id="MqZ-eT-w2f"/>
  63. <constraint firstAttribute="trailing" secondItem="hva-qI-4Kl" secondAttribute="trailing" id="Nq8-X5-7Cq"/>
  64. <constraint firstItem="hva-qI-4Kl" firstAttribute="leading" secondItem="AQ6-rS-Wxb" secondAttribute="leading" id="a0G-P5-ZTU"/>
  65. <constraint firstAttribute="bottom" secondItem="hva-qI-4Kl" secondAttribute="bottom" id="ixp-nm-HUt"/>
  66. <constraint firstItem="2CA-s4-Jqg" firstAttribute="centerY" secondItem="AQ6-rS-Wxb" secondAttribute="centerY" id="xmf-F2-GEE"/>
  67. </constraints>
  68. <connections>
  69. <outlet property="separator" destination="hva-qI-4Kl" id="3Zy-ap-3kf"/>
  70. <outlet property="tapMore" destination="2CA-s4-Jqg" id="ZrC-Kw-hzQ"/>
  71. <outlet property="tapSwitch" destination="nkV-w3-rdJ" id="FFs-uz-jv7"/>
  72. </connections>
  73. </collectionReusableView>
  74. <connections>
  75. <outlet property="dataSource" destination="EFX-fO-Oip" id="2On-qP-zuG"/>
  76. <outlet property="delegate" destination="EFX-fO-Oip" id="s3n-CL-8X2"/>
  77. </connections>
  78. </collectionView>
  79. </subviews>
  80. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  81. <constraints>
  82. <constraint firstItem="Zaz-Cl-qpZ" firstAttribute="leading" secondItem="Meh-VD-wWh" secondAttribute="leading" id="1bp-sm-u0X"/>
  83. <constraint firstItem="Meh-VD-wWh" firstAttribute="trailing" secondItem="Zaz-Cl-qpZ" secondAttribute="trailing" id="aNd-UL-hmu"/>
  84. <constraint firstItem="Meh-VD-wWh" firstAttribute="bottom" secondItem="Zaz-Cl-qpZ" secondAttribute="bottom" id="aNr-tf-2AH"/>
  85. <constraint firstItem="Zaz-Cl-qpZ" firstAttribute="top" secondItem="Meh-VD-wWh" secondAttribute="top" id="tji-wt-R7s"/>
  86. </constraints>
  87. <viewLayoutGuide key="safeArea" id="Meh-VD-wWh"/>
  88. </view>
  89. <connections>
  90. <outlet property="collectionView" destination="Zaz-Cl-qpZ" id="8oA-Gx-z7T"/>
  91. </connections>
  92. </viewController>
  93. <placeholder placeholderIdentifier="IBFirstResponder" id="JJ0-Le-6eT" userLabel="First Responder" sceneMemberID="firstResponder"/>
  94. </objects>
  95. <point key="canvasLocation" x="256.80000000000001" y="228.93553223388307"/>
  96. </scene>
  97. </scenes>
  98. <resources>
  99. <image name="trashMore" width="80" height="80"/>
  100. </resources>
  101. </document>