NCNotification.storyboard 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="16097" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="c26-Us-IIn">
  3. <device id="retina4_7" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="16087"/>
  7. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  8. </dependencies>
  9. <scenes>
  10. <!--Notification-->
  11. <scene sceneID="dZP-R1-zZF">
  12. <objects>
  13. <tableViewController storyboardIdentifier="NCNotification.storyboard" extendedLayoutIncludesOpaqueBars="YES" id="c26-Us-IIn" customClass="NCNotification" customModule="Nextcloud" customModuleProvider="target" sceneMemberID="viewController">
  14. <tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="187" sectionHeaderHeight="28" sectionFooterHeight="28" id="vzh-aE-2MF">
  15. <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
  16. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  17. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  18. <prototypes>
  19. <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="Cell" rowHeight="187" id="R1c-h5-BOp" customClass="NCNotificationCell" customModule="Nextcloud" customModuleProvider="target">
  20. <rect key="frame" x="0.0" y="28" width="375" height="187"/>
  21. <autoresizingMask key="autoresizingMask"/>
  22. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="R1c-h5-BOp" id="9Bv-1W-yVV">
  23. <rect key="frame" x="0.0" y="0.0" width="375" height="187"/>
  24. <autoresizingMask key="autoresizingMask"/>
  25. <subviews>
  26. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="pg1-7p-7Rz" userLabel="subject">
  27. <rect key="frame" x="50" y="40" width="315" height="23"/>
  28. <constraints>
  29. <constraint firstAttribute="height" relation="greaterThanOrEqual" constant="23" id="HIf-ra-ApH"/>
  30. </constraints>
  31. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  32. <nil key="textColor"/>
  33. <nil key="highlightedColor"/>
  34. </label>
  35. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" verticalHuggingPriority="251" text="Label" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="YPu-No-c8x" userLabel="date">
  36. <rect key="frame" x="189" y="15" width="144" height="15"/>
  37. <constraints>
  38. <constraint firstAttribute="height" constant="15" id="7uN-7d-1nq"/>
  39. <constraint firstAttribute="width" constant="144" id="tIn-cS-VT4"/>
  40. </constraints>
  41. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  42. <color key="textColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/>
  43. <nil key="highlightedColor"/>
  44. </label>
  45. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" text="Label" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="9fz-sr-8Gv" userLabel="message">
  46. <rect key="frame" x="50" y="73" width="315" height="73"/>
  47. <constraints>
  48. <constraint firstAttribute="height" relation="greaterThanOrEqual" constant="5" id="w3S-Mr-J41"/>
  49. </constraints>
  50. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  51. <color key="textColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/>
  52. <nil key="highlightedColor"/>
  53. </label>
  54. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="YM1-uH-2Cz" userLabel="icon">
  55. <rect key="frame" x="10" y="10" width="25" height="25"/>
  56. <constraints>
  57. <constraint firstAttribute="width" constant="25" id="qMR-85-I3a"/>
  58. <constraint firstAttribute="height" constant="25" id="zly-BZ-aGP"/>
  59. </constraints>
  60. </imageView>
  61. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="9mD-Qe-1wu" userLabel="remove">
  62. <rect key="frame" x="345" y="12.5" width="20" height="20"/>
  63. <constraints>
  64. <constraint firstAttribute="height" constant="20" id="IIr-Ys-RMx"/>
  65. <constraint firstAttribute="width" constant="20" id="YaB-cW-gAT"/>
  66. </constraints>
  67. <state key="normal" image="exit"/>
  68. <connections>
  69. <action selector="touchUpInsideRemove:" destination="R1c-h5-BOp" eventType="touchUpInside" id="Wlp-VM-Vf2"/>
  70. </connections>
  71. </button>
  72. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="sMh-G7-FLo">
  73. <rect key="frame" x="245" y="147" width="120" height="30"/>
  74. <constraints>
  75. <constraint firstAttribute="height" constant="30" id="n50-CF-ODl"/>
  76. <constraint firstAttribute="width" constant="120" id="tiI-55-Qu5"/>
  77. </constraints>
  78. <state key="normal" title="primary"/>
  79. <connections>
  80. <action selector="touchUpInsidePrimary:" destination="R1c-h5-BOp" eventType="touchUpInside" id="fi2-DV-cKK"/>
  81. </connections>
  82. </button>
  83. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="obR-h7-TUC">
  84. <rect key="frame" x="115" y="147" width="120" height="30"/>
  85. <constraints>
  86. <constraint firstAttribute="height" constant="30" id="Vko-Ob-nuj"/>
  87. <constraint firstAttribute="width" constant="120" id="sVc-6c-vO4"/>
  88. </constraints>
  89. <state key="normal" title="secondary"/>
  90. <connections>
  91. <action selector="touchUpInsideSecondary:" destination="R1c-h5-BOp" eventType="touchUpInside" id="Vy9-uI-sth"/>
  92. </connections>
  93. </button>
  94. <imageView hidden="YES" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="avatar" translatesAutoresizingMaskIntoConstraints="NO" id="j3P-Mn-NRk" userLabel="avatar" customClass="NCAvatar" customModule="Nextcloud" customModuleProvider="target">
  95. <rect key="frame" x="10" y="40" width="25" height="25"/>
  96. <constraints>
  97. <constraint firstAttribute="width" constant="25" id="Lzx-AE-IwQ"/>
  98. <constraint firstAttribute="height" constant="25" id="t3A-Qm-8VW"/>
  99. </constraints>
  100. <userDefinedRuntimeAttributes>
  101. <userDefinedRuntimeAttribute type="number" keyPath="borderWidth">
  102. <integer key="value" value="1"/>
  103. </userDefinedRuntimeAttribute>
  104. <userDefinedRuntimeAttribute type="color" keyPath="borderColor">
  105. <color key="value" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  106. </userDefinedRuntimeAttribute>
  107. </userDefinedRuntimeAttributes>
  108. </imageView>
  109. </subviews>
  110. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  111. <constraints>
  112. <constraint firstItem="j3P-Mn-NRk" firstAttribute="leading" secondItem="9Bv-1W-yVV" secondAttribute="leading" constant="10" id="05B-JK-v6T"/>
  113. <constraint firstAttribute="trailing" secondItem="sMh-G7-FLo" secondAttribute="trailing" constant="10" id="4W9-Xm-fxY"/>
  114. <constraint firstItem="9mD-Qe-1wu" firstAttribute="centerY" secondItem="YM1-uH-2Cz" secondAttribute="centerY" id="6VB-EF-GQs"/>
  115. <constraint firstItem="pg1-7p-7Rz" firstAttribute="leading" secondItem="j3P-Mn-NRk" secondAttribute="trailing" constant="15" id="FHX-rf-Z0E"/>
  116. <constraint firstAttribute="bottomMargin" secondItem="9fz-sr-8Gv" secondAttribute="bottom" constant="30" id="FnM-0E-rXs"/>
  117. <constraint firstAttribute="trailing" secondItem="9mD-Qe-1wu" secondAttribute="trailing" constant="10" id="L9w-kA-Ypv"/>
  118. <constraint firstItem="sMh-G7-FLo" firstAttribute="leading" secondItem="obR-h7-TUC" secondAttribute="trailing" constant="10" id="MZG-Fc-cbL"/>
  119. <constraint firstAttribute="bottom" secondItem="sMh-G7-FLo" secondAttribute="bottom" constant="10" id="RKX-zp-kja"/>
  120. <constraint firstItem="9fz-sr-8Gv" firstAttribute="leading" secondItem="9Bv-1W-yVV" secondAttribute="leading" constant="50" id="ZxC-VD-ZtU"/>
  121. <constraint firstAttribute="trailing" secondItem="pg1-7p-7Rz" secondAttribute="trailing" constant="10" id="bwL-co-8gM"/>
  122. <constraint firstAttribute="trailing" secondItem="9fz-sr-8Gv" secondAttribute="trailing" constant="10" id="d8l-vA-BmP"/>
  123. <constraint firstItem="9mD-Qe-1wu" firstAttribute="leading" secondItem="YPu-No-c8x" secondAttribute="trailing" constant="12" id="goU-TU-7Jd"/>
  124. <constraint firstItem="9fz-sr-8Gv" firstAttribute="top" secondItem="pg1-7p-7Rz" secondAttribute="bottom" constant="10" id="heM-QX-U30"/>
  125. <constraint firstAttribute="bottom" secondItem="obR-h7-TUC" secondAttribute="bottom" constant="10" id="keX-xE-b77"/>
  126. <constraint firstItem="pg1-7p-7Rz" firstAttribute="top" secondItem="9Bv-1W-yVV" secondAttribute="top" constant="40" id="pcJ-Jy-HwJ"/>
  127. <constraint firstItem="YM1-uH-2Cz" firstAttribute="top" secondItem="9Bv-1W-yVV" secondAttribute="top" constant="10" id="vBN-K9-5xe"/>
  128. <constraint firstItem="YM1-uH-2Cz" firstAttribute="leading" secondItem="9Bv-1W-yVV" secondAttribute="leading" constant="10" id="xEL-jv-PCm"/>
  129. <constraint firstItem="j3P-Mn-NRk" firstAttribute="top" secondItem="9Bv-1W-yVV" secondAttribute="top" constant="40" id="xoc-tf-dh9"/>
  130. <constraint firstItem="YPu-No-c8x" firstAttribute="centerY" secondItem="YM1-uH-2Cz" secondAttribute="centerY" id="z8s-et-n4J"/>
  131. </constraints>
  132. </tableViewCellContentView>
  133. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  134. <inset key="separatorInset" minX="0.0" minY="0.0" maxX="0.0" maxY="0.0"/>
  135. <connections>
  136. <outlet property="avatar" destination="j3P-Mn-NRk" id="8uQ-4h-kI0"/>
  137. <outlet property="avatarLeadingMargin" destination="05B-JK-v6T" id="nsx-NC-N2r"/>
  138. <outlet property="date" destination="YPu-No-c8x" id="CfW-Pz-jdL"/>
  139. <outlet property="icon" destination="YM1-uH-2Cz" id="MPX-ZL-wVR"/>
  140. <outlet property="message" destination="9fz-sr-8Gv" id="3Zx-pz-gEK"/>
  141. <outlet property="messageBottomMargin" destination="FnM-0E-rXs" id="Pf6-Au-H7E"/>
  142. <outlet property="primary" destination="sMh-G7-FLo" id="oyl-c8-sTP"/>
  143. <outlet property="primaryWidth" destination="tiI-55-Qu5" id="8H6-cf-vtP"/>
  144. <outlet property="remove" destination="9mD-Qe-1wu" id="r1h-mr-5U9"/>
  145. <outlet property="secondary" destination="obR-h7-TUC" id="oeU-ya-VU7"/>
  146. <outlet property="secondaryWidth" destination="sVc-6c-vO4" id="fVg-jk-phh"/>
  147. <outlet property="subject" destination="pg1-7p-7Rz" id="FP7-vS-vEk"/>
  148. </connections>
  149. </tableViewCell>
  150. </prototypes>
  151. <connections>
  152. <outlet property="dataSource" destination="c26-Us-IIn" id="6zO-S0-2Cf"/>
  153. <outlet property="delegate" destination="c26-Us-IIn" id="tCb-C6-XGN"/>
  154. </connections>
  155. </tableView>
  156. <navigationItem key="navigationItem" id="bV4-Hy-bmE"/>
  157. </tableViewController>
  158. <placeholder placeholderIdentifier="IBFirstResponder" id="I7i-N5-tEB" userLabel="First Responder" sceneMemberID="firstResponder"/>
  159. </objects>
  160. <point key="canvasLocation" x="608.79999999999995" y="162.3688155922039"/>
  161. </scene>
  162. </scenes>
  163. <resources>
  164. <image name="avatar" width="25" height="25"/>
  165. <image name="exit" width="300" height="300"/>
  166. </resources>
  167. </document>