NCActivity.storyboard 20 KB

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