NCShareUserCell.xib 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  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="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  10. </dependencies>
  11. <objects>
  12. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  13. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  14. <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" reuseIdentifier="cellUser" rowHeight="90" id="qJF-Yc-gKE" customClass="NCShareUserCell" customModule="Nextcloud" customModuleProvider="target">
  15. <rect key="frame" x="0.0" y="0.0" width="600" height="90"/>
  16. <autoresizingMask key="autoresizingMask"/>
  17. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="qJF-Yc-gKE" id="3Oe-gU-3Nk">
  18. <rect key="frame" x="0.0" y="0.0" width="600" height="89.5"/>
  19. <autoresizingMask key="autoresizingMask"/>
  20. <subviews>
  21. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" image="avatar" translatesAutoresizingMaskIntoConstraints="NO" id="qDs-UG-Mn7" userLabel="ImageItem" customClass="NCAvatar" customModule="Nextcloud" customModuleProvider="target">
  22. <rect key="frame" x="5" y="25" width="40" height="40"/>
  23. <constraints>
  24. <constraint firstAttribute="height" constant="40" id="8et-YH-T1D"/>
  25. <constraint firstAttribute="width" constant="40" id="GNY-Va-SIJ"/>
  26. </constraints>
  27. <userDefinedRuntimeAttributes>
  28. <userDefinedRuntimeAttribute type="number" keyPath="borderWidth">
  29. <integer key="value" value="1"/>
  30. </userDefinedRuntimeAttribute>
  31. <userDefinedRuntimeAttribute type="color" keyPath="borderColor">
  32. <color key="value" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  33. </userDefinedRuntimeAttribute>
  34. </userDefinedRuntimeAttributes>
  35. </imageView>
  36. <label opaque="NO" userInteractionEnabled="NO" tag="101" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="shareWith" lineBreakMode="middleTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="otH-mT-7Z4" userLabel="labelTitle">
  37. <rect key="frame" x="55" y="36" width="150" height="18"/>
  38. <constraints>
  39. <constraint firstAttribute="width" constant="150" id="4Oa-yZ-HZK"/>
  40. <constraint firstAttribute="height" constant="18" id="iet-xr-SX6"/>
  41. </constraints>
  42. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  43. <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  44. <nil key="highlightedColor"/>
  45. </label>
  46. <switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" translatesAutoresizingMaskIntoConstraints="NO" id="1Ju-M3-Ea4">
  47. <rect key="frame" x="418" y="29.5" width="49" height="31"/>
  48. <constraints>
  49. <constraint firstAttribute="height" constant="31" id="Yxu-hy-A7m"/>
  50. <constraint firstAttribute="width" constant="47" id="jeg-tb-g7e"/>
  51. </constraints>
  52. <connections>
  53. <action selector="switchCanEditChangedWithSender:" destination="qJF-Yc-gKE" eventType="valueChanged" id="0c2-af-6CQ"/>
  54. </connections>
  55. </switch>
  56. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Can edit" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="QXZ-ax-nlQ">
  57. <rect key="frame" x="475" y="34.5" width="80" height="21"/>
  58. <constraints>
  59. <constraint firstAttribute="height" constant="21" id="WZK-ND-Vl1"/>
  60. <constraint firstAttribute="width" constant="80" id="guh-u2-aXB"/>
  61. </constraints>
  62. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  63. <nil key="textColor"/>
  64. <nil key="highlightedColor"/>
  65. </label>
  66. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="J1z-RG-U4A" userLabel="ButtonMenu">
  67. <rect key="frame" x="570" y="35" width="20" height="20"/>
  68. <constraints>
  69. <constraint firstAttribute="height" constant="20" id="G48-LB-BsD"/>
  70. <constraint firstAttribute="width" constant="20" id="vLI-cJ-Jqx"/>
  71. </constraints>
  72. <state key="normal" image="shareMenu"/>
  73. <connections>
  74. <action selector="touchUpInsideMenu:" destination="qJF-Yc-gKE" eventType="touchUpInside" id="NJn-zI-QQX"/>
  75. </connections>
  76. </button>
  77. </subviews>
  78. <constraints>
  79. <constraint firstItem="otH-mT-7Z4" firstAttribute="leading" secondItem="qDs-UG-Mn7" secondAttribute="trailing" constant="10" id="7o5-Rj-6lV"/>
  80. <constraint firstItem="otH-mT-7Z4" firstAttribute="centerY" secondItem="3Oe-gU-3Nk" secondAttribute="centerY" id="JNE-HJ-E36"/>
  81. <constraint firstItem="QXZ-ax-nlQ" firstAttribute="leading" secondItem="1Ju-M3-Ea4" secondAttribute="trailing" constant="10" id="JOV-hM-J9e"/>
  82. <constraint firstItem="qDs-UG-Mn7" firstAttribute="leading" secondItem="3Oe-gU-3Nk" secondAttribute="leading" constant="5" id="KOm-wo-CBa"/>
  83. <constraint firstItem="J1z-RG-U4A" firstAttribute="leading" secondItem="QXZ-ax-nlQ" secondAttribute="trailing" constant="15" id="N3c-Vr-0Vq"/>
  84. <constraint firstItem="1Ju-M3-Ea4" firstAttribute="centerY" secondItem="3Oe-gU-3Nk" secondAttribute="centerY" id="Se0-y9-Dgs"/>
  85. <constraint firstItem="J1z-RG-U4A" firstAttribute="centerY" secondItem="3Oe-gU-3Nk" secondAttribute="centerY" id="TvQ-yn-L5w"/>
  86. <constraint firstItem="qDs-UG-Mn7" firstAttribute="centerY" secondItem="3Oe-gU-3Nk" secondAttribute="centerY" id="ZrD-Aw-xkx"/>
  87. <constraint firstItem="QXZ-ax-nlQ" firstAttribute="centerY" secondItem="3Oe-gU-3Nk" secondAttribute="centerY" id="apA-j5-MyE"/>
  88. <constraint firstAttribute="trailing" secondItem="J1z-RG-U4A" secondAttribute="trailing" constant="10" id="pQA-B9-MM5"/>
  89. </constraints>
  90. </tableViewCellContentView>
  91. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  92. <connections>
  93. <outlet property="buttonMenu" destination="J1z-RG-U4A" id="g71-Us-VMl"/>
  94. <outlet property="imageItem" destination="qDs-UG-Mn7" id="cRP-ne-dd0"/>
  95. <outlet property="labelCanEdit" destination="QXZ-ax-nlQ" id="7Fw-B4-eo4"/>
  96. <outlet property="labelTitle" destination="otH-mT-7Z4" id="qxQ-kL-P3H"/>
  97. <outlet property="switchCanEdit" destination="1Ju-M3-Ea4" id="TvH-ZH-KWR"/>
  98. </connections>
  99. <point key="canvasLocation" x="97.599999999999994" y="276.1619190404798"/>
  100. </tableViewCell>
  101. </objects>
  102. <resources>
  103. <image name="avatar" width="25" height="25"/>
  104. <image name="shareMenu" width="329" height="329"/>
  105. </resources>
  106. </document>