NCActivity.storyboard 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="18122" 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="18093"/>
  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="0.0" width="375" height="778"/>
  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="24.333333969116211" 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" 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="325" 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="activityCollectionViewCell" 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. </subviews>
  117. <viewLayoutGuide key="safeArea" id="USa-eR-a1s"/>
  118. <constraints>
  119. <constraint firstItem="USa-eR-a1s" firstAttribute="trailing" secondItem="X49-xg-JXO" secondAttribute="trailing" id="5we-Fh-GVu"/>
  120. <constraint firstItem="X49-xg-JXO" firstAttribute="top" secondItem="vOO-VC-ekK" secondAttribute="top" id="SfR-9z-HeQ"/>
  121. <constraint firstItem="USa-eR-a1s" firstAttribute="bottom" secondItem="X49-xg-JXO" secondAttribute="bottom" id="aHq-g4-dUG"/>
  122. <constraint firstItem="X49-xg-JXO" firstAttribute="leading" secondItem="USa-eR-a1s" secondAttribute="leading" id="pfF-ag-f7x"/>
  123. </constraints>
  124. </view>
  125. <connections>
  126. <outlet property="tableView" destination="X49-xg-JXO" id="GUb-8b-mIS"/>
  127. </connections>
  128. </viewController>
  129. <placeholder placeholderIdentifier="IBFirstResponder" id="UOE-pW-DRy" userLabel="First Responder" sceneMemberID="firstResponder"/>
  130. </objects>
  131. <point key="canvasLocation" x="-330.39999999999998" y="139.65517241379311"/>
  132. </scene>
  133. </scenes>
  134. </document>