NCShareUserCell.xib 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="32700.99.1234" 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="22685"/>
  7. <capability name="Image references" minToolsVersion="12.0"/>
  8. <capability name="System colors in document resources" minToolsVersion="11.0"/>
  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="70" id="qJF-Yc-gKE" customClass="NCShareUserCell" customModule="Nextcloud" customModuleProvider="target">
  15. <rect key="frame" x="0.0" y="0.0" width="600" height="60"/>
  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="60"/>
  19. <autoresizingMask key="autoresizingMask"/>
  20. <subviews>
  21. <imageView clipsSubviews="YES" contentMode="scaleAspectFill" image="avatar2" translatesAutoresizingMaskIntoConstraints="NO" id="qDs-UG-Mn7" userLabel="ImageItem">
  22. <rect key="frame" x="5" y="11.5" width="37" height="37"/>
  23. <constraints>
  24. <constraint firstAttribute="height" constant="37" id="8et-YH-T1D"/>
  25. <constraint firstAttribute="width" constant="37" id="GNY-Va-SIJ"/>
  26. </constraints>
  27. <preferredSymbolConfiguration key="preferredSymbolConfiguration" scale="large"/>
  28. <userDefinedRuntimeAttributes>
  29. <userDefinedRuntimeAttribute type="boolean" keyPath="disableAvatar" value="YES"/>
  30. <userDefinedRuntimeAttribute type="number" keyPath="borderWidth">
  31. <integer key="value" value="1"/>
  32. </userDefinedRuntimeAttribute>
  33. <userDefinedRuntimeAttribute type="color" keyPath="borderColor">
  34. <color key="value" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  35. </userDefinedRuntimeAttribute>
  36. </userDefinedRuntimeAttributes>
  37. </imageView>
  38. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="cEA-ts-Q8I">
  39. <rect key="frame" x="27" y="33.5" width="20" height="20"/>
  40. <constraints>
  41. <constraint firstAttribute="height" constant="20" id="PGX-L0-VWR"/>
  42. <constraint firstAttribute="width" constant="20" id="XBj-Mx-dCc"/>
  43. </constraints>
  44. </imageView>
  45. <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">
  46. <rect key="frame" x="52" y="10" width="400" height="18"/>
  47. <constraints>
  48. <constraint firstAttribute="width" constant="400" id="4Oa-yZ-HZK"/>
  49. <constraint firstAttribute="height" constant="18" id="iet-xr-SX6"/>
  50. </constraints>
  51. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  52. <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  53. <nil key="highlightedColor"/>
  54. </label>
  55. <label opaque="NO" userInteractionEnabled="NO" tag="101" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="label quick status" lineBreakMode="middleTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Wzb-Us-kQu">
  56. <rect key="frame" x="52" y="31" width="106" height="18"/>
  57. <constraints>
  58. <constraint firstAttribute="height" constant="18" id="08l-QE-tCg"/>
  59. </constraints>
  60. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  61. <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  62. <nil key="highlightedColor"/>
  63. </label>
  64. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="arrowtriangle.down.circle" catalog="system" translatesAutoresizingMaskIntoConstraints="NO" id="dY5-fF-IsK">
  65. <rect key="frame" x="159" y="33" width="15" height="14"/>
  66. <constraints>
  67. <constraint firstAttribute="width" constant="15" id="VC5-7w-E0B"/>
  68. <constraint firstAttribute="height" constant="15" id="Wa4-aR-Yq3"/>
  69. </constraints>
  70. </imageView>
  71. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="user status" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="cUC-wO-Mxm">
  72. <rect key="frame" x="46" y="61" width="504" height="16"/>
  73. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  74. <nil key="textColor"/>
  75. <nil key="highlightedColor"/>
  76. </label>
  77. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="kaa-f4-d2t">
  78. <rect key="frame" x="52" y="0.0" width="503" height="60"/>
  79. <connections>
  80. <action selector="quickStatusClicked:" destination="qJF-Yc-gKE" eventType="touchUpInside" id="UpH-vO-bIh"/>
  81. </connections>
  82. </button>
  83. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="J1z-RG-U4A" userLabel="ButtonMenu">
  84. <rect key="frame" x="570" y="20" width="20" height="20"/>
  85. <constraints>
  86. <constraint firstAttribute="height" constant="20" id="G48-LB-BsD"/>
  87. <constraint firstAttribute="width" constant="20" id="vLI-cJ-Jqx"/>
  88. </constraints>
  89. <state key="normal">
  90. <imageReference key="image" image="ellipsis" catalog="system" renderingMode="hierarchical">
  91. <hierarchicalColors>
  92. <color systemColor="labelColor"/>
  93. <color systemColor="secondaryLabelColor"/>
  94. <color systemColor="tertiaryLabelColor"/>
  95. </hierarchicalColors>
  96. </imageReference>
  97. </state>
  98. <connections>
  99. <action selector="touchUpInsideMenu:" destination="qJF-Yc-gKE" eventType="touchUpInside" id="NJn-zI-QQX"/>
  100. </connections>
  101. </button>
  102. </subviews>
  103. <constraints>
  104. <constraint firstItem="otH-mT-7Z4" firstAttribute="leading" secondItem="qDs-UG-Mn7" secondAttribute="trailing" constant="10" id="7o5-Rj-6lV"/>
  105. <constraint firstItem="kaa-f4-d2t" firstAttribute="leading" secondItem="otH-mT-7Z4" secondAttribute="leading" id="EjD-fg-ltt"/>
  106. <constraint firstItem="qDs-UG-Mn7" firstAttribute="leading" secondItem="3Oe-gU-3Nk" secondAttribute="leading" constant="5" id="KOm-wo-CBa"/>
  107. <constraint firstItem="kaa-f4-d2t" firstAttribute="top" secondItem="3Oe-gU-3Nk" secondAttribute="top" id="MFe-I4-uWi"/>
  108. <constraint firstItem="otH-mT-7Z4" firstAttribute="top" secondItem="3Oe-gU-3Nk" secondAttribute="top" constant="10" id="PXb-Eh-v5c"/>
  109. <constraint firstItem="cEA-ts-Q8I" firstAttribute="leading" secondItem="qDs-UG-Mn7" secondAttribute="trailing" constant="-15" id="Tah-P4-eci"/>
  110. <constraint firstItem="J1z-RG-U4A" firstAttribute="centerY" secondItem="3Oe-gU-3Nk" secondAttribute="centerY" id="TvQ-yn-L5w"/>
  111. <constraint firstAttribute="bottom" secondItem="cUC-wO-Mxm" secondAttribute="bottom" constant="13" id="XY1-34-ft3"/>
  112. <constraint firstItem="cUC-wO-Mxm" firstAttribute="leading" secondItem="qDs-UG-Mn7" secondAttribute="trailing" constant="11" id="Y5D-bW-8kc"/>
  113. <constraint firstItem="dY5-fF-IsK" firstAttribute="centerY" secondItem="Wzb-Us-kQu" secondAttribute="centerY" id="ZQq-dk-l9c"/>
  114. <constraint firstItem="qDs-UG-Mn7" firstAttribute="centerY" secondItem="3Oe-gU-3Nk" secondAttribute="centerY" id="ZrD-Aw-xkx"/>
  115. <constraint firstItem="J1z-RG-U4A" firstAttribute="leading" secondItem="kaa-f4-d2t" secondAttribute="trailing" constant="15" id="eXU-Lu-MUg"/>
  116. <constraint firstAttribute="bottom" secondItem="kaa-f4-d2t" secondAttribute="bottom" id="ecV-EG-AqZ"/>
  117. <constraint firstItem="cEA-ts-Q8I" firstAttribute="top" secondItem="qDs-UG-Mn7" secondAttribute="bottom" constant="-15" id="j4V-Ji-PdK"/>
  118. <constraint firstItem="Wzb-Us-kQu" firstAttribute="centerY" secondItem="3Oe-gU-3Nk" secondAttribute="centerY" constant="10" id="lrs-eT-Bjn"/>
  119. <constraint firstAttribute="trailing" secondItem="J1z-RG-U4A" secondAttribute="trailing" constant="10" id="pQA-B9-MM5"/>
  120. <constraint firstItem="dY5-fF-IsK" firstAttribute="leading" secondItem="Wzb-Us-kQu" secondAttribute="trailing" constant="1" id="vZw-cw-bBk"/>
  121. <constraint firstItem="Wzb-Us-kQu" firstAttribute="leading" secondItem="otH-mT-7Z4" secondAttribute="leading" id="vbt-49-CMn"/>
  122. <constraint firstAttribute="trailing" secondItem="cUC-wO-Mxm" secondAttribute="trailing" constant="50" id="zHr-FD-PMG"/>
  123. </constraints>
  124. <variation key="default">
  125. <mask key="subviews">
  126. <exclude reference="cUC-wO-Mxm"/>
  127. </mask>
  128. </variation>
  129. </tableViewCellContentView>
  130. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  131. <connections>
  132. <outlet property="btnQuickStatus" destination="kaa-f4-d2t" id="9cK-mI-hME"/>
  133. <outlet property="buttonMenu" destination="J1z-RG-U4A" id="g71-Us-VMl"/>
  134. <outlet property="imageDownArrow" destination="dY5-fF-IsK" id="itl-qi-MO5"/>
  135. <outlet property="imageItem" destination="qDs-UG-Mn7" id="cRP-ne-dd0"/>
  136. <outlet property="imageStatus" destination="cEA-ts-Q8I" id="uyY-c0-qG7"/>
  137. <outlet property="labelQuickStatus" destination="Wzb-Us-kQu" id="vDY-ad-WRs"/>
  138. <outlet property="labelTitle" destination="otH-mT-7Z4" id="qxQ-kL-P3H"/>
  139. <outlet property="status" destination="cUC-wO-Mxm" id="qHl-74-s3c"/>
  140. </connections>
  141. <point key="canvasLocation" x="97.599999999999994" y="276.1619190404798"/>
  142. </tableViewCell>
  143. </objects>
  144. <resources>
  145. <image name="arrowtriangle.down.circle" catalog="system" width="128" height="123"/>
  146. <image name="avatar2" width="32" height="32"/>
  147. <image name="ellipsis" catalog="system" width="128" height="37"/>
  148. <systemColor name="labelColor">
  149. <color white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  150. </systemColor>
  151. <systemColor name="secondaryLabelColor">
  152. <color red="0.23529411759999999" green="0.23529411759999999" blue="0.26274509800000001" alpha="0.59999999999999998" colorSpace="custom" customColorSpace="sRGB"/>
  153. </systemColor>
  154. <systemColor name="tertiaryLabelColor">
  155. <color red="0.23529411759999999" green="0.23529411759999999" blue="0.26274509800000001" alpha="0.29803921570000003" colorSpace="custom" customColorSpace="sRGB"/>
  156. </systemColor>
  157. </resources>
  158. </document>