NCShareLinkCell.xib 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="19529" 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="19519"/>
  7. <capability name="System colors in document resources" minToolsVersion="11.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. <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" reuseIdentifier="cellLink" rowHeight="90" id="qJF-Yc-gKE" customClass="NCShareLinkCell" customModule="Nextcloud" customModuleProvider="target">
  14. <rect key="frame" x="0.0" y="0.0" width="600" height="90"/>
  15. <autoresizingMask key="autoresizingMask"/>
  16. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="qJF-Yc-gKE" id="3Oe-gU-3Nk">
  17. <rect key="frame" x="0.0" y="0.0" width="600" height="90"/>
  18. <autoresizingMask key="autoresizingMask"/>
  19. <subviews>
  20. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" image="circle" translatesAutoresizingMaskIntoConstraints="NO" id="qDs-UG-Mn7" userLabel="ImageItem">
  21. <rect key="frame" x="5" y="25" width="40" height="40"/>
  22. <constraints>
  23. <constraint firstAttribute="height" constant="40" id="8et-YH-T1D"/>
  24. <constraint firstAttribute="width" constant="40" id="GNY-Va-SIJ"/>
  25. </constraints>
  26. </imageView>
  27. <stackView opaque="NO" contentMode="scaleToFill" spacing="30" translatesAutoresizingMaskIntoConstraints="NO" id="OQv-Vf-bvD">
  28. <rect key="frame" x="520" y="35" width="70" height="20"/>
  29. <subviews>
  30. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="xaz-vY-Jzu" userLabel="ButtonCopy">
  31. <rect key="frame" x="0.0" y="0.0" width="20" height="20"/>
  32. <constraints>
  33. <constraint firstAttribute="width" constant="20" id="0JR-eM-oir"/>
  34. <constraint firstAttribute="height" constant="20" id="HVo-ht-9m6"/>
  35. </constraints>
  36. <state key="normal" image="shareCopy"/>
  37. <connections>
  38. <action selector="touchUpCopy:" destination="qJF-Yc-gKE" eventType="touchUpInside" id="s3f-6n-cKF"/>
  39. </connections>
  40. </button>
  41. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="J1z-RG-U4A" userLabel="ButtonMenu">
  42. <rect key="frame" x="50" y="0.0" width="20" height="20"/>
  43. <constraints>
  44. <constraint firstAttribute="height" constant="20" id="G48-LB-BsD"/>
  45. <constraint firstAttribute="width" constant="20" id="vLI-cJ-Jqx"/>
  46. </constraints>
  47. <state key="normal" image="shareMenu"/>
  48. <connections>
  49. <action selector="touchUpMenu:" destination="qJF-Yc-gKE" eventType="touchUpInside" id="hFx-Ib-xay"/>
  50. </connections>
  51. </button>
  52. </subviews>
  53. </stackView>
  54. <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="4" translatesAutoresizingMaskIntoConstraints="NO" id="Wxr-1B-Czy">
  55. <rect key="frame" x="53" y="12" width="452" height="66"/>
  56. <subviews>
  57. <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">
  58. <rect key="frame" x="0.0" y="0.0" width="452" height="22"/>
  59. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  60. <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  61. <nil key="highlightedColor"/>
  62. </label>
  63. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" verticalCompressionResistancePriority="245" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="WJj-9P-3bn">
  64. <rect key="frame" x="0.0" y="26" width="452" height="40"/>
  65. <constraints>
  66. <constraint firstAttribute="height" constant="40" id="Eo4-Rq-ETK"/>
  67. </constraints>
  68. <string key="text">Only works....
  69. .;...</string>
  70. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  71. <color key="textColor" systemColor="secondaryLabelColor"/>
  72. <nil key="highlightedColor"/>
  73. </label>
  74. </subviews>
  75. </stackView>
  76. </subviews>
  77. <constraints>
  78. <constraint firstItem="OQv-Vf-bvD" firstAttribute="leading" secondItem="Wxr-1B-Czy" secondAttribute="trailing" constant="15" id="8QW-n0-4lO"/>
  79. <constraint firstItem="qDs-UG-Mn7" firstAttribute="leading" secondItem="3Oe-gU-3Nk" secondAttribute="leading" constant="5" id="KOm-wo-CBa"/>
  80. <constraint firstAttribute="bottom" secondItem="Wxr-1B-Czy" secondAttribute="bottom" constant="12" id="MM0-9i-BpF"/>
  81. <constraint firstAttribute="trailing" secondItem="OQv-Vf-bvD" secondAttribute="trailing" constant="10" id="W3b-ww-vbQ"/>
  82. <constraint firstItem="qDs-UG-Mn7" firstAttribute="centerY" secondItem="3Oe-gU-3Nk" secondAttribute="centerY" id="ZrD-Aw-xkx"/>
  83. <constraint firstItem="OQv-Vf-bvD" firstAttribute="centerY" secondItem="3Oe-gU-3Nk" secondAttribute="centerY" id="eLc-gk-xAr"/>
  84. <constraint firstItem="Wxr-1B-Czy" firstAttribute="leading" secondItem="qDs-UG-Mn7" secondAttribute="trailing" constant="8" id="nXI-b3-EJM"/>
  85. <constraint firstItem="Wxr-1B-Czy" firstAttribute="top" secondItem="3Oe-gU-3Nk" secondAttribute="top" constant="12" id="vxe-9X-O1f"/>
  86. </constraints>
  87. </tableViewCellContentView>
  88. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  89. <connections>
  90. <outlet property="copyButton" destination="xaz-vY-Jzu" id="pMt-Zu-ORX"/>
  91. <outlet property="descriptionLabel" destination="WJj-9P-3bn" id="QC7-SX-O3M"/>
  92. <outlet property="imageItem" destination="qDs-UG-Mn7" id="jxL-r7-BVs"/>
  93. <outlet property="labelTitle" destination="otH-mT-7Z4" id="f9z-Oa-OiR"/>
  94. <outlet property="menuButton" destination="J1z-RG-U4A" id="VCC-y1-LRK"/>
  95. </connections>
  96. <point key="canvasLocation" x="97.599999999999994" y="276.1619190404798"/>
  97. </tableViewCell>
  98. </objects>
  99. <resources>
  100. <image name="circle" width="210" height="156"/>
  101. <image name="shareCopy" width="329" height="329"/>
  102. <image name="shareMenu" width="329" height="329"/>
  103. <systemColor name="secondaryLabelColor">
  104. <color red="0.23529411764705882" green="0.23529411764705882" blue="0.2627450980392157" alpha="0.59999999999999998" colorSpace="custom" customColorSpace="sRGB"/>
  105. </systemColor>
  106. </resources>
  107. </document>