NCShareCommentsCell.xib 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="23094" 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="23084"/>
  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="cell" rowHeight="39" id="qJF-Yc-gKE" customClass="NCShareCommentsCell" customModule="Nextcloud" customModuleProvider="target">
  15. <rect key="frame" x="0.0" y="0.0" width="600" height="107"/>
  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="107"/>
  19. <autoresizingMask key="autoresizingMask"/>
  20. <subviews>
  21. <imageView clipsSubviews="YES" contentMode="scaleAspectFill" translatesAutoresizingMaskIntoConstraints="NO" id="qDs-UG-Mn7" userLabel="ImageItem">
  22. <rect key="frame" x="20" y="15" width="35" height="35"/>
  23. <constraints>
  24. <constraint firstAttribute="height" constant="35" id="8et-YH-T1D"/>
  25. <constraint firstAttribute="width" constant="35" id="GNY-Va-SIJ"/>
  26. </constraints>
  27. </imageView>
  28. <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">
  29. <rect key="frame" x="70" y="8.5" width="33" height="18"/>
  30. <constraints>
  31. <constraint firstAttribute="height" constant="18" id="iet-xr-SX6"/>
  32. </constraints>
  33. <fontDescription key="fontDescription" type="boldSystem" pointSize="15"/>
  34. <color key="textColor" white="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  35. <nil key="highlightedColor"/>
  36. </label>
  37. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="J1z-RG-U4A" userLabel="ButtonMenu">
  38. <rect key="frame" x="560" y="25" width="20" height="20"/>
  39. <constraints>
  40. <constraint firstAttribute="height" constant="20" id="G48-LB-BsD"/>
  41. <constraint firstAttribute="width" constant="20" id="vLI-cJ-Jqx"/>
  42. </constraints>
  43. <state key="normal">
  44. <imageReference key="image" image="ellipsis" catalog="system" renderingMode="hierarchical">
  45. <hierarchicalColors>
  46. <color systemColor="labelColor"/>
  47. <color systemColor="secondaryLabelColor"/>
  48. <color systemColor="tertiaryLabelColor"/>
  49. </hierarchicalColors>
  50. </imageReference>
  51. </state>
  52. <connections>
  53. <action selector="touchUpInsideMenu:" destination="qJF-Yc-gKE" eventType="touchUpInside" id="dx2-2Z-VfO"/>
  54. </connections>
  55. </button>
  56. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" misplaced="YES" text="date" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="QXZ-ax-nlQ">
  57. <rect key="frame" x="70" y="26" width="514" height="18"/>
  58. <constraints>
  59. <constraint firstAttribute="height" constant="18" id="WZK-ND-Vl1"/>
  60. </constraints>
  61. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  62. <color key="textColor" white="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  63. <nil key="highlightedColor"/>
  64. </label>
  65. <label opaque="NO" userInteractionEnabled="NO" tag="101" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" lineBreakMode="middleTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="mNK-Zq-pFW" userLabel="labelTitle">
  66. <rect key="frame" x="70" y="45" width="525" height="52"/>
  67. <string key="text">messagemessagemessagemessagemessagemessagemessagemessagemessagemessagemessagemessagemessagemessagemessagemessagemessagemessagemessage</string>
  68. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  69. <nil key="highlightedColor"/>
  70. </label>
  71. </subviews>
  72. <constraints>
  73. <constraint firstItem="mNK-Zq-pFW" firstAttribute="leading" secondItem="qDs-UG-Mn7" secondAttribute="trailing" constant="15" id="1mf-Ih-fHK"/>
  74. <constraint firstItem="QXZ-ax-nlQ" firstAttribute="leading" secondItem="qDs-UG-Mn7" secondAttribute="trailing" constant="15" 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="15" 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="10" id="H9H-lE-Gg1"/>
  80. <constraint firstItem="mNK-Zq-pFW" firstAttribute="top" secondItem="QXZ-ax-nlQ" secondAttribute="bottom" constant="1" id="KDw-qu-iO6"/>
  81. <constraint firstItem="otH-mT-7Z4" firstAttribute="centerY" secondItem="qDs-UG-Mn7" secondAttribute="centerY" constant="-15" id="KO4-0R-wdL" userLabel="labelTitle.centerY = ImageItem.centerY"/>
  82. <constraint firstItem="qDs-UG-Mn7" firstAttribute="leading" secondItem="3Oe-gU-3Nk" secondAttribute="leading" constant="20" 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="4" id="SgR-6b-z2c"/>
  85. <constraint firstItem="QXZ-ax-nlQ" firstAttribute="top" secondItem="J1z-RG-U4A" secondAttribute="bottom" constant="-19" id="qj4-34-HW3"/>
  86. <constraint firstItem="J1z-RG-U4A" firstAttribute="centerY" secondItem="qDs-UG-Mn7" secondAttribute="centerY" constant="2.5" 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="112" y="227.13643178410797"/>
  98. </tableViewCell>
  99. </objects>
  100. <resources>
  101. <image name="ellipsis" catalog="system" width="128" height="37"/>
  102. <systemColor name="labelColor">
  103. <color white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  104. </systemColor>
  105. <systemColor name="secondaryLabelColor">
  106. <color red="0.23529411759999999" green="0.23529411759999999" blue="0.26274509800000001" alpha="0.59999999999999998" colorSpace="custom" customColorSpace="sRGB"/>
  107. </systemColor>
  108. <systemColor name="tertiaryLabelColor">
  109. <color red="0.23529411759999999" green="0.23529411759999999" blue="0.26274509800000001" alpha="0.29803921570000003" colorSpace="custom" customColorSpace="sRGB"/>
  110. </systemColor>
  111. </resources>
  112. </document>