NCShareCommentsCell.xib 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="15705" 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="15706"/>
  7. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  8. </dependencies>
  9. <objects>
  10. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  11. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  12. <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" reuseIdentifier="cell" rowHeight="122" id="qJF-Yc-gKE" customClass="NCShareCommentsCell" customModule="Nextcloud" customModuleProvider="target">
  13. <rect key="frame" x="0.0" y="0.0" width="600" height="122"/>
  14. <autoresizingMask key="autoresizingMask"/>
  15. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="qJF-Yc-gKE" id="3Oe-gU-3Nk">
  16. <rect key="frame" x="0.0" y="0.0" width="600" height="122"/>
  17. <autoresizingMask key="autoresizingMask"/>
  18. <subviews>
  19. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" image="avatar" translatesAutoresizingMaskIntoConstraints="NO" id="qDs-UG-Mn7" userLabel="ImageItem" customClass="NCAvatar" customModule="Nextcloud" customModuleProvider="target">
  20. <rect key="frame" x="5" y="15" width="40" height="40"/>
  21. <constraints>
  22. <constraint firstAttribute="height" constant="40" id="8et-YH-T1D"/>
  23. <constraint firstAttribute="width" constant="40" id="GNY-Va-SIJ"/>
  24. </constraints>
  25. <userDefinedRuntimeAttributes>
  26. <userDefinedRuntimeAttribute type="number" keyPath="borderWidth">
  27. <integer key="value" value="1"/>
  28. </userDefinedRuntimeAttribute>
  29. <userDefinedRuntimeAttribute type="color" keyPath="borderColor">
  30. <color key="value" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  31. </userDefinedRuntimeAttribute>
  32. </userDefinedRuntimeAttributes>
  33. </imageView>
  34. <label opaque="NO" userInteractionEnabled="NO" tag="101" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="user" lineBreakMode="middleTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="otH-mT-7Z4" userLabel="labelTitle">
  35. <rect key="frame" x="55" y="26" width="28.5" height="18"/>
  36. <constraints>
  37. <constraint firstAttribute="height" constant="18" id="iet-xr-SX6"/>
  38. </constraints>
  39. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  40. <color key="textColor" white="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  41. <nil key="highlightedColor"/>
  42. </label>
  43. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="J1z-RG-U4A" userLabel="ButtonMenu">
  44. <rect key="frame" x="557" y="25" width="20" height="20"/>
  45. <constraints>
  46. <constraint firstAttribute="height" constant="20" id="G48-LB-BsD"/>
  47. <constraint firstAttribute="width" constant="20" id="vLI-cJ-Jqx"/>
  48. </constraints>
  49. <state key="normal" image="shareMenu"/>
  50. <connections>
  51. <action selector="touchUpInsideMenu:" destination="qJF-Yc-gKE" eventType="touchUpInside" id="dx2-2Z-VfO"/>
  52. </connections>
  53. </button>
  54. <label opaque="NO" userInteractionEnabled="NO" tag="101" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="message" lineBreakMode="middleTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="mNK-Zq-pFW" userLabel="labelTitle">
  55. <rect key="frame" x="55" y="71" width="540" height="36"/>
  56. <constraints>
  57. <constraint firstAttribute="height" relation="greaterThanOrEqual" constant="15" id="tAu-Ct-G3J"/>
  58. </constraints>
  59. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  60. <nil key="highlightedColor"/>
  61. </label>
  62. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="date" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="QXZ-ax-nlQ">
  63. <rect key="frame" x="55" y="49" width="522" height="18"/>
  64. <constraints>
  65. <constraint firstAttribute="height" constant="18" id="WZK-ND-Vl1"/>
  66. </constraints>
  67. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  68. <color key="textColor" white="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  69. <nil key="highlightedColor"/>
  70. </label>
  71. </subviews>
  72. <constraints>
  73. <constraint firstItem="mNK-Zq-pFW" firstAttribute="leading" secondItem="3Oe-gU-3Nk" secondAttribute="leading" constant="55" id="1mf-Ih-fHK"/>
  74. <constraint firstItem="QXZ-ax-nlQ" firstAttribute="leading" secondItem="qDs-UG-Mn7" secondAttribute="trailing" constant="10" id="3EJ-ah-pBt"/>
  75. <constraint firstItem="J1z-RG-U4A" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="otH-mT-7Z4" secondAttribute="trailing" constant="8" id="43r-67-Pxv"/>
  76. <constraint firstItem="otH-mT-7Z4" firstAttribute="leading" secondItem="qDs-UG-Mn7" secondAttribute="trailing" constant="10" id="7o5-Rj-6lV"/>
  77. <constraint firstAttribute="trailing" secondItem="mNK-Zq-pFW" secondAttribute="trailing" constant="5" id="A2t-sl-Uer"/>
  78. <constraint firstItem="qDs-UG-Mn7" firstAttribute="top" secondItem="3Oe-gU-3Nk" secondAttribute="top" constant="15" id="FAO-D8-MXo"/>
  79. <constraint firstAttribute="bottom" secondItem="mNK-Zq-pFW" secondAttribute="bottom" constant="15" id="H9H-lE-Gg1"/>
  80. <constraint firstItem="mNK-Zq-pFW" firstAttribute="top" secondItem="QXZ-ax-nlQ" secondAttribute="bottom" constant="4" id="KDw-qu-iO6"/>
  81. <constraint firstItem="otH-mT-7Z4" firstAttribute="centerY" secondItem="qDs-UG-Mn7" secondAttribute="centerY" id="KO4-0R-wdL" userLabel="labelTitle.centerY = ImageItem.centerY"/>
  82. <constraint firstItem="qDs-UG-Mn7" firstAttribute="leading" secondItem="3Oe-gU-3Nk" secondAttribute="leading" constant="5" id="KOm-wo-CBa"/>
  83. <constraint firstAttribute="trailingMargin" secondItem="QXZ-ax-nlQ" secondAttribute="trailing" constant="8" id="Pku-hg-qKn"/>
  84. <constraint firstAttribute="trailingMargin" secondItem="J1z-RG-U4A" secondAttribute="trailing" constant="8" id="SgR-6b-z2c"/>
  85. <constraint firstItem="QXZ-ax-nlQ" firstAttribute="top" secondItem="J1z-RG-U4A" secondAttribute="bottom" constant="4" id="qj4-34-HW3"/>
  86. <constraint firstItem="J1z-RG-U4A" firstAttribute="centerY" secondItem="qDs-UG-Mn7" secondAttribute="centerY" id="tIg-bm-Clb"/>
  87. </constraints>
  88. </tableViewCellContentView>
  89. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  90. <connections>
  91. <outlet property="buttonMenu" destination="J1z-RG-U4A" id="eJS-IZ-VYk"/>
  92. <outlet property="imageItem" destination="qDs-UG-Mn7" id="wqC-I1-MWx"/>
  93. <outlet property="labelDate" destination="QXZ-ax-nlQ" id="CeA-bu-jVA"/>
  94. <outlet property="labelMessage" destination="mNK-Zq-pFW" id="oRf-8F-Pwu"/>
  95. <outlet property="labelUser" destination="otH-mT-7Z4" id="Wf0-PX-Vrq"/>
  96. </connections>
  97. <point key="canvasLocation" x="97.599999999999994" y="290.55472263868069"/>
  98. </tableViewCell>
  99. </objects>
  100. <resources>
  101. <image name="avatar" width="25" height="25"/>
  102. <image name="shareMenu" width="329" height="329"/>
  103. </resources>
  104. </document>