NCActivity.storyboard 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  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" useSafeAreas="YES" colorMatched="YES" initialViewController="nhT-TJ-YvX">
  3. <device id="retina5_9" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="16087"/>
  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="375" height="812"/>
  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="44" width="375" height="768"/>
  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="activityTableViewCell" customModule="Nextcloud" customModuleProvider="target">
  24. <rect key="frame" x="0.0" y="28" width="375" 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="375" 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="277" height="25"/>
  32. <fontDescription key="fontDescription" name=".AppleSystemUIFont" family=".AppleSystemUIFont" pointSize="15"/>
  33. <nil key="textColor"/>
  34. <nil key="highlightedColor"/>
  35. </label>
  36. <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">
  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. <userDefinedRuntimeAttributes>
  43. <userDefinedRuntimeAttribute type="number" keyPath="borderWidth">
  44. <integer key="value" value="1"/>
  45. </userDefinedRuntimeAttribute>
  46. <userDefinedRuntimeAttribute type="color" keyPath="borderColor">
  47. <color key="value" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  48. </userDefinedRuntimeAttribute>
  49. </userDefinedRuntimeAttributes>
  50. </imageView>
  51. <imageView userInteractionEnabled="NO" alpha="0.59999999999999998" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="xNG-sf-PnA">
  52. <rect key="frame" x="20" y="5" width="20" height="20"/>
  53. <constraints>
  54. <constraint firstAttribute="width" constant="20" id="Lbv-yi-vAh"/>
  55. <constraint firstAttribute="height" constant="20" id="TML-VJ-2i3"/>
  56. </constraints>
  57. </imageView>
  58. <collectionView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" dataMode="prototypes" translatesAutoresizingMaskIntoConstraints="NO" id="KpO-no-BMl">
  59. <rect key="frame" x="50" y="40" width="325" height="60"/>
  60. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  61. <constraints>
  62. <constraint firstAttribute="height" constant="60" id="deQ-wc-jNT" userLabel="height = 60"/>
  63. </constraints>
  64. <collectionViewFlowLayout key="collectionViewLayout" scrollDirection="horizontal" minimumLineSpacing="10" minimumInteritemSpacing="10" id="nnU-ds-wda">
  65. <size key="itemSize" width="50" height="50"/>
  66. <size key="headerReferenceSize" width="0.0" height="0.0"/>
  67. <size key="footerReferenceSize" width="0.0" height="0.0"/>
  68. <inset key="sectionInset" minX="0.0" minY="0.0" maxX="0.0" maxY="0.0"/>
  69. </collectionViewFlowLayout>
  70. <cells>
  71. <collectionViewCell clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="collectionCell" id="uIN-z5-7vk" customClass="activityCollectionViewCell" customModule="Nextcloud" customModuleProvider="target">
  72. <rect key="frame" x="0.0" y="5" width="50" height="50"/>
  73. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  74. <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO">
  75. <rect key="frame" x="0.0" y="0.0" width="50" height="50"/>
  76. <autoresizingMask key="autoresizingMask"/>
  77. <subviews>
  78. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="J5b-2X-AsF">
  79. <rect key="frame" x="0.0" y="-1" width="50" height="50"/>
  80. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  81. </imageView>
  82. </subviews>
  83. </view>
  84. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  85. <connections>
  86. <outlet property="imageView" destination="J5b-2X-AsF" id="7dI-m8-o1E"/>
  87. </connections>
  88. </collectionViewCell>
  89. </cells>
  90. </collectionView>
  91. </subviews>
  92. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  93. <constraints>
  94. <constraint firstAttribute="trailing" secondItem="fcO-YL-MuT" secondAttribute="trailing" constant="10" id="1pG-qk-inI"/>
  95. <constraint firstItem="LQ8-cO-794" firstAttribute="top" secondItem="i35-U4-bEk" secondAttribute="top" id="3fU-rp-D7s"/>
  96. <constraint firstItem="xNG-sf-PnA" firstAttribute="top" secondItem="i35-U4-bEk" secondAttribute="top" constant="5" id="4EB-59-y1Y"/>
  97. <constraint firstItem="xNG-sf-PnA" firstAttribute="leading" secondItem="i35-U4-bEk" secondAttribute="leading" constant="20" id="CRN-18-SeU"/>
  98. <constraint firstAttribute="bottom" secondItem="KpO-no-BMl" secondAttribute="bottom" constant="20" id="ULe-Tt-dBj"/>
  99. <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"/>
  100. <constraint firstItem="LQ8-cO-794" firstAttribute="leading" secondItem="xNG-sf-PnA" secondAttribute="trailing" constant="10" id="aqp-Wu-9Hk"/>
  101. <constraint firstItem="fcO-YL-MuT" firstAttribute="top" secondItem="i35-U4-bEk" secondAttribute="top" constant="5" id="faC-by-km5"/>
  102. <constraint firstItem="KpO-no-BMl" firstAttribute="leading" secondItem="i35-U4-bEk" secondAttribute="leading" constant="50" id="l0Y-89-eTm"/>
  103. <constraint firstAttribute="trailing" secondItem="KpO-no-BMl" secondAttribute="trailing" id="vWj-9H-JLc"/>
  104. <constraint firstItem="KpO-no-BMl" firstAttribute="top" secondItem="fcO-YL-MuT" secondAttribute="bottom" constant="10" id="z1e-vv-qJb"/>
  105. </constraints>
  106. </tableViewCellContentView>
  107. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  108. <connections>
  109. <outlet property="avatar" destination="LQ8-cO-794" id="2PE-uD-pug"/>
  110. <outlet property="collectionView" destination="KpO-no-BMl" id="xvR-CA-cZx"/>
  111. <outlet property="collectionViewHeightConstraint" destination="deQ-wc-jNT" id="nAT-iS-UjK"/>
  112. <outlet property="icon" destination="xNG-sf-PnA" id="hxb-Vr-oQX"/>
  113. <outlet property="subject" destination="fcO-YL-MuT" id="L4q-rj-l04"/>
  114. <outlet property="subjectTrailingConstraint" destination="am5-CT-0kZ" id="PeK-M5-hHW"/>
  115. </connections>
  116. </tableViewCell>
  117. </prototypes>
  118. <connections>
  119. <outlet property="dataSource" destination="nhT-TJ-YvX" id="4jS-6C-FKt"/>
  120. <outlet property="delegate" destination="nhT-TJ-YvX" id="ab1-4g-bMH"/>
  121. <outlet property="prefetchDataSource" destination="nhT-TJ-YvX" id="317-AD-uQe"/>
  122. </connections>
  123. </tableView>
  124. </subviews>
  125. <constraints>
  126. <constraint firstItem="USa-eR-a1s" firstAttribute="trailing" secondItem="X49-xg-JXO" secondAttribute="trailing" id="5we-Fh-GVu"/>
  127. <constraint firstItem="X49-xg-JXO" firstAttribute="top" secondItem="USa-eR-a1s" secondAttribute="top" id="SfR-9z-HeQ"/>
  128. <constraint firstAttribute="bottom" secondItem="X49-xg-JXO" secondAttribute="bottom" id="aHq-g4-dUG"/>
  129. <constraint firstItem="X49-xg-JXO" firstAttribute="leading" secondItem="USa-eR-a1s" secondAttribute="leading" id="pfF-ag-f7x"/>
  130. </constraints>
  131. <viewLayoutGuide key="safeArea" id="USa-eR-a1s"/>
  132. </view>
  133. <connections>
  134. <outlet property="tableView" destination="X49-xg-JXO" id="GUb-8b-mIS"/>
  135. </connections>
  136. </viewController>
  137. <placeholder placeholderIdentifier="IBFirstResponder" id="UOE-pW-DRy" userLabel="First Responder" sceneMemberID="firstResponder"/>
  138. </objects>
  139. <point key="canvasLocation" x="-330.39999999999998" y="139.65517241379311"/>
  140. </scene>
  141. </scenes>
  142. <resources>
  143. <image name="avatar" width="25" height="25"/>
  144. </resources>
  145. </document>