NCNotification.storyboard 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="21701" 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="21678"/>
  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="50" 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="15"/>
  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="64"/>
  47. <constraints>
  48. <constraint firstAttribute="height" relation="greaterThanOrEqual" constant="5" id="w3S-Mr-J41"/>
  49. </constraints>
  50. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  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="xmark" catalog="system"/>
  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="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="sMh-G7-FLo">
  73. <rect key="frame" x="245" y="142" 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="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="obR-h7-TUC">
  84. <rect key="frame" x="115" y="142" 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. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="4Ca-NL-V78" userLabel="More">
  95. <rect key="frame" x="285" y="142" width="80" height="30"/>
  96. <constraints>
  97. <constraint firstAttribute="width" constant="80" id="2cb-3v-up9"/>
  98. <constraint firstAttribute="height" constant="30" id="w4c-JV-GCL"/>
  99. </constraints>
  100. <state key="normal" title="more"/>
  101. <connections>
  102. <action selector="touchUpInsideMore:" destination="R1c-h5-BOp" eventType="touchUpInside" id="tzH-nO-8bt"/>
  103. </connections>
  104. </button>
  105. <imageView hidden="YES" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="j3P-Mn-NRk" userLabel="avatar">
  106. <rect key="frame" x="10" y="40" width="25" height="25"/>
  107. <constraints>
  108. <constraint firstAttribute="width" constant="25" id="Lzx-AE-IwQ"/>
  109. <constraint firstAttribute="height" constant="25" id="t3A-Qm-8VW"/>
  110. </constraints>
  111. </imageView>
  112. </subviews>
  113. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  114. <constraints>
  115. <constraint firstItem="j3P-Mn-NRk" firstAttribute="leading" secondItem="9Bv-1W-yVV" secondAttribute="leading" constant="10" id="05B-JK-v6T"/>
  116. <constraint firstAttribute="trailing" secondItem="sMh-G7-FLo" secondAttribute="trailing" constant="10" id="4W9-Xm-fxY"/>
  117. <constraint firstAttribute="bottom" secondItem="4Ca-NL-V78" secondAttribute="bottom" constant="15" id="4nu-oj-CtH"/>
  118. <constraint firstItem="9mD-Qe-1wu" firstAttribute="centerY" secondItem="YM1-uH-2Cz" secondAttribute="centerY" id="6VB-EF-GQs"/>
  119. <constraint firstItem="sMh-G7-FLo" firstAttribute="top" secondItem="9fz-sr-8Gv" secondAttribute="bottom" constant="5" id="EOH-W7-TBv"/>
  120. <constraint firstItem="pg1-7p-7Rz" firstAttribute="leading" secondItem="j3P-Mn-NRk" secondAttribute="trailing" constant="15" id="FHX-rf-Z0E"/>
  121. <constraint firstAttribute="trailing" secondItem="9mD-Qe-1wu" secondAttribute="trailing" constant="10" id="L9w-kA-Ypv"/>
  122. <constraint firstItem="sMh-G7-FLo" firstAttribute="leading" secondItem="obR-h7-TUC" secondAttribute="trailing" constant="10" id="MZG-Fc-cbL"/>
  123. <constraint firstAttribute="trailing" secondItem="4Ca-NL-V78" secondAttribute="trailing" constant="10" id="RD1-Ox-wZH"/>
  124. <constraint firstAttribute="bottom" secondItem="sMh-G7-FLo" secondAttribute="bottom" constant="15" id="RKX-zp-kja"/>
  125. <constraint firstItem="9fz-sr-8Gv" firstAttribute="leading" secondItem="9Bv-1W-yVV" secondAttribute="leading" constant="50" id="ZxC-VD-ZtU"/>
  126. <constraint firstAttribute="trailing" secondItem="pg1-7p-7Rz" secondAttribute="trailing" constant="10" id="bwL-co-8gM"/>
  127. <constraint firstAttribute="trailing" secondItem="9fz-sr-8Gv" secondAttribute="trailing" constant="10" id="d8l-vA-BmP"/>
  128. <constraint firstItem="9mD-Qe-1wu" firstAttribute="leading" secondItem="YPu-No-c8x" secondAttribute="trailing" constant="12" id="goU-TU-7Jd"/>
  129. <constraint firstItem="9fz-sr-8Gv" firstAttribute="top" secondItem="pg1-7p-7Rz" secondAttribute="bottom" constant="10" id="heM-QX-U30"/>
  130. <constraint firstItem="pg1-7p-7Rz" firstAttribute="top" secondItem="9Bv-1W-yVV" secondAttribute="top" constant="40" id="pcJ-Jy-HwJ"/>
  131. <constraint firstItem="YM1-uH-2Cz" firstAttribute="top" secondItem="9Bv-1W-yVV" secondAttribute="top" constant="10" id="vBN-K9-5xe"/>
  132. <constraint firstItem="YM1-uH-2Cz" firstAttribute="leading" secondItem="9Bv-1W-yVV" secondAttribute="leading" constant="10" id="xEL-jv-PCm"/>
  133. <constraint firstItem="j3P-Mn-NRk" firstAttribute="top" secondItem="9Bv-1W-yVV" secondAttribute="top" constant="40" id="xoc-tf-dh9"/>
  134. <constraint firstItem="YPu-No-c8x" firstAttribute="centerY" secondItem="YM1-uH-2Cz" secondAttribute="centerY" id="z8s-et-n4J"/>
  135. <constraint firstItem="obR-h7-TUC" firstAttribute="firstBaseline" secondItem="sMh-G7-FLo" secondAttribute="firstBaseline" id="zHR-cX-8yQ"/>
  136. </constraints>
  137. </tableViewCellContentView>
  138. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  139. <inset key="separatorInset" minX="0.0" minY="0.0" maxX="0.0" maxY="0.0"/>
  140. <connections>
  141. <outlet property="avatar" destination="j3P-Mn-NRk" id="8uQ-4h-kI0"/>
  142. <outlet property="avatarLeadingMargin" destination="05B-JK-v6T" id="nsx-NC-N2r"/>
  143. <outlet property="date" destination="YPu-No-c8x" id="CfW-Pz-jdL"/>
  144. <outlet property="icon" destination="YM1-uH-2Cz" id="MPX-ZL-wVR"/>
  145. <outlet property="message" destination="9fz-sr-8Gv" id="3Zx-pz-gEK"/>
  146. <outlet property="more" destination="4Ca-NL-V78" id="b8O-Zg-dcf"/>
  147. <outlet property="primary" destination="sMh-G7-FLo" id="oyl-c8-sTP"/>
  148. <outlet property="primaryWidth" destination="tiI-55-Qu5" id="8H6-cf-vtP"/>
  149. <outlet property="remove" destination="9mD-Qe-1wu" id="r1h-mr-5U9"/>
  150. <outlet property="secondary" destination="obR-h7-TUC" id="oeU-ya-VU7"/>
  151. <outlet property="secondaryWidth" destination="sVc-6c-vO4" id="fVg-jk-phh"/>
  152. <outlet property="subject" destination="pg1-7p-7Rz" id="FP7-vS-vEk"/>
  153. </connections>
  154. </tableViewCell>
  155. </prototypes>
  156. <connections>
  157. <outlet property="dataSource" destination="c26-Us-IIn" id="6zO-S0-2Cf"/>
  158. <outlet property="delegate" destination="c26-Us-IIn" id="tCb-C6-XGN"/>
  159. </connections>
  160. </tableView>
  161. <navigationItem key="navigationItem" id="bV4-Hy-bmE"/>
  162. <refreshControl key="refreshControl" opaque="NO" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" enabled="NO" contentHorizontalAlignment="center" contentVerticalAlignment="center" id="JwZ-Sr-qEU">
  163. <autoresizingMask key="autoresizingMask"/>
  164. </refreshControl>
  165. </tableViewController>
  166. <placeholder placeholderIdentifier="IBFirstResponder" id="I7i-N5-tEB" userLabel="First Responder" sceneMemberID="firstResponder"/>
  167. </objects>
  168. <point key="canvasLocation" x="608.79999999999995" y="162.3688155922039"/>
  169. </scene>
  170. </scenes>
  171. <resources>
  172. <image name="xmark" catalog="system" width="128" height="113"/>
  173. </resources>
  174. </document>