NCTrashHeaderMenu.xib 6.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  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. <collectionReusableView opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" reuseIdentifier="headerMenu" id="tys-A2-nDX" customClass="NCTrashHeaderMenu" customModule="Nextcloud" customModuleProvider="target">
  16. <rect key="frame" x="0.0" y="0.0" width="375" height="50"/>
  17. <autoresizingMask key="autoresizingMask"/>
  18. <subviews>
  19. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="LZu-Te-clJ" userLabel="Separator">
  20. <rect key="frame" x="0.0" y="48" width="375" height="1"/>
  21. <color key="backgroundColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  22. <color key="tintColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  23. <constraints>
  24. <constraint firstAttribute="height" constant="1" id="VuP-sT-hUI"/>
  25. </constraints>
  26. </view>
  27. <button opaque="NO" contentMode="scaleAspectFit" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="1LD-cd-zhc" userLabel="buttonSwitch">
  28. <rect key="frame" x="12" y="12.5" width="25" height="25"/>
  29. <constraints>
  30. <constraint firstAttribute="width" constant="25" id="D76-X9-Tw9"/>
  31. <constraint firstAttribute="height" constant="25" id="izT-Ru-XYG"/>
  32. </constraints>
  33. <state key="normal" image="switchList"/>
  34. <connections>
  35. <action selector="touchUpInsideSwitch:" destination="tys-A2-nDX" eventType="touchUpInside" id="iT8-1j-fib"/>
  36. </connections>
  37. </button>
  38. <button hidden="YES" opaque="NO" contentMode="scaleAspectFit" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="D0O-wK-14O" userLabel="buttonSwitch">
  39. <rect key="frame" x="338" y="12.5" width="25" height="25"/>
  40. <constraints>
  41. <constraint firstAttribute="width" constant="25" id="aEr-j8-JDO"/>
  42. <constraint firstAttribute="height" constant="25" id="bvx-Uh-NWD"/>
  43. </constraints>
  44. <state key="normal" image="moreBig"/>
  45. <connections>
  46. <action selector="touchUpInsideMore:" destination="tys-A2-nDX" eventType="touchUpInside" id="Jyu-Mx-nWq"/>
  47. </connections>
  48. </button>
  49. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="0bo-yl-t5k" userLabel="buttonOrder">
  50. <rect key="frame" x="55" y="11" width="230" height="28"/>
  51. <constraints>
  52. <constraint firstAttribute="width" constant="230" id="jvv-Ug-l3I"/>
  53. </constraints>
  54. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  55. <state key="normal" title="Sort by name (from A to Z)">
  56. <color key="titleColor" cocoaTouchSystemColor="darkTextColor"/>
  57. </state>
  58. <connections>
  59. <action selector="touchUpInsideOrder:" destination="tys-A2-nDX" eventType="touchUpInside" id="oiL-3O-hMQ"/>
  60. </connections>
  61. </button>
  62. </subviews>
  63. <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  64. <constraints>
  65. <constraint firstItem="D0O-wK-14O" firstAttribute="centerY" secondItem="tys-A2-nDX" secondAttribute="centerY" id="6w7-ws-gX3"/>
  66. <constraint firstAttribute="trailing" secondItem="LZu-Te-clJ" secondAttribute="trailing" id="7ww-Zl-sES"/>
  67. <constraint firstAttribute="trailing" secondItem="D0O-wK-14O" secondAttribute="trailing" constant="12" id="AsZ-tP-fP1"/>
  68. <constraint firstItem="LZu-Te-clJ" firstAttribute="leading" secondItem="tys-A2-nDX" secondAttribute="leading" id="ZEl-Ij-nt8"/>
  69. <constraint firstItem="1LD-cd-zhc" firstAttribute="leading" secondItem="tys-A2-nDX" secondAttribute="leading" constant="12" id="dHo-I3-Z1V"/>
  70. <constraint firstItem="1LD-cd-zhc" firstAttribute="centerY" secondItem="tys-A2-nDX" secondAttribute="centerY" id="hbd-cO-eBq"/>
  71. <constraint firstItem="0bo-yl-t5k" firstAttribute="centerY" secondItem="tys-A2-nDX" secondAttribute="centerY" id="kSZ-op-97F"/>
  72. <constraint firstAttribute="bottom" secondItem="LZu-Te-clJ" secondAttribute="bottom" constant="1" id="tJp-qc-NGO"/>
  73. <constraint firstItem="0bo-yl-t5k" firstAttribute="leading" secondItem="1LD-cd-zhc" secondAttribute="trailing" constant="18" id="zlZ-IN-gGx"/>
  74. </constraints>
  75. <viewLayoutGuide key="safeArea" id="pm7-uW-mZE"/>
  76. <connections>
  77. <outlet property="buttonMore" destination="D0O-wK-14O" id="eEx-3R-zCS"/>
  78. <outlet property="buttonOrder" destination="0bo-yl-t5k" id="Kbw-BG-73C"/>
  79. <outlet property="buttonOrderWidthConstraint" destination="jvv-Ug-l3I" id="E6N-z6-2VC"/>
  80. <outlet property="buttonSwitch" destination="1LD-cd-zhc" id="Ec2-cM-CoY"/>
  81. <outlet property="separator" destination="LZu-Te-clJ" id="EwO-za-LxT"/>
  82. </connections>
  83. </collectionReusableView>
  84. </objects>
  85. <resources>
  86. <image name="moreBig" width="80" height="80"/>
  87. <image name="switchList" width="25" height="25"/>
  88. </resources>
  89. </document>