NCActivity.storyboard 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14490.70" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="nhT-TJ-YvX">
  3. <device id="retina5_9" 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="Safe area layout guides" minToolsVersion="9.0"/>
  10. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  11. </dependencies>
  12. <scenes>
  13. <!--Activity-->
  14. <scene sceneID="bVi-HG-3eX">
  15. <objects>
  16. <viewController storyboardIdentifier="NCActivity.storyboard" id="nhT-TJ-YvX" customClass="NCActivity" customModule="Nextcloud" customModuleProvider="target" sceneMemberID="viewController">
  17. <view key="view" contentMode="scaleToFill" id="vOO-VC-ekK">
  18. <rect key="frame" x="0.0" y="0.0" width="375" height="812"/>
  19. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  20. <subviews>
  21. <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">
  22. <rect key="frame" x="0.0" y="44" width="375" height="734"/>
  23. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  24. <prototypes>
  25. <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" reuseIdentifier="tableCell" rowHeight="120" id="ggj-aE-fnh" customClass="activityTableViewCell" customModule="Nextcloud" customModuleProvider="target">
  26. <rect key="frame" x="0.0" y="20" width="375" height="120"/>
  27. <autoresizingMask key="autoresizingMask"/>
  28. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="ggj-aE-fnh" id="i35-U4-bEk">
  29. <rect key="frame" x="0.0" y="0.0" width="375" height="119.66666666666667"/>
  30. <autoresizingMask key="autoresizingMask"/>
  31. <subviews>
  32. <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">
  33. <rect key="frame" x="88" y="5.0000000000000018" width="277" height="24.666666666666671"/>
  34. <fontDescription key="fontDescription" name=".AppleSystemUIFont" family=".AppleSystemUIFont" pointSize="15"/>
  35. <nil key="textColor"/>
  36. <nil key="highlightedColor"/>
  37. </label>
  38. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="avatar" translatesAutoresizingMaskIntoConstraints="NO" id="LQ8-cO-794" userLabel="avatar" customClass="NCAvatar" customModule="Nextcloud" customModuleProvider="target">
  39. <rect key="frame" x="50" y="0.0" width="30" height="30"/>
  40. <constraints>
  41. <constraint firstAttribute="width" constant="30" id="OKz-e8-DzD"/>
  42. <constraint firstAttribute="height" constant="30" id="fwd-J4-5uY"/>
  43. </constraints>
  44. <userDefinedRuntimeAttributes>
  45. <userDefinedRuntimeAttribute type="number" keyPath="borderWidth">
  46. <integer key="value" value="1"/>
  47. </userDefinedRuntimeAttribute>
  48. <userDefinedRuntimeAttribute type="color" keyPath="borderColor">
  49. <color key="value" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  50. </userDefinedRuntimeAttribute>
  51. </userDefinedRuntimeAttributes>
  52. </imageView>
  53. <imageView userInteractionEnabled="NO" alpha="0.59999999999999998" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="xNG-sf-PnA">
  54. <rect key="frame" x="20" y="5" width="20" height="20"/>
  55. <constraints>
  56. <constraint firstAttribute="width" constant="20" id="Lbv-yi-vAh"/>
  57. <constraint firstAttribute="height" constant="20" id="TML-VJ-2i3"/>
  58. </constraints>
  59. </imageView>
  60. <collectionView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" dataMode="prototypes" translatesAutoresizingMaskIntoConstraints="NO" id="KpO-no-BMl">
  61. <rect key="frame" x="50" y="39.666666666666657" width="325" height="60"/>
  62. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  63. <constraints>
  64. <constraint firstAttribute="height" constant="60" id="deQ-wc-jNT" userLabel="height = 60"/>
  65. </constraints>
  66. <collectionViewFlowLayout key="collectionViewLayout" scrollDirection="horizontal" minimumLineSpacing="10" minimumInteritemSpacing="10" id="nnU-ds-wda">
  67. <size key="itemSize" width="50" height="50"/>
  68. <size key="headerReferenceSize" width="0.0" height="0.0"/>
  69. <size key="footerReferenceSize" width="0.0" height="0.0"/>
  70. <inset key="sectionInset" minX="0.0" minY="0.0" maxX="0.0" maxY="0.0"/>
  71. </collectionViewFlowLayout>
  72. <cells>
  73. <collectionViewCell clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="collectionCell" id="uIN-z5-7vk" customClass="activityCollectionViewCell" customModule="Nextcloud" customModuleProvider="target">
  74. <rect key="frame" x="0.0" y="5" width="50" height="50"/>
  75. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  76. <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO">
  77. <rect key="frame" x="0.0" y="0.0" width="50" height="50"/>
  78. <autoresizingMask key="autoresizingMask"/>
  79. <subviews>
  80. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="J5b-2X-AsF">
  81. <rect key="frame" x="0.0" y="-1" width="50" height="50"/>
  82. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  83. </imageView>
  84. </subviews>
  85. </view>
  86. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  87. <connections>
  88. <outlet property="imageView" destination="J5b-2X-AsF" id="7dI-m8-o1E"/>
  89. </connections>
  90. </collectionViewCell>
  91. </cells>
  92. </collectionView>
  93. </subviews>
  94. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  95. <constraints>
  96. <constraint firstAttribute="trailing" secondItem="fcO-YL-MuT" secondAttribute="trailing" constant="10" id="1pG-qk-inI"/>
  97. <constraint firstItem="LQ8-cO-794" firstAttribute="top" secondItem="i35-U4-bEk" secondAttribute="top" id="3fU-rp-D7s"/>
  98. <constraint firstItem="xNG-sf-PnA" firstAttribute="top" secondItem="i35-U4-bEk" secondAttribute="top" constant="5" id="4EB-59-y1Y"/>
  99. <constraint firstItem="xNG-sf-PnA" firstAttribute="leading" secondItem="i35-U4-bEk" secondAttribute="leading" constant="20" id="CRN-18-SeU"/>
  100. <constraint firstAttribute="bottom" secondItem="KpO-no-BMl" secondAttribute="bottom" constant="20" id="ULe-Tt-dBj"/>
  101. <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"/>
  102. <constraint firstItem="LQ8-cO-794" firstAttribute="leading" secondItem="xNG-sf-PnA" secondAttribute="trailing" constant="10" id="aqp-Wu-9Hk"/>
  103. <constraint firstItem="fcO-YL-MuT" firstAttribute="top" secondItem="i35-U4-bEk" secondAttribute="top" constant="5" id="faC-by-km5"/>
  104. <constraint firstItem="KpO-no-BMl" firstAttribute="leading" secondItem="i35-U4-bEk" secondAttribute="leading" constant="50" id="l0Y-89-eTm"/>
  105. <constraint firstAttribute="trailing" secondItem="KpO-no-BMl" secondAttribute="trailing" id="vWj-9H-JLc"/>
  106. <constraint firstItem="KpO-no-BMl" firstAttribute="top" secondItem="fcO-YL-MuT" secondAttribute="bottom" constant="10" id="z1e-vv-qJb"/>
  107. </constraints>
  108. </tableViewCellContentView>
  109. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  110. <connections>
  111. <outlet property="avatar" destination="LQ8-cO-794" id="2PE-uD-pug"/>
  112. <outlet property="collectionView" destination="KpO-no-BMl" id="xvR-CA-cZx"/>
  113. <outlet property="collectionViewHeightConstraint" destination="deQ-wc-jNT" id="nAT-iS-UjK"/>
  114. <outlet property="icon" destination="xNG-sf-PnA" id="hxb-Vr-oQX"/>
  115. <outlet property="subject" destination="fcO-YL-MuT" id="L4q-rj-l04"/>
  116. <outlet property="subjectTrailingConstraint" destination="am5-CT-0kZ" id="PeK-M5-hHW"/>
  117. </connections>
  118. </tableViewCell>
  119. </prototypes>
  120. <connections>
  121. <outlet property="dataSource" destination="nhT-TJ-YvX" id="4jS-6C-FKt"/>
  122. <outlet property="delegate" destination="nhT-TJ-YvX" id="ab1-4g-bMH"/>
  123. <outlet property="prefetchDataSource" destination="nhT-TJ-YvX" id="317-AD-uQe"/>
  124. </connections>
  125. </tableView>
  126. </subviews>
  127. <constraints>
  128. <constraint firstItem="USa-eR-a1s" firstAttribute="trailing" secondItem="X49-xg-JXO" secondAttribute="trailing" id="5we-Fh-GVu"/>
  129. <constraint firstItem="X49-xg-JXO" firstAttribute="top" secondItem="USa-eR-a1s" secondAttribute="top" id="SfR-9z-HeQ"/>
  130. <constraint firstItem="X49-xg-JXO" firstAttribute="leading" secondItem="USa-eR-a1s" secondAttribute="leading" id="pfF-ag-f7x"/>
  131. <constraint firstItem="USa-eR-a1s" firstAttribute="bottom" secondItem="X49-xg-JXO" secondAttribute="bottom" id="yw8-JS-Pfi"/>
  132. </constraints>
  133. <viewLayoutGuide key="safeArea" id="USa-eR-a1s"/>
  134. </view>
  135. <connections>
  136. <outlet property="tableView" destination="X49-xg-JXO" id="GUb-8b-mIS"/>
  137. </connections>
  138. </viewController>
  139. <placeholder placeholderIdentifier="IBFirstResponder" id="UOE-pW-DRy" userLabel="First Responder" sceneMemberID="firstResponder"/>
  140. </objects>
  141. <point key="canvasLocation" x="-330.39999999999998" y="139.65517241379311"/>
  142. </scene>
  143. </scenes>
  144. <resources>
  145. <image name="avatar" width="25" height="25"/>
  146. </resources>
  147. </document>