NCShareLinkCell.xib 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  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="dark"/>
  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="cellLink" rowHeight="73" id="qJF-Yc-gKE" customClass="NCShareLinkCell" customModule="Nextcloud" customModuleProvider="target">
  15. <rect key="frame" x="0.0" y="0.0" width="322" 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="322" height="60"/>
  19. <autoresizingMask key="autoresizingMask"/>
  20. <subviews>
  21. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" translatesAutoresizingMaskIntoConstraints="NO" id="qDs-UG-Mn7" userLabel="ImageItem">
  22. <rect key="frame" x="6" y="10" width="40" height="40"/>
  23. <constraints>
  24. <constraint firstAttribute="height" constant="34" id="8et-YH-T1D"/>
  25. <constraint firstAttribute="width" constant="40" id="GNY-Va-SIJ"/>
  26. </constraints>
  27. <imageReference key="image" image="link.circle.fill" catalog="system" symbolScale="large" variableValue="0.0"/>
  28. <preferredSymbolConfiguration key="preferredSymbolConfiguration" scale="large"/>
  29. </imageView>
  30. <stackView opaque="NO" contentMode="scaleToFill" spacing="30" translatesAutoresizingMaskIntoConstraints="NO" id="OQv-Vf-bvD">
  31. <rect key="frame" x="242" y="20" width="70" height="20"/>
  32. <subviews>
  33. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="xaz-vY-Jzu" userLabel="ButtonCopy">
  34. <rect key="frame" x="0.0" y="0.0" width="20" height="20"/>
  35. <constraints>
  36. <constraint firstAttribute="width" constant="20" id="0JR-eM-oir"/>
  37. <constraint firstAttribute="height" constant="20" id="HVo-ht-9m6"/>
  38. </constraints>
  39. <state key="normal">
  40. <imageReference key="image" image="doc.on.doc" catalog="system" renderingMode="hierarchical">
  41. <hierarchicalColors>
  42. <color systemColor="labelColor"/>
  43. <color systemColor="secondaryLabelColor"/>
  44. <color systemColor="tertiaryLabelColor"/>
  45. </hierarchicalColors>
  46. </imageReference>
  47. </state>
  48. <connections>
  49. <action selector="touchUpCopy:" destination="qJF-Yc-gKE" eventType="touchUpInside" id="s3f-6n-cKF"/>
  50. </connections>
  51. </button>
  52. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="J1z-RG-U4A" userLabel="ButtonMenu">
  53. <rect key="frame" x="50" y="0.0" width="20" height="20"/>
  54. <constraints>
  55. <constraint firstAttribute="height" constant="20" id="G48-LB-BsD"/>
  56. <constraint firstAttribute="width" constant="20" id="vLI-cJ-Jqx"/>
  57. </constraints>
  58. <state key="normal">
  59. <imageReference key="image" image="ellipsis" catalog="system" renderingMode="hierarchical">
  60. <hierarchicalColors>
  61. <color systemColor="labelColor"/>
  62. <color systemColor="secondaryLabelColor"/>
  63. <color systemColor="tertiaryLabelColor"/>
  64. </hierarchicalColors>
  65. </imageReference>
  66. </state>
  67. <connections>
  68. <action selector="touchUpMenu:" destination="qJF-Yc-gKE" eventType="touchUpInside" id="hFx-Ib-xay"/>
  69. </connections>
  70. </button>
  71. </subviews>
  72. </stackView>
  73. <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="fillEqually" spacing="8" baselineRelativeArrangement="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Wxr-1B-Czy">
  74. <rect key="frame" x="54" y="0.0" width="173" height="56"/>
  75. <subviews>
  76. <label opaque="NO" userInteractionEnabled="NO" tag="101" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Share link" lineBreakMode="middleTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="otH-mT-7Z4" userLabel="labelTitle">
  77. <rect key="frame" x="0.0" y="0.0" width="173" height="32"/>
  78. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  79. <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  80. <nil key="highlightedColor"/>
  81. </label>
  82. <label opaque="NO" userInteractionEnabled="NO" contentMode="center" verticalCompressionResistancePriority="245" text="Only works for users with access to this file/folder" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="WJj-9P-3bn">
  83. <rect key="frame" x="0.0" y="24" width="173" height="32"/>
  84. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  85. <color key="textColor" systemColor="secondaryLabelColor"/>
  86. <nil key="highlightedColor"/>
  87. </label>
  88. </subviews>
  89. </stackView>
  90. </subviews>
  91. <constraints>
  92. <constraint firstItem="OQv-Vf-bvD" firstAttribute="leading" secondItem="Wxr-1B-Czy" secondAttribute="trailing" constant="15" id="8QW-n0-4lO"/>
  93. <constraint firstItem="qDs-UG-Mn7" firstAttribute="leading" secondItem="3Oe-gU-3Nk" secondAttribute="leading" constant="6" id="KOm-wo-CBa"/>
  94. <constraint firstAttribute="bottom" secondItem="Wxr-1B-Czy" secondAttribute="bottom" constant="4" id="MM0-9i-BpF"/>
  95. <constraint firstAttribute="trailing" secondItem="OQv-Vf-bvD" secondAttribute="trailing" constant="10" id="W3b-ww-vbQ"/>
  96. <constraint firstItem="qDs-UG-Mn7" firstAttribute="centerY" secondItem="3Oe-gU-3Nk" secondAttribute="centerY" id="ZrD-Aw-xkx"/>
  97. <constraint firstItem="OQv-Vf-bvD" firstAttribute="centerY" secondItem="3Oe-gU-3Nk" secondAttribute="centerY" id="eLc-gk-xAr"/>
  98. <constraint firstItem="Wxr-1B-Czy" firstAttribute="leading" secondItem="qDs-UG-Mn7" secondAttribute="trailing" constant="8" id="nXI-b3-EJM"/>
  99. <constraint firstItem="Wxr-1B-Czy" firstAttribute="top" secondItem="3Oe-gU-3Nk" secondAttribute="top" id="vxe-9X-O1f"/>
  100. </constraints>
  101. </tableViewCellContentView>
  102. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  103. <connections>
  104. <outlet property="copyButton" destination="xaz-vY-Jzu" id="pMt-Zu-ORX"/>
  105. <outlet property="descriptionLabel" destination="WJj-9P-3bn" id="QC7-SX-O3M"/>
  106. <outlet property="imageItem" destination="qDs-UG-Mn7" id="jxL-r7-BVs"/>
  107. <outlet property="labelTitle" destination="otH-mT-7Z4" id="f9z-Oa-OiR"/>
  108. <outlet property="menuButton" destination="J1z-RG-U4A" id="VCC-y1-LRK"/>
  109. </connections>
  110. <point key="canvasLocation" x="-124.8" y="268.51574212893553"/>
  111. </tableViewCell>
  112. </objects>
  113. <resources>
  114. <image name="doc.on.doc" catalog="system" width="116" height="128"/>
  115. <image name="ellipsis" catalog="system" width="128" height="37"/>
  116. <image name="link.circle.fill" catalog="system" width="128" height="123"/>
  117. <systemColor name="labelColor">
  118. <color white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  119. </systemColor>
  120. <systemColor name="secondaryLabelColor">
  121. <color red="0.23529411759999999" green="0.23529411759999999" blue="0.26274509800000001" alpha="0.59999999999999998" colorSpace="custom" customColorSpace="sRGB"/>
  122. </systemColor>
  123. <systemColor name="tertiaryLabelColor">
  124. <color red="0.23529411759999999" green="0.23529411759999999" blue="0.26274509800000001" alpha="0.29803921570000003" colorSpace="custom" customColorSpace="sRGB"/>
  125. </systemColor>
  126. </resources>
  127. </document>