NCShareCommentsCell.xib 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14490.70" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
  3. <device id="retina4_7" orientation="portrait">
  4. <adaptation id="fullscreen"/>
  5. </device>
  6. <dependencies>
  7. <deployment identifier="iOS"/>
  8. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14490.49"/>
  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="122" id="qJF-Yc-gKE" customClass="NCShareCommentsCell" customModule="Nextcloud" customModuleProvider="target">
  15. <rect key="frame" x="0.0" y="0.0" width="600" height="122"/>
  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="121.5"/>
  19. <autoresizingMask key="autoresizingMask"/>
  20. <subviews>
  21. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" image="avatar" translatesAutoresizingMaskIntoConstraints="NO" id="qDs-UG-Mn7" userLabel="ImageItem" customClass="NCAvatar" customModule="Nextcloud" customModuleProvider="target">
  22. <rect key="frame" x="5" y="15" width="40" height="40"/>
  23. <constraints>
  24. <constraint firstAttribute="height" constant="40" id="8et-YH-T1D"/>
  25. <constraint firstAttribute="width" constant="40" id="GNY-Va-SIJ"/>
  26. </constraints>
  27. <userDefinedRuntimeAttributes>
  28. <userDefinedRuntimeAttribute type="number" keyPath="borderWidth">
  29. <integer key="value" value="1"/>
  30. </userDefinedRuntimeAttribute>
  31. <userDefinedRuntimeAttribute type="color" keyPath="borderColor">
  32. <color key="value" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  33. </userDefinedRuntimeAttribute>
  34. </userDefinedRuntimeAttributes>
  35. </imageView>
  36. <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">
  37. <rect key="frame" x="55" y="26" width="28.5" height="18"/>
  38. <constraints>
  39. <constraint firstAttribute="width" relation="lessThanOrEqual" constant="200" id="4Oa-yZ-HZK"/>
  40. <constraint firstAttribute="height" constant="18" id="iet-xr-SX6"/>
  41. </constraints>
  42. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  43. <color key="textColor" white="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  44. <nil key="highlightedColor"/>
  45. </label>
  46. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="date" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="QXZ-ax-nlQ">
  47. <rect key="frame" x="470" y="26" width="120" height="18"/>
  48. <constraints>
  49. <constraint firstAttribute="height" constant="18" id="WZK-ND-Vl1"/>
  50. <constraint firstAttribute="width" constant="120" id="guh-u2-aXB"/>
  51. </constraints>
  52. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  53. <color key="textColor" white="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  54. <nil key="highlightedColor"/>
  55. </label>
  56. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="J1z-RG-U4A" userLabel="ButtonMenu">
  57. <rect key="frame" x="93.5" y="25" width="20" height="20"/>
  58. <constraints>
  59. <constraint firstAttribute="height" constant="20" id="G48-LB-BsD"/>
  60. <constraint firstAttribute="width" constant="20" id="vLI-cJ-Jqx"/>
  61. </constraints>
  62. <state key="normal" image="shareMenu"/>
  63. <connections>
  64. <action selector="touchUpInsideMenu:" destination="qJF-Yc-gKE" eventType="touchUpInside" id="dx2-2Z-VfO"/>
  65. </connections>
  66. </button>
  67. <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">
  68. <rect key="frame" x="55" y="63" width="540" height="43.5"/>
  69. <constraints>
  70. <constraint firstAttribute="height" relation="greaterThanOrEqual" constant="15" id="tAu-Ct-G3J"/>
  71. </constraints>
  72. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  73. <nil key="highlightedColor"/>
  74. </label>
  75. </subviews>
  76. <constraints>
  77. <constraint firstItem="mNK-Zq-pFW" firstAttribute="leading" secondItem="3Oe-gU-3Nk" secondAttribute="leading" constant="55" id="1mf-Ih-fHK"/>
  78. <constraint firstAttribute="trailing" secondItem="QXZ-ax-nlQ" secondAttribute="trailing" constant="10" id="2pt-ST-EIP"/>
  79. <constraint firstItem="J1z-RG-U4A" firstAttribute="leading" secondItem="otH-mT-7Z4" secondAttribute="trailing" constant="10" id="43r-67-Pxv"/>
  80. <constraint firstItem="otH-mT-7Z4" firstAttribute="leading" secondItem="qDs-UG-Mn7" secondAttribute="trailing" constant="10" id="7o5-Rj-6lV"/>
  81. <constraint firstAttribute="trailing" secondItem="mNK-Zq-pFW" secondAttribute="trailing" constant="5" id="A2t-sl-Uer"/>
  82. <constraint firstItem="QXZ-ax-nlQ" firstAttribute="centerY" secondItem="qDs-UG-Mn7" secondAttribute="centerY" id="DzK-Ps-SiV"/>
  83. <constraint firstItem="qDs-UG-Mn7" firstAttribute="top" secondItem="3Oe-gU-3Nk" secondAttribute="top" constant="15" id="FAO-D8-MXo"/>
  84. <constraint firstAttribute="bottom" secondItem="mNK-Zq-pFW" secondAttribute="bottom" constant="15" id="H9H-lE-Gg1"/>
  85. <constraint firstItem="otH-mT-7Z4" firstAttribute="centerY" secondItem="qDs-UG-Mn7" secondAttribute="centerY" id="KO4-0R-wdL" userLabel="labelTitle.centerY = ImageItem.centerY"/>
  86. <constraint firstItem="qDs-UG-Mn7" firstAttribute="leading" secondItem="3Oe-gU-3Nk" secondAttribute="leading" constant="5" id="KOm-wo-CBa"/>
  87. <constraint firstItem="mNK-Zq-pFW" firstAttribute="top" secondItem="qDs-UG-Mn7" secondAttribute="bottom" constant="8" id="ndh-x5-eXA"/>
  88. <constraint firstItem="J1z-RG-U4A" firstAttribute="centerY" secondItem="qDs-UG-Mn7" secondAttribute="centerY" id="tIg-bm-Clb"/>
  89. </constraints>
  90. </tableViewCellContentView>
  91. <connections>
  92. <outlet property="buttonMenu" destination="J1z-RG-U4A" id="eJS-IZ-VYk"/>
  93. <outlet property="imageItem" destination="qDs-UG-Mn7" id="wqC-I1-MWx"/>
  94. <outlet property="labelDate" destination="QXZ-ax-nlQ" id="CeA-bu-jVA"/>
  95. <outlet property="labelMessage" destination="mNK-Zq-pFW" id="oRf-8F-Pwu"/>
  96. <outlet property="labelUser" destination="otH-mT-7Z4" id="Wf0-PX-Vrq"/>
  97. </connections>
  98. <point key="canvasLocation" x="97.599999999999994" y="290.55472263868069"/>
  99. </tableViewCell>
  100. </objects>
  101. <resources>
  102. <image name="avatar" width="25" height="25"/>
  103. <image name="shareMenu" width="329" height="329"/>
  104. </resources>
  105. </document>