NCActivity.storyboard 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="19162" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="nhT-TJ-YvX">
  3. <dependencies>
  4. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="19144"/>
  5. <capability name="Safe area layout guides" minToolsVersion="9.0"/>
  6. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  7. </dependencies>
  8. <scenes>
  9. <!--Activity-->
  10. <scene sceneID="bVi-HG-3eX">
  11. <objects>
  12. <viewController storyboardIdentifier="NCActivity.storyboard" extendedLayoutIncludesOpaqueBars="YES" id="nhT-TJ-YvX" customClass="NCActivity" customModule="Nextcloud" customModuleProvider="target" sceneMemberID="viewController">
  13. <view key="view" contentMode="scaleToFill" id="vOO-VC-ekK">
  14. <rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
  15. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  16. <subviews>
  17. <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="20" sectionFooterHeight="1" translatesAutoresizingMaskIntoConstraints="NO" id="X49-xg-JXO">
  18. <rect key="frame" x="0.0" y="100" width="600" height="500"/>
  19. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  20. <prototypes>
  21. <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" reuseIdentifier="tableCell" rowHeight="120" id="ggj-aE-fnh" customClass="NCActivityTableViewCell" customModule="Nextcloud" customModuleProvider="target">
  22. <rect key="frame" x="0.0" y="44.5" width="600" height="120"/>
  23. <autoresizingMask key="autoresizingMask"/>
  24. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="ggj-aE-fnh" id="i35-U4-bEk">
  25. <rect key="frame" x="0.0" y="0.0" width="600" height="120"/>
  26. <autoresizingMask key="autoresizingMask"/>
  27. <subviews>
  28. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" lineBreakMode="wordWrap" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="fcO-YL-MuT">
  29. <rect key="frame" x="88" y="5" width="502" height="25"/>
  30. <fontDescription key="fontDescription" name=".AppleSystemUIFont" family=".AppleSystemUIFont" pointSize="15"/>
  31. <nil key="textColor"/>
  32. <nil key="highlightedColor"/>
  33. </label>
  34. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="LQ8-cO-794" userLabel="avatar">
  35. <rect key="frame" x="50" y="0.0" width="30" height="30"/>
  36. <constraints>
  37. <constraint firstAttribute="width" constant="30" id="OKz-e8-DzD"/>
  38. <constraint firstAttribute="height" constant="30" id="fwd-J4-5uY"/>
  39. </constraints>
  40. </imageView>
  41. <imageView userInteractionEnabled="NO" alpha="0.59999999999999998" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="xNG-sf-PnA">
  42. <rect key="frame" x="20" y="5" width="20" height="20"/>
  43. <constraints>
  44. <constraint firstAttribute="width" constant="20" id="Lbv-yi-vAh"/>
  45. <constraint firstAttribute="height" constant="20" id="TML-VJ-2i3"/>
  46. </constraints>
  47. </imageView>
  48. <collectionView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" dataMode="prototypes" translatesAutoresizingMaskIntoConstraints="NO" id="KpO-no-BMl">
  49. <rect key="frame" x="50" y="40" width="550" height="60"/>
  50. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  51. <constraints>
  52. <constraint firstAttribute="height" constant="60" id="deQ-wc-jNT" userLabel="height = 60"/>
  53. </constraints>
  54. <collectionViewFlowLayout key="collectionViewLayout" scrollDirection="horizontal" minimumLineSpacing="10" minimumInteritemSpacing="10" id="nnU-ds-wda">
  55. <size key="itemSize" width="50" height="50"/>
  56. <size key="headerReferenceSize" width="0.0" height="0.0"/>
  57. <size key="footerReferenceSize" width="0.0" height="0.0"/>
  58. <inset key="sectionInset" minX="0.0" minY="0.0" maxX="0.0" maxY="0.0"/>
  59. </collectionViewFlowLayout>
  60. <cells>
  61. <collectionViewCell clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="collectionCell" id="uIN-z5-7vk" customClass="NCActivityCollectionViewCell" customModule="Nextcloud" customModuleProvider="target">
  62. <rect key="frame" x="0.0" y="5" width="50" height="50"/>
  63. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  64. <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO">
  65. <rect key="frame" x="0.0" y="0.0" width="50" height="50"/>
  66. <autoresizingMask key="autoresizingMask"/>
  67. <subviews>
  68. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="J5b-2X-AsF">
  69. <rect key="frame" x="0.0" y="-1" width="50" height="50"/>
  70. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  71. </imageView>
  72. </subviews>
  73. </view>
  74. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  75. <connections>
  76. <outlet property="imageView" destination="J5b-2X-AsF" id="7dI-m8-o1E"/>
  77. </connections>
  78. </collectionViewCell>
  79. </cells>
  80. </collectionView>
  81. </subviews>
  82. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  83. <constraints>
  84. <constraint firstAttribute="trailing" secondItem="fcO-YL-MuT" secondAttribute="trailing" constant="10" id="1pG-qk-inI"/>
  85. <constraint firstItem="LQ8-cO-794" firstAttribute="top" secondItem="i35-U4-bEk" secondAttribute="top" id="3fU-rp-D7s"/>
  86. <constraint firstItem="xNG-sf-PnA" firstAttribute="top" secondItem="i35-U4-bEk" secondAttribute="top" constant="5" id="4EB-59-y1Y"/>
  87. <constraint firstItem="xNG-sf-PnA" firstAttribute="leading" secondItem="i35-U4-bEk" secondAttribute="leading" constant="20" id="CRN-18-SeU"/>
  88. <constraint firstAttribute="bottom" secondItem="KpO-no-BMl" secondAttribute="bottom" constant="20" id="ULe-Tt-dBj"/>
  89. <constraint firstItem="fcO-YL-MuT" firstAttribute="leading" secondItem="xNG-sf-PnA" secondAttribute="trailing" constant="48" id="am5-CT-0kZ" userLabel="Subject.leading = Icon.trailing + 50"/>
  90. <constraint firstItem="LQ8-cO-794" firstAttribute="leading" secondItem="xNG-sf-PnA" secondAttribute="trailing" constant="10" id="aqp-Wu-9Hk"/>
  91. <constraint firstItem="fcO-YL-MuT" firstAttribute="top" secondItem="i35-U4-bEk" secondAttribute="top" constant="5" id="faC-by-km5"/>
  92. <constraint firstItem="KpO-no-BMl" firstAttribute="leading" secondItem="i35-U4-bEk" secondAttribute="leading" constant="50" id="l0Y-89-eTm"/>
  93. <constraint firstAttribute="trailing" secondItem="KpO-no-BMl" secondAttribute="trailing" id="vWj-9H-JLc"/>
  94. <constraint firstItem="KpO-no-BMl" firstAttribute="top" secondItem="fcO-YL-MuT" secondAttribute="bottom" constant="10" id="z1e-vv-qJb"/>
  95. </constraints>
  96. </tableViewCellContentView>
  97. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  98. <connections>
  99. <outlet property="avatar" destination="LQ8-cO-794" id="2PE-uD-pug"/>
  100. <outlet property="collectionView" destination="KpO-no-BMl" id="xvR-CA-cZx"/>
  101. <outlet property="collectionViewHeightConstraint" destination="deQ-wc-jNT" id="nAT-iS-UjK"/>
  102. <outlet property="icon" destination="xNG-sf-PnA" id="hxb-Vr-oQX"/>
  103. <outlet property="subject" destination="fcO-YL-MuT" id="L4q-rj-l04"/>
  104. <outlet property="subjectTrailingConstraint" destination="am5-CT-0kZ" id="PeK-M5-hHW"/>
  105. </connections>
  106. </tableViewCell>
  107. </prototypes>
  108. <connections>
  109. <outlet property="dataSource" destination="nhT-TJ-YvX" id="4jS-6C-FKt"/>
  110. <outlet property="delegate" destination="nhT-TJ-YvX" id="ab1-4g-bMH"/>
  111. <outlet property="prefetchDataSource" destination="nhT-TJ-YvX" id="317-AD-uQe"/>
  112. </connections>
  113. </tableView>
  114. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="sG1-7f-3rF">
  115. <rect key="frame" x="0.0" y="0.0" width="600" height="100"/>
  116. <subviews>
  117. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="hVn-Fn-7td">
  118. <rect key="frame" x="10" y="10" width="40" height="40"/>
  119. <constraints>
  120. <constraint firstAttribute="height" constant="40" id="eRU-q6-wZT"/>
  121. <constraint firstAttribute="width" constant="40" id="nee-e2-atl"/>
  122. </constraints>
  123. </imageView>
  124. <textField opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="249" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" textAlignment="natural" minimumFontSize="17" clearButtonMode="always" translatesAutoresizingMaskIntoConstraints="NO" id="Wz7-gw-foA">
  125. <rect key="frame" x="60" y="60" width="530" height="30"/>
  126. <constraints>
  127. <constraint firstAttribute="height" constant="30" id="4ni-Qx-ber"/>
  128. </constraints>
  129. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  130. <textInputTraits key="textInputTraits"/>
  131. <connections>
  132. <action selector="newCommentFieldDidEndOnExitWithTextField:" destination="nhT-TJ-YvX" eventType="editingDidEndOnExit" id="vPB-Eu-qkb"/>
  133. </connections>
  134. </textField>
  135. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="user" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="YRy-AS-CMk">
  136. <rect key="frame" x="60" y="21.5" width="530" height="17"/>
  137. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  138. <color key="textColor" white="0.66666666669999997" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  139. <nil key="highlightedColor"/>
  140. </label>
  141. </subviews>
  142. <constraints>
  143. <constraint firstItem="YRy-AS-CMk" firstAttribute="centerY" secondItem="hVn-Fn-7td" secondAttribute="centerY" id="CBB-vi-6Z1"/>
  144. <constraint firstAttribute="trailing" secondItem="Wz7-gw-foA" secondAttribute="trailing" constant="10" id="CuV-5o-sFz"/>
  145. <constraint firstItem="hVn-Fn-7td" firstAttribute="leading" secondItem="sG1-7f-3rF" secondAttribute="leading" constant="10" id="NWH-NK-FjI"/>
  146. <constraint firstAttribute="height" constant="100" id="SfP-Sr-vbR"/>
  147. <constraint firstItem="Wz7-gw-foA" firstAttribute="leading" secondItem="hVn-Fn-7td" secondAttribute="trailing" constant="10" id="baP-t5-Kut"/>
  148. <constraint firstItem="Wz7-gw-foA" firstAttribute="top" secondItem="hVn-Fn-7td" secondAttribute="bottom" constant="10" id="bsh-yh-NR2"/>
  149. <constraint firstItem="YRy-AS-CMk" firstAttribute="leading" secondItem="hVn-Fn-7td" secondAttribute="trailing" constant="10" id="chn-JO-eYr"/>
  150. <constraint firstAttribute="bottom" secondItem="Wz7-gw-foA" secondAttribute="bottom" constant="10" id="e8b-hy-WHK"/>
  151. <constraint firstAttribute="trailing" secondItem="YRy-AS-CMk" secondAttribute="trailing" constant="10" id="uaN-5Y-k6V"/>
  152. <constraint firstItem="hVn-Fn-7td" firstAttribute="top" secondItem="sG1-7f-3rF" secondAttribute="top" constant="10" id="yLz-68-e22"/>
  153. </constraints>
  154. </view>
  155. </subviews>
  156. <viewLayoutGuide key="safeArea" id="USa-eR-a1s"/>
  157. <constraints>
  158. <constraint firstItem="sG1-7f-3rF" firstAttribute="top" secondItem="vOO-VC-ekK" secondAttribute="top" id="0Wu-9f-jFf"/>
  159. <constraint firstItem="X49-xg-JXO" firstAttribute="trailing" secondItem="USa-eR-a1s" secondAttribute="trailing" id="5we-Fh-GVu"/>
  160. <constraint firstItem="USa-eR-a1s" firstAttribute="bottom" secondItem="X49-xg-JXO" secondAttribute="bottom" id="aHq-g4-dUG"/>
  161. <constraint firstItem="X49-xg-JXO" firstAttribute="top" secondItem="sG1-7f-3rF" secondAttribute="bottom" id="eeu-9y-t1U"/>
  162. <constraint firstItem="sG1-7f-3rF" firstAttribute="trailing" secondItem="vOO-VC-ekK" secondAttribute="trailing" id="htz-S1-01v"/>
  163. <constraint firstItem="sG1-7f-3rF" firstAttribute="leading" secondItem="vOO-VC-ekK" secondAttribute="leading" id="lLm-NY-aXQ"/>
  164. <constraint firstItem="X49-xg-JXO" firstAttribute="leading" secondItem="USa-eR-a1s" secondAttribute="leading" id="pfF-ag-f7x"/>
  165. </constraints>
  166. </view>
  167. <connections>
  168. <outlet property="commentView" destination="sG1-7f-3rF" id="Nip-au-Ilu"/>
  169. <outlet property="imageItem" destination="hVn-Fn-7td" id="tqx-nV-WfA"/>
  170. <outlet property="labelUser" destination="YRy-AS-CMk" id="ijz-je-fBV"/>
  171. <outlet property="newCommentField" destination="Wz7-gw-foA" id="PDr-8b-iQY"/>
  172. <outlet property="tableView" destination="X49-xg-JXO" id="GUb-8b-mIS"/>
  173. <outlet property="viewContainerConstraint" destination="0Wu-9f-jFf" id="TGF-fh-T7Y"/>
  174. </connections>
  175. </viewController>
  176. <placeholder placeholderIdentifier="IBFirstResponder" id="UOE-pW-DRy" userLabel="First Responder" sceneMemberID="firstResponder"/>
  177. </objects>
  178. <point key="canvasLocation" x="-330.39999999999998" y="139.65517241379311"/>
  179. </scene>
  180. </scenes>
  181. </document>