NCTrashSectionHeaderMenu.xib 7.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="18122" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
  3. <device id="retina4_7" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="18093"/>
  7. <capability name="Safe area layout guides" minToolsVersion="9.0"/>
  8. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  9. </dependencies>
  10. <objects>
  11. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  12. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  13. <collectionReusableView opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" reuseIdentifier="sectionHeaderMenu" id="tys-A2-nDX" customClass="NCTrashSectionHeaderMenu" customModule="Nextcloud" customModuleProvider="target">
  14. <rect key="frame" x="0.0" y="0.0" width="375" height="50"/>
  15. <autoresizingMask key="autoresizingMask"/>
  16. <subviews>
  17. <button opaque="NO" contentMode="scaleAspectFit" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="1LD-cd-zhc" userLabel="buttonSwitch">
  18. <rect key="frame" x="12" y="12.5" width="25" height="25"/>
  19. <constraints>
  20. <constraint firstAttribute="width" constant="25" id="D76-X9-Tw9"/>
  21. <constraint firstAttribute="height" constant="25" id="izT-Ru-XYG"/>
  22. </constraints>
  23. <state key="normal" image="switchList"/>
  24. <connections>
  25. <action selector="touchUpInsideSwitch:" destination="tys-A2-nDX" eventType="touchUpInside" id="iT8-1j-fib"/>
  26. </connections>
  27. </button>
  28. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="0bo-yl-t5k" userLabel="buttonOrder">
  29. <rect key="frame" x="55" y="11" width="230" height="28"/>
  30. <constraints>
  31. <constraint firstAttribute="width" constant="230" id="jvv-Ug-l3I"/>
  32. </constraints>
  33. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  34. <state key="normal" title="Sort by name (from A to Z)">
  35. <color key="titleColor" systemColor="darkTextColor"/>
  36. </state>
  37. <connections>
  38. <action selector="touchUpInsideOrder:" destination="tys-A2-nDX" eventType="touchUpInside" id="oiL-3O-hMQ"/>
  39. </connections>
  40. </button>
  41. <button opaque="NO" contentMode="scaleAspectFit" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="D0O-wK-14O" userLabel="buttonMore">
  42. <rect key="frame" x="345" y="15" width="20" height="20"/>
  43. <constraints>
  44. <constraint firstAttribute="width" constant="20" id="aEr-j8-JDO"/>
  45. <constraint firstAttribute="height" constant="20" id="bvx-Uh-NWD"/>
  46. </constraints>
  47. <state key="normal" image="moreBig"/>
  48. <connections>
  49. <action selector="touchUpInsideMore:" destination="tys-A2-nDX" eventType="touchUpInside" id="Jyu-Mx-nWq"/>
  50. </connections>
  51. </button>
  52. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="LZu-Te-clJ" userLabel="Separator">
  53. <rect key="frame" x="0.0" y="48" width="375" height="1"/>
  54. <color key="backgroundColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  55. <color key="tintColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  56. <constraints>
  57. <constraint firstAttribute="height" constant="1" id="VuP-sT-hUI"/>
  58. </constraints>
  59. </view>
  60. </subviews>
  61. <viewLayoutGuide key="safeArea" id="pm7-uW-mZE"/>
  62. <constraints>
  63. <constraint firstItem="D0O-wK-14O" firstAttribute="centerY" secondItem="tys-A2-nDX" secondAttribute="centerY" id="6w7-ws-gX3"/>
  64. <constraint firstAttribute="trailing" secondItem="LZu-Te-clJ" secondAttribute="trailing" id="7ww-Zl-sES"/>
  65. <constraint firstAttribute="trailing" secondItem="D0O-wK-14O" secondAttribute="trailing" constant="10" id="AsZ-tP-fP1"/>
  66. <constraint firstItem="LZu-Te-clJ" firstAttribute="leading" secondItem="tys-A2-nDX" secondAttribute="leading" id="ZEl-Ij-nt8"/>
  67. <constraint firstItem="1LD-cd-zhc" firstAttribute="leading" secondItem="tys-A2-nDX" secondAttribute="leading" constant="12" id="dHo-I3-Z1V"/>
  68. <constraint firstItem="1LD-cd-zhc" firstAttribute="centerY" secondItem="tys-A2-nDX" secondAttribute="centerY" id="hbd-cO-eBq"/>
  69. <constraint firstItem="0bo-yl-t5k" firstAttribute="centerY" secondItem="tys-A2-nDX" secondAttribute="centerY" id="kSZ-op-97F"/>
  70. <constraint firstAttribute="bottom" secondItem="LZu-Te-clJ" secondAttribute="bottom" constant="1" id="tJp-qc-NGO"/>
  71. <constraint firstItem="0bo-yl-t5k" firstAttribute="leading" secondItem="1LD-cd-zhc" secondAttribute="trailing" constant="18" id="zlZ-IN-gGx"/>
  72. </constraints>
  73. <connections>
  74. <outlet property="buttonMore" destination="D0O-wK-14O" id="eEx-3R-zCS"/>
  75. <outlet property="buttonOrder" destination="0bo-yl-t5k" id="Kbw-BG-73C"/>
  76. <outlet property="buttonOrderWidthConstraint" destination="jvv-Ug-l3I" id="E6N-z6-2VC"/>
  77. <outlet property="buttonSwitch" destination="1LD-cd-zhc" id="Ec2-cM-CoY"/>
  78. <outlet property="separator" destination="LZu-Te-clJ" id="EwO-za-LxT"/>
  79. <outlet property="separatorHeightConstraint" destination="VuP-sT-hUI" id="xVh-Se-bJq"/>
  80. </connections>
  81. <point key="canvasLocation" x="140" y="154"/>
  82. </collectionReusableView>
  83. </objects>
  84. <resources>
  85. <image name="moreBig" width="50" height="50"/>
  86. <image name="switchList" width="25" height="25"/>
  87. <systemColor name="darkTextColor">
  88. <color white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  89. </systemColor>
  90. </resources>
  91. </document>