NCActivity.storyboard 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14460.31" 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="14460.20"/>
  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="1" 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="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  24. <prototypes>
  25. <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" reuseIdentifier="Cell" rowHeight="120" id="ggj-aE-fnh" customClass="activityTableViewCell" customModule="Nextcloud" customModuleProvider="target">
  26. <rect key="frame" x="0.0" y="1" 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. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="xNG-sf-PnA">
  33. <rect key="frame" x="20" y="0.0" width="25" height="25"/>
  34. <constraints>
  35. <constraint firstAttribute="width" constant="25" id="Lbv-yi-vAh"/>
  36. <constraint firstAttribute="height" constant="25" id="TML-VJ-2i3"/>
  37. </constraints>
  38. </imageView>
  39. <collectionView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" dataMode="prototypes" translatesAutoresizingMaskIntoConstraints="NO" id="KpO-no-BMl">
  40. <rect key="frame" x="0.0" y="38.000000000000007" width="375" height="81.666666666666686"/>
  41. <color key="backgroundColor" red="0.59999999999999998" green="0.80000000000000004" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  42. <collectionViewFlowLayout key="collectionViewLayout" scrollDirection="horizontal" minimumLineSpacing="10" minimumInteritemSpacing="10" id="nnU-ds-wda">
  43. <size key="itemSize" width="374" height="86"/>
  44. <size key="headerReferenceSize" width="0.0" height="0.0"/>
  45. <size key="footerReferenceSize" width="0.0" height="0.0"/>
  46. <inset key="sectionInset" minX="0.0" minY="0.0" maxX="0.0" maxY="0.0"/>
  47. </collectionViewFlowLayout>
  48. <cells>
  49. <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="Cell" id="uIN-z5-7vk" customClass="activityCollectionViewCell" customModule="Nextcloud" customModuleProvider="target">
  50. <rect key="frame" x="0.0" y="-2" width="374" height="86"/>
  51. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  52. <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO">
  53. <rect key="frame" x="0.0" y="0.0" width="374" height="86"/>
  54. <autoresizingMask key="autoresizingMask"/>
  55. <subviews>
  56. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="J5b-2X-AsF">
  57. <rect key="frame" x="0.0" y="34.999999999999993" width="50" height="50"/>
  58. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  59. </imageView>
  60. </subviews>
  61. </view>
  62. <connections>
  63. <outlet property="imageView" destination="J5b-2X-AsF" id="7dI-m8-o1E"/>
  64. </connections>
  65. </collectionViewCell>
  66. </cells>
  67. </collectionView>
  68. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="wordWrap" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="fcO-YL-MuT">
  69. <rect key="frame" x="90" y="0.0" width="275" height="18"/>
  70. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  71. <nil key="textColor"/>
  72. <nil key="highlightedColor"/>
  73. </label>
  74. <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">
  75. <rect key="frame" x="55" y="0.0" width="25" height="25"/>
  76. <constraints>
  77. <constraint firstAttribute="width" constant="25" id="OKz-e8-DzD"/>
  78. <constraint firstAttribute="height" constant="25" id="fwd-J4-5uY"/>
  79. </constraints>
  80. <userDefinedRuntimeAttributes>
  81. <userDefinedRuntimeAttribute type="number" keyPath="borderWidth">
  82. <integer key="value" value="1"/>
  83. </userDefinedRuntimeAttribute>
  84. <userDefinedRuntimeAttribute type="color" keyPath="borderColor">
  85. <color key="value" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  86. </userDefinedRuntimeAttribute>
  87. </userDefinedRuntimeAttributes>
  88. </imageView>
  89. </subviews>
  90. <constraints>
  91. <constraint firstAttribute="trailing" secondItem="fcO-YL-MuT" secondAttribute="trailing" constant="10" id="1pG-qk-inI"/>
  92. <constraint firstItem="LQ8-cO-794" firstAttribute="top" secondItem="i35-U4-bEk" secondAttribute="top" id="3fU-rp-D7s"/>
  93. <constraint firstItem="xNG-sf-PnA" firstAttribute="leading" secondItem="i35-U4-bEk" secondAttribute="leading" constant="20" id="CRN-18-SeU"/>
  94. <constraint firstItem="fcO-YL-MuT" firstAttribute="leading" secondItem="LQ8-cO-794" secondAttribute="trailing" constant="10" id="MOQ-dS-mwp"/>
  95. <constraint firstAttribute="bottom" secondItem="KpO-no-BMl" secondAttribute="bottom" id="ULe-Tt-dBj"/>
  96. <constraint firstItem="LQ8-cO-794" firstAttribute="leading" secondItem="xNG-sf-PnA" secondAttribute="trailing" constant="10" id="aqp-Wu-9Hk"/>
  97. <constraint firstItem="fcO-YL-MuT" firstAttribute="top" secondItem="i35-U4-bEk" secondAttribute="top" id="faC-by-km5"/>
  98. <constraint firstItem="KpO-no-BMl" firstAttribute="leading" secondItem="i35-U4-bEk" secondAttribute="leading" id="l0Y-89-eTm"/>
  99. <constraint firstAttribute="trailing" secondItem="KpO-no-BMl" secondAttribute="trailing" id="vWj-9H-JLc"/>
  100. <constraint firstItem="KpO-no-BMl" firstAttribute="top" secondItem="fcO-YL-MuT" secondAttribute="bottom" constant="20" id="z1e-vv-qJb"/>
  101. <constraint firstItem="xNG-sf-PnA" firstAttribute="top" secondItem="i35-U4-bEk" secondAttribute="top" id="zo1-7W-YZr"/>
  102. </constraints>
  103. </tableViewCellContentView>
  104. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  105. <connections>
  106. <outlet property="avatar" destination="LQ8-cO-794" id="2PE-uD-pug"/>
  107. <outlet property="collectionView" destination="KpO-no-BMl" id="xvR-CA-cZx"/>
  108. <outlet property="icon" destination="xNG-sf-PnA" id="hxb-Vr-oQX"/>
  109. <outlet property="subject" destination="fcO-YL-MuT" id="L4q-rj-l04"/>
  110. </connections>
  111. </tableViewCell>
  112. </prototypes>
  113. <connections>
  114. <outlet property="dataSource" destination="nhT-TJ-YvX" id="4jS-6C-FKt"/>
  115. <outlet property="delegate" destination="nhT-TJ-YvX" id="ab1-4g-bMH"/>
  116. </connections>
  117. </tableView>
  118. </subviews>
  119. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  120. <constraints>
  121. <constraint firstItem="USa-eR-a1s" firstAttribute="trailing" secondItem="X49-xg-JXO" secondAttribute="trailing" id="5we-Fh-GVu"/>
  122. <constraint firstItem="X49-xg-JXO" firstAttribute="top" secondItem="USa-eR-a1s" secondAttribute="top" id="SfR-9z-HeQ"/>
  123. <constraint firstItem="X49-xg-JXO" firstAttribute="leading" secondItem="USa-eR-a1s" secondAttribute="leading" id="pfF-ag-f7x"/>
  124. <constraint firstItem="USa-eR-a1s" firstAttribute="bottom" secondItem="X49-xg-JXO" secondAttribute="bottom" id="yw8-JS-Pfi"/>
  125. </constraints>
  126. <viewLayoutGuide key="safeArea" id="USa-eR-a1s"/>
  127. </view>
  128. <connections>
  129. <outlet property="tableView" destination="X49-xg-JXO" id="GUb-8b-mIS"/>
  130. </connections>
  131. </viewController>
  132. <placeholder placeholderIdentifier="IBFirstResponder" id="UOE-pW-DRy" userLabel="First Responder" sceneMemberID="firstResponder"/>
  133. </objects>
  134. <point key="canvasLocation" x="-330.39999999999998" y="139.65517241379311"/>
  135. </scene>
  136. </scenes>
  137. <resources>
  138. <image name="avatar" width="25" height="25"/>
  139. </resources>
  140. </document>