MediaShareStoryboard.storyboard 55 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="17156" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
  3. <device id="retina6_1" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="17126"/>
  7. <capability name="System colors in document resources" minToolsVersion="11.0"/>
  8. <capability name="collection view cell content view" minToolsVersion="11.0"/>
  9. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  10. </dependencies>
  11. <scenes>
  12. <!--Media Preview View Controller-->
  13. <scene sceneID="1gH-yX-rse">
  14. <objects>
  15. <viewController storyboardIdentifier="MediaShareController" automaticallyAdjustsScrollViewInsets="NO" id="uN3-sP-Wjl" customClass="MediaPreviewViewController" customModule="Threema" customModuleProvider="target" sceneMemberID="viewController">
  16. <layoutGuides>
  17. <viewControllerLayoutGuide type="top" id="xOZ-lR-95H"/>
  18. <viewControllerLayoutGuide type="bottom" id="inY-Tq-Y00"/>
  19. </layoutGuides>
  20. <view key="view" contentMode="scaleToFill" id="fdk-dk-3yX">
  21. <rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
  22. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  23. <subviews>
  24. <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="equalSpacing" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="OZI-gu-aaL">
  25. <rect key="frame" x="0.0" y="280" width="414" height="582"/>
  26. <subviews>
  27. <toolbar opaque="NO" clearsContextBeforeDrawing="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="wXg-JL-O2B">
  28. <rect key="frame" x="0.0" y="0.0" width="414" height="44"/>
  29. <items>
  30. <barButtonItem style="plain" systemItem="flexibleSpace" id="7x5-YI-lK2"/>
  31. <barButtonItem systemItem="trash" id="FcS-oL-hsg">
  32. <connections>
  33. <action selector="trashTapped:" destination="uN3-sP-Wjl" id="MB8-dM-XAc"/>
  34. </connections>
  35. </barButtonItem>
  36. <barButtonItem style="plain" systemItem="flexibleSpace" id="ck3-j7-jdt"/>
  37. </items>
  38. </toolbar>
  39. <view contentMode="scaleToFill" verticalCompressionResistancePriority="749" translatesAutoresizingMaskIntoConstraints="NO" id="hIL-20-sWs" customClass="MediaPreviewCarouselContainerView" customModule="Threema" customModuleProvider="target">
  40. <rect key="frame" x="0.0" y="54" width="414" height="394"/>
  41. <subviews>
  42. <collectionView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" horizontalHuggingPriority="249" verticalHuggingPriority="249" horizontalCompressionResistancePriority="749" verticalCompressionResistancePriority="749" pagingEnabled="YES" showsHorizontalScrollIndicator="NO" showsVerticalScrollIndicator="NO" dataMode="prototypes" springLoaded="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Pki-Ig-Hhw">
  43. <rect key="frame" x="0.0" y="0.0" width="414" height="394"/>
  44. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  45. <collectionViewFlowLayout key="collectionViewLayout" scrollDirection="horizontal" minimumLineSpacing="10" minimumInteritemSpacing="10" id="sKo-kX-IWX">
  46. <size key="itemSize" width="376" height="551"/>
  47. <size key="headerReferenceSize" width="0.0" height="0.0"/>
  48. <size key="footerReferenceSize" width="0.0" height="0.0"/>
  49. <inset key="sectionInset" minX="0.0" minY="0.0" maxX="0.0" maxY="0.0"/>
  50. </collectionViewFlowLayout>
  51. <cells>
  52. <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="VideoPreviewCell" id="zao-5B-G44" customClass="VideoImageCell" customModule="Threema" customModuleProvider="target">
  53. <rect key="frame" x="0.0" y="-78.5" width="376" height="551"/>
  54. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  55. <collectionViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" id="9tv-AS-E3V">
  56. <rect key="frame" x="0.0" y="0.0" width="376" height="551"/>
  57. <autoresizingMask key="autoresizingMask"/>
  58. <subviews>
  59. <view opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="iUy-kj-FrP">
  60. <rect key="frame" x="0.0" y="0.0" width="376" height="551"/>
  61. <subviews>
  62. <activityIndicatorView opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" fixedFrame="YES" hidesWhenStopped="YES" animating="YES" style="gray" translatesAutoresizingMaskIntoConstraints="NO" id="gCz-87-UsR">
  63. <rect key="frame" x="178" y="265" width="20" height="20"/>
  64. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  65. </activityIndicatorView>
  66. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="Loading Video" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Akc-Hy-XN4">
  67. <rect key="frame" x="133" y="293" width="110" height="21"/>
  68. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  69. <accessibility key="accessibilityConfiguration">
  70. <accessibilityTraits key="traits" staticText="YES" notEnabled="YES"/>
  71. <bool key="isElement" value="YES"/>
  72. </accessibility>
  73. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  74. <nil key="textColor"/>
  75. <nil key="highlightedColor"/>
  76. </label>
  77. </subviews>
  78. <color key="backgroundColor" systemColor="systemPurpleColor"/>
  79. <accessibility key="accessibilityConfiguration">
  80. <bool key="isElement" value="YES"/>
  81. </accessibility>
  82. </view>
  83. <view opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="yrd-gT-GKb">
  84. <rect key="frame" x="0.0" y="0.0" width="376" height="551"/>
  85. <subviews>
  86. <view opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="BJg-YA-fhV">
  87. <rect key="frame" x="0.0" y="0.0" width="376" height="551"/>
  88. </view>
  89. <imageView opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" horizontalCompressionResistancePriority="900" verticalCompressionResistancePriority="900" image="Play" translatesAutoresizingMaskIntoConstraints="NO" id="WmN-ps-TjN">
  90. <rect key="frame" x="163" y="250.5" width="50" height="50"/>
  91. <color key="tintColor" white="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  92. <constraints>
  93. <constraint firstAttribute="width" constant="50" id="Gbh-dH-fo8"/>
  94. <constraint firstAttribute="height" constant="50" id="QpL-fz-tSO"/>
  95. </constraints>
  96. </imageView>
  97. </subviews>
  98. <accessibility key="accessibilityConfiguration">
  99. <bool key="isElement" value="YES"/>
  100. </accessibility>
  101. <constraints>
  102. <constraint firstItem="BJg-YA-fhV" firstAttribute="top" secondItem="yrd-gT-GKb" secondAttribute="top" id="CUt-D3-cs4"/>
  103. <constraint firstItem="WmN-ps-TjN" firstAttribute="centerY" secondItem="yrd-gT-GKb" secondAttribute="centerY" id="JVt-59-K02"/>
  104. <constraint firstAttribute="trailing" secondItem="BJg-YA-fhV" secondAttribute="trailing" id="W0c-CA-42y"/>
  105. <constraint firstItem="BJg-YA-fhV" firstAttribute="leading" secondItem="yrd-gT-GKb" secondAttribute="leading" id="X08-Vs-SEe"/>
  106. <constraint firstAttribute="bottom" secondItem="BJg-YA-fhV" secondAttribute="bottom" id="vVk-ca-kpV"/>
  107. <constraint firstItem="WmN-ps-TjN" firstAttribute="centerX" secondItem="yrd-gT-GKb" secondAttribute="centerX" id="wup-fY-t7R"/>
  108. </constraints>
  109. </view>
  110. </subviews>
  111. <constraints>
  112. <constraint firstItem="iUy-kj-FrP" firstAttribute="leading" secondItem="9tv-AS-E3V" secondAttribute="leading" id="0PG-rA-4o8"/>
  113. <constraint firstAttribute="bottom" secondItem="yrd-gT-GKb" secondAttribute="bottom" id="0jJ-H1-C0h"/>
  114. <constraint firstItem="yrd-gT-GKb" firstAttribute="leading" secondItem="9tv-AS-E3V" secondAttribute="leading" id="0ud-Kx-PyD"/>
  115. <constraint firstItem="iUy-kj-FrP" firstAttribute="top" secondItem="9tv-AS-E3V" secondAttribute="top" id="2QP-Yy-kcm"/>
  116. <constraint firstAttribute="trailing" secondItem="yrd-gT-GKb" secondAttribute="trailing" id="3Zg-TJ-CYd"/>
  117. <constraint firstItem="yrd-gT-GKb" firstAttribute="top" secondItem="9tv-AS-E3V" secondAttribute="top" id="3dY-wK-wbD"/>
  118. <constraint firstItem="yrd-gT-GKb" firstAttribute="top" secondItem="9tv-AS-E3V" secondAttribute="top" id="BFe-2Z-rLg"/>
  119. <constraint firstItem="yrd-gT-GKb" firstAttribute="leading" secondItem="9tv-AS-E3V" secondAttribute="leading" id="TNe-po-fF0"/>
  120. <constraint firstAttribute="bottom" secondItem="iUy-kj-FrP" secondAttribute="bottom" id="pnF-1j-trx"/>
  121. <constraint firstAttribute="trailing" secondItem="iUy-kj-FrP" secondAttribute="trailing" id="qe5-Gb-kNC"/>
  122. <constraint firstAttribute="trailing" secondItem="yrd-gT-GKb" secondAttribute="trailing" id="tIt-sl-wqy"/>
  123. <constraint firstAttribute="bottom" secondItem="yrd-gT-GKb" secondAttribute="bottom" id="vJk-mU-8ic"/>
  124. </constraints>
  125. </collectionViewCellContentView>
  126. <connections>
  127. <outlet property="activityIndicator" destination="gCz-87-UsR" id="inc-KP-gwe"/>
  128. <outlet property="loadingVideoText" destination="Akc-Hy-XN4" id="5JM-dZ-dZS"/>
  129. <outlet property="loadingView" destination="iUy-kj-FrP" id="2V4-56-8il"/>
  130. <outlet property="playButton" destination="WmN-ps-TjN" id="6e7-ba-zJZ"/>
  131. <outlet property="videoBackgroundView" destination="BJg-YA-fhV" id="v3R-3E-0Tl"/>
  132. </connections>
  133. </collectionViewCell>
  134. <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="ImagePreviewCell" id="tBB-eL-paG" customClass="ImagePreviewCollectionViewCell" customModule="Threema" customModuleProvider="target">
  135. <rect key="frame" x="386" y="-78.5" width="376" height="551"/>
  136. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  137. <collectionViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" id="Qwb-eE-cJ1">
  138. <rect key="frame" x="0.0" y="0.0" width="376" height="551"/>
  139. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  140. <subviews>
  141. <view opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="uJ4-eJ-18P" userLabel="GIF View">
  142. <rect key="frame" x="0.0" y="0.0" width="376" height="551"/>
  143. <subviews>
  144. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="n4r-Nr-ruL">
  145. <rect key="frame" x="0.0" y="0.0" width="376" height="551"/>
  146. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  147. </view>
  148. <imageView hidden="YES" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" horizontalCompressionResistancePriority="900" verticalCompressionResistancePriority="900" image="Play" translatesAutoresizingMaskIntoConstraints="NO" id="0Vl-dh-eBe">
  149. <rect key="frame" x="163" y="250.5" width="50" height="50"/>
  150. <constraints>
  151. <constraint firstAttribute="width" constant="50" id="rAG-9H-nEA"/>
  152. <constraint firstAttribute="height" constant="50" id="ua7-rf-8lH"/>
  153. </constraints>
  154. </imageView>
  155. </subviews>
  156. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  157. <constraints>
  158. <constraint firstAttribute="bottom" secondItem="n4r-Nr-ruL" secondAttribute="bottom" id="L7q-ix-rG8"/>
  159. <constraint firstItem="0Vl-dh-eBe" firstAttribute="centerY" secondItem="uJ4-eJ-18P" secondAttribute="centerY" id="XnK-Yc-aSd"/>
  160. <constraint firstAttribute="trailing" secondItem="n4r-Nr-ruL" secondAttribute="trailing" id="YWe-NJ-G4P"/>
  161. <constraint firstItem="0Vl-dh-eBe" firstAttribute="centerX" secondItem="uJ4-eJ-18P" secondAttribute="centerX" id="byX-Um-cLP"/>
  162. <constraint firstItem="n4r-Nr-ruL" firstAttribute="leading" secondItem="uJ4-eJ-18P" secondAttribute="leading" id="nF4-oT-beT"/>
  163. <constraint firstItem="n4r-Nr-ruL" firstAttribute="top" secondItem="uJ4-eJ-18P" secondAttribute="top" id="sk6-6T-6Oo"/>
  164. </constraints>
  165. </view>
  166. <scrollView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="aQQ-vt-ddH" userLabel="Image View">
  167. <rect key="frame" x="0.0" y="-0.5" width="376" height="551"/>
  168. <subviews>
  169. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Esw-Ba-MZN">
  170. <rect key="frame" x="0.0" y="0.0" width="376" height="551"/>
  171. <accessibility key="accessibilityConfiguration">
  172. <bool key="isElement" value="YES"/>
  173. </accessibility>
  174. </imageView>
  175. </subviews>
  176. <constraints>
  177. <constraint firstItem="Esw-Ba-MZN" firstAttribute="top" secondItem="aQQ-vt-ddH" secondAttribute="top" id="TFc-ka-bCt"/>
  178. <constraint firstItem="Esw-Ba-MZN" firstAttribute="bottom" secondItem="aQQ-vt-ddH" secondAttribute="bottom" id="bnn-el-9fw"/>
  179. <constraint firstItem="Esw-Ba-MZN" firstAttribute="trailing" secondItem="aQQ-vt-ddH" secondAttribute="trailing" id="hQx-m7-fbk"/>
  180. <constraint firstAttribute="leading" secondItem="Esw-Ba-MZN" secondAttribute="leading" id="lVV-i3-sID"/>
  181. </constraints>
  182. </scrollView>
  183. <view opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ejg-eb-T8M">
  184. <rect key="frame" x="0.0" y="0.0" width="376" height="551"/>
  185. <subviews>
  186. <activityIndicatorView opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" fixedFrame="YES" hidesWhenStopped="YES" animating="YES" style="gray" translatesAutoresizingMaskIntoConstraints="NO" id="oeN-dg-Ifw">
  187. <rect key="frame" x="178" y="265" width="20" height="20"/>
  188. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  189. </activityIndicatorView>
  190. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="Loading Image" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="fHm-kZ-q3w">
  191. <rect key="frame" x="133" y="293" width="113" height="21"/>
  192. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  193. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  194. <nil key="textColor"/>
  195. <nil key="highlightedColor"/>
  196. </label>
  197. </subviews>
  198. <accessibility key="accessibilityConfiguration">
  199. <bool key="isElement" value="YES"/>
  200. </accessibility>
  201. </view>
  202. </subviews>
  203. <constraints>
  204. <constraint firstItem="aQQ-vt-ddH" firstAttribute="leading" secondItem="Qwb-eE-cJ1" secondAttribute="leading" id="Bxa-Kf-0E0"/>
  205. <constraint firstAttribute="trailing" secondItem="ejg-eb-T8M" secondAttribute="trailing" id="Bzt-W2-aVd"/>
  206. <constraint firstAttribute="trailing" secondItem="aQQ-vt-ddH" secondAttribute="trailing" id="Ctp-R4-p4I"/>
  207. <constraint firstAttribute="bottom" secondItem="aQQ-vt-ddH" secondAttribute="bottom" id="R63-UF-FpA"/>
  208. <constraint firstAttribute="bottom" secondItem="ejg-eb-T8M" secondAttribute="bottom" id="UID-4h-IIq"/>
  209. <constraint firstItem="ejg-eb-T8M" firstAttribute="leading" secondItem="Qwb-eE-cJ1" secondAttribute="leading" id="Uz2-k4-wXb"/>
  210. <constraint firstAttribute="trailing" secondItem="uJ4-eJ-18P" secondAttribute="trailing" id="X3q-Ms-yuT"/>
  211. <constraint firstItem="aQQ-vt-ddH" firstAttribute="top" secondItem="Qwb-eE-cJ1" secondAttribute="top" id="ZkQ-xp-hyl"/>
  212. <constraint firstAttribute="bottom" secondItem="uJ4-eJ-18P" secondAttribute="bottom" id="eY8-8D-f8d"/>
  213. <constraint firstItem="uJ4-eJ-18P" firstAttribute="top" secondItem="Qwb-eE-cJ1" secondAttribute="top" id="k6o-9R-Na8"/>
  214. <constraint firstItem="uJ4-eJ-18P" firstAttribute="leading" secondItem="Qwb-eE-cJ1" secondAttribute="leading" id="xMH-2V-PkZ"/>
  215. <constraint firstItem="ejg-eb-T8M" firstAttribute="top" secondItem="Qwb-eE-cJ1" secondAttribute="top" id="zfZ-rQ-vQP"/>
  216. </constraints>
  217. </collectionViewCellContentView>
  218. <size key="customSize" width="376" height="551"/>
  219. <connections>
  220. <outlet property="activityIndicator" destination="oeN-dg-Ifw" id="1ZQ-V9-LRI"/>
  221. <outlet property="gifContainerView" destination="uJ4-eJ-18P" id="VSs-Sd-BZH"/>
  222. <outlet property="gifContentVIew" destination="n4r-Nr-ruL" id="8Xc-cq-hoO"/>
  223. <outlet property="gifPlayImageView" destination="0Vl-dh-eBe" id="Lo3-AD-o1O"/>
  224. <outlet property="imageView" destination="Esw-Ba-MZN" id="bFI-c2-UIf"/>
  225. <outlet property="loadingText" destination="fHm-kZ-q3w" id="bKq-VT-JSB"/>
  226. <outlet property="loadingView" destination="ejg-eb-T8M" id="PbY-Nf-OzJ"/>
  227. <outlet property="scrollView" destination="aQQ-vt-ddH" id="wJL-ch-SnW"/>
  228. </connections>
  229. </collectionViewCell>
  230. </cells>
  231. </collectionView>
  232. </subviews>
  233. <accessibility key="accessibilityConfiguration" hint="Storyboard Hint" identifier="Storyboard identifier" label="Storyboard label">
  234. <bool key="isElement" value="NO"/>
  235. </accessibility>
  236. <constraints>
  237. <constraint firstAttribute="trailing" secondItem="Pki-Ig-Hhw" secondAttribute="trailing" id="0WF-5d-DKX"/>
  238. <constraint firstItem="Pki-Ig-Hhw" firstAttribute="leading" secondItem="hIL-20-sWs" secondAttribute="leading" id="9xA-0H-lUV"/>
  239. <constraint firstItem="Pki-Ig-Hhw" firstAttribute="top" secondItem="hIL-20-sWs" secondAttribute="top" id="Pnf-fG-QHY"/>
  240. <constraint firstItem="Pki-Ig-Hhw" firstAttribute="leading" secondItem="hIL-20-sWs" secondAttribute="leading" id="QiG-eP-oVu"/>
  241. <constraint firstAttribute="trailing" secondItem="Pki-Ig-Hhw" secondAttribute="trailing" id="ZMj-T5-bGK"/>
  242. <constraint firstItem="Pki-Ig-Hhw" firstAttribute="top" secondItem="hIL-20-sWs" secondAttribute="top" id="jwl-Bi-EbJ"/>
  243. <constraint firstAttribute="bottom" secondItem="Pki-Ig-Hhw" secondAttribute="bottom" id="lg0-ak-OnR"/>
  244. </constraints>
  245. </view>
  246. <stackView opaque="NO" contentMode="scaleToFill" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="UxB-3U-rRw">
  247. <rect key="frame" x="0.0" y="458" width="414" height="34"/>
  248. <subviews>
  249. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="contactAdd" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="pfu-nb-n5n">
  250. <rect key="frame" x="8" y="0.0" width="25" height="34"/>
  251. <constraints>
  252. <constraint firstAttribute="width" constant="25" id="Cz8-KN-rwo"/>
  253. </constraints>
  254. <connections>
  255. <action selector="smallAddButtonPressed:" destination="uN3-sP-Wjl" eventType="touchUpInside" id="mvX-vV-Doe"/>
  256. </connections>
  257. </button>
  258. <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="kyQ-uY-5wa">
  259. <rect key="frame" x="43" y="0.0" width="315" height="34"/>
  260. <accessibility key="accessibilityConfiguration" identifier="MediaPreviewTextField"/>
  261. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  262. <textInputTraits key="textInputTraits" autocapitalizationType="sentences"/>
  263. <connections>
  264. <action selector="captionEditingChanged:" destination="uN3-sP-Wjl" eventType="editingChanged" id="L9I-xm-i6e"/>
  265. </connections>
  266. </textField>
  267. <button opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" horizontalCompressionResistancePriority="752" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="nT6-70-VM2">
  268. <rect key="frame" x="368" y="0.0" width="38" height="34"/>
  269. <fontDescription key="fontDescription" type="boldSystem" pointSize="15"/>
  270. <state key="normal" title="Send">
  271. <preferredSymbolConfiguration key="preferredSymbolConfiguration" weight="bold"/>
  272. </state>
  273. <connections>
  274. <action selector="sendButtonPressed:" destination="uN3-sP-Wjl" eventType="touchUpInside" id="Ade-Wz-17R"/>
  275. </connections>
  276. </button>
  277. </subviews>
  278. <constraints>
  279. <constraint firstItem="nT6-70-VM2" firstAttribute="leading" secondItem="kyQ-uY-5wa" secondAttribute="trailing" constant="10" id="0uy-vY-sCj"/>
  280. <constraint firstItem="nT6-70-VM2" firstAttribute="leading" secondItem="kyQ-uY-5wa" secondAttribute="trailing" constant="10" id="OY7-C8-re3"/>
  281. </constraints>
  282. <edgeInsets key="layoutMargins" top="0.0" left="8" bottom="0.0" right="8"/>
  283. </stackView>
  284. <collectionView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" showsHorizontalScrollIndicator="NO" showsVerticalScrollIndicator="NO" dataMode="prototypes" translatesAutoresizingMaskIntoConstraints="NO" id="cU8-nu-px9">
  285. <rect key="frame" x="0.0" y="502" width="414" height="80"/>
  286. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  287. <constraints>
  288. <constraint firstAttribute="height" constant="80" id="6st-wW-oy4"/>
  289. </constraints>
  290. <collectionViewFlowLayout key="collectionViewLayout" scrollDirection="horizontal" minimumLineSpacing="10" minimumInteritemSpacing="10" id="gux-v2-mdP">
  291. <size key="itemSize" width="80" height="80"/>
  292. <size key="headerReferenceSize" width="0.0" height="0.0"/>
  293. <size key="footerReferenceSize" width="0.0" height="0.0"/>
  294. <inset key="sectionInset" minX="10" minY="0.0" maxX="10" maxY="0.0"/>
  295. </collectionViewFlowLayout>
  296. <cells>
  297. <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="thumbnailCell" id="WzS-ym-gcP" customClass="ThumbnailCollectionViewCell" customModule="Threema" customModuleProvider="target">
  298. <rect key="frame" x="10" y="0.0" width="80" height="80"/>
  299. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  300. <collectionViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" id="ycD-S5-LbQ">
  301. <rect key="frame" x="0.0" y="0.0" width="80" height="80"/>
  302. <autoresizingMask key="autoresizingMask"/>
  303. <subviews>
  304. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="gXD-V0-I4V">
  305. <rect key="frame" x="0.0" y="0.0" width="80" height="80"/>
  306. </imageView>
  307. <activityIndicatorView opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" style="gray" translatesAutoresizingMaskIntoConstraints="NO" id="Anj-WV-Oer">
  308. <rect key="frame" x="30" y="30" width="20" height="20"/>
  309. </activityIndicatorView>
  310. </subviews>
  311. <constraints>
  312. <constraint firstAttribute="trailing" secondItem="gXD-V0-I4V" secondAttribute="trailing" id="3or-6P-Mra"/>
  313. <constraint firstItem="gXD-V0-I4V" firstAttribute="top" secondItem="ycD-S5-LbQ" secondAttribute="top" id="3uP-3p-mPP"/>
  314. <constraint firstAttribute="bottom" secondItem="gXD-V0-I4V" secondAttribute="bottom" id="4iZ-SA-6d4"/>
  315. <constraint firstAttribute="trailing" secondItem="Anj-WV-Oer" secondAttribute="trailing" constant="30" id="GQY-Gd-qja"/>
  316. <constraint firstItem="Anj-WV-Oer" firstAttribute="top" secondItem="ycD-S5-LbQ" secondAttribute="top" constant="30" id="HYs-SH-xKc"/>
  317. <constraint firstItem="gXD-V0-I4V" firstAttribute="leading" secondItem="ycD-S5-LbQ" secondAttribute="leading" id="Lgq-xF-TQN"/>
  318. <constraint firstAttribute="bottom" secondItem="Anj-WV-Oer" secondAttribute="bottom" constant="30" id="Nlc-0M-VLB"/>
  319. <constraint firstItem="Anj-WV-Oer" firstAttribute="leading" secondItem="ycD-S5-LbQ" secondAttribute="leading" constant="30" id="iaM-TG-rA9"/>
  320. </constraints>
  321. </collectionViewCellContentView>
  322. <color key="backgroundColor" systemColor="systemTealColor"/>
  323. <connections>
  324. <outlet property="activityIndicator" destination="Anj-WV-Oer" id="4QO-va-0Ty"/>
  325. <outlet property="imageView" destination="gXD-V0-I4V" id="OZW-3q-2I6"/>
  326. </connections>
  327. </collectionViewCell>
  328. </cells>
  329. </collectionView>
  330. </subviews>
  331. <constraints>
  332. <constraint firstItem="cU8-nu-px9" firstAttribute="leading" secondItem="OZI-gu-aaL" secondAttribute="leading" id="7XN-We-ohW"/>
  333. <constraint firstAttribute="trailing" secondItem="hIL-20-sWs" secondAttribute="trailing" id="7wJ-J3-RAn"/>
  334. <constraint firstAttribute="trailing" secondItem="cU8-nu-px9" secondAttribute="trailing" id="AsY-xs-yo6"/>
  335. <constraint firstAttribute="trailing" secondItem="cU8-nu-px9" secondAttribute="trailing" id="GaZ-jb-RBD"/>
  336. <constraint firstItem="hIL-20-sWs" firstAttribute="leading" secondItem="OZI-gu-aaL" secondAttribute="leading" id="Jx5-U5-7Zy"/>
  337. <constraint firstItem="cU8-nu-px9" firstAttribute="top" secondItem="UxB-3U-rRw" secondAttribute="bottom" constant="10" id="QeX-FZ-nrp"/>
  338. <constraint firstAttribute="bottom" secondItem="cU8-nu-px9" secondAttribute="bottom" id="RQG-JG-KMj"/>
  339. <constraint firstItem="wXg-JL-O2B" firstAttribute="top" secondItem="OZI-gu-aaL" secondAttribute="top" id="Y8e-y6-ooB"/>
  340. <constraint firstItem="wXg-JL-O2B" firstAttribute="leading" secondItem="OZI-gu-aaL" secondAttribute="leading" id="gn1-8U-vBc"/>
  341. <constraint firstAttribute="trailing" secondItem="wXg-JL-O2B" secondAttribute="trailing" id="hev-76-1eh"/>
  342. <constraint firstItem="cU8-nu-px9" firstAttribute="leading" secondItem="OZI-gu-aaL" secondAttribute="leading" id="qDU-UZ-a53"/>
  343. <constraint firstItem="UxB-3U-rRw" firstAttribute="leading" secondItem="OZI-gu-aaL" secondAttribute="leading" id="qo6-tu-KUV"/>
  344. <constraint firstAttribute="trailing" secondItem="UxB-3U-rRw" secondAttribute="trailing" id="tes-Dl-Qg9"/>
  345. </constraints>
  346. </stackView>
  347. <navigationBar contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="tvu-jJ-yIj">
  348. <rect key="frame" x="0.0" y="44" width="414" height="236"/>
  349. <items>
  350. <navigationItem title="Title" id="HZR-jQ-QEs">
  351. <barButtonItem key="leftBarButtonItem" title="Back" id="oXN-12-66B">
  352. <connections>
  353. <action selector="backButtonPressed:" destination="uN3-sP-Wjl" id="D6x-WU-Tk8"/>
  354. </connections>
  355. </barButtonItem>
  356. <barButtonItem key="rightBarButtonItem" title="More" image="ellipsis_circle" id="S5H-XC-b9m">
  357. <color key="tintColor" systemColor="systemBlueColor"/>
  358. <connections>
  359. <action selector="moreButtonPressed:" destination="uN3-sP-Wjl" id="QVz-ig-siT"/>
  360. </connections>
  361. </barButtonItem>
  362. </navigationItem>
  363. </items>
  364. </navigationBar>
  365. </subviews>
  366. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  367. <constraints>
  368. <constraint firstItem="tvu-jJ-yIj" firstAttribute="trailing" secondItem="fdk-dk-3yX" secondAttribute="trailing" id="2eW-vn-q5H"/>
  369. <constraint firstAttribute="trailing" secondItem="OZI-gu-aaL" secondAttribute="trailing" id="B2Z-H6-pYY"/>
  370. <constraint firstItem="tvu-jJ-yIj" firstAttribute="leading" secondItem="fdk-dk-3yX" secondAttribute="leading" id="M8w-p0-UK8"/>
  371. <constraint firstItem="OZI-gu-aaL" firstAttribute="leading" secondItem="fdk-dk-3yX" secondAttribute="leading" id="bm6-uT-d10"/>
  372. <constraint firstItem="tvu-jJ-yIj" firstAttribute="top" secondItem="xOZ-lR-95H" secondAttribute="bottom" id="ctj-gs-PCr"/>
  373. <constraint firstItem="OZI-gu-aaL" firstAttribute="top" secondItem="tvu-jJ-yIj" secondAttribute="bottom" id="p6P-OI-cgP"/>
  374. <constraint firstItem="OZI-gu-aaL" firstAttribute="bottom" secondItem="inY-Tq-Y00" secondAttribute="top" id="u2U-Y3-68d"/>
  375. </constraints>
  376. </view>
  377. <connections>
  378. <outlet property="addButton" destination="pfu-nb-n5n" id="jwh-cL-bCY"/>
  379. <outlet property="backButton" destination="oXN-12-66B" id="Wl1-qw-m8h"/>
  380. <outlet property="bottomLayoutConstraint" destination="u2U-Y3-68d" id="nqG-WS-enn"/>
  381. <outlet property="deleteButton" destination="FcS-oL-hsg" id="kF2-sS-EUY"/>
  382. <outlet property="largeCollectionView" destination="Pki-Ig-Hhw" id="V4u-Tb-jFi"/>
  383. <outlet property="largeCollectionViewContainerView" destination="hIL-20-sWs" id="5q8-G9-uX3"/>
  384. <outlet property="middeStackView" destination="UxB-3U-rRw" id="cZw-eK-lO7"/>
  385. <outlet property="moreButton" destination="S5H-XC-b9m" id="jM2-98-x7h"/>
  386. <outlet property="navigationBar" destination="tvu-jJ-yIj" id="MdG-uW-M6m"/>
  387. <outlet property="sendButton" destination="nT6-70-VM2" id="eWk-Ka-uXw"/>
  388. <outlet property="smallCollectionView" destination="cU8-nu-px9" id="vLb-Et-Nss"/>
  389. <outlet property="textField" destination="kyQ-uY-5wa" id="pzE-D5-ji2"/>
  390. </connections>
  391. </viewController>
  392. <placeholder placeholderIdentifier="IBFirstResponder" id="1bj-M8-XSm" sceneMemberID="firstResponder"/>
  393. </objects>
  394. <point key="canvasLocation" x="-300" y="48.883928571428569"/>
  395. </scene>
  396. <!--Media Share Options View Controller-->
  397. <scene sceneID="IHx-3a-Bs0">
  398. <objects>
  399. <tableViewController id="QzJ-RZ-B54" customClass="MediaShareOptionsViewController" customModule="Threema" customModuleProvider="target" sceneMemberID="viewController">
  400. <tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="static" style="insetGrouped" separatorStyle="default" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="18" sectionFooterHeight="18" id="KyD-Lm-8i8">
  401. <rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
  402. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  403. <sections>
  404. <tableViewSection headerTitle="Send Mode" footerTitle="Display test" id="zSk-S8-CdK">
  405. <cells>
  406. <tableViewCell contentMode="scaleToFill" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" textLabel="gZh-OE-uBC" style="IBUITableViewCellStyleDefault" id="F5a-F4-5eE">
  407. <rect key="frame" x="20" y="55.5" width="374" height="44"/>
  408. <autoresizingMask key="autoresizingMask"/>
  409. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="F5a-F4-5eE" id="sKx-ed-Txe">
  410. <rect key="frame" x="0.0" y="0.0" width="374" height="44"/>
  411. <autoresizingMask key="autoresizingMask"/>
  412. <subviews>
  413. <label opaque="NO" multipleTouchEnabled="YES" contentMode="left" insetsLayoutMarginsFromSafeArea="NO" text="Send as File" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontForContentSizeCategory="YES" adjustsFontSizeToFit="NO" id="gZh-OE-uBC">
  414. <rect key="frame" x="20" y="0.0" width="334" height="44"/>
  415. <autoresizingMask key="autoresizingMask"/>
  416. <fontDescription key="fontDescription" style="UICTFontTextStyleBody"/>
  417. <nil key="textColor"/>
  418. <nil key="highlightedColor"/>
  419. </label>
  420. <switch opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" translatesAutoresizingMaskIntoConstraints="NO" id="9HN-KW-ZEW">
  421. <rect key="frame" x="160" y="6" width="52" height="31"/>
  422. <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxY="YES"/>
  423. <inset key="insetFor6xAndEarlier" minX="-7" minY="-2" maxX="7" maxY="2"/>
  424. <connections>
  425. <action selector="sendAsFileSwitch:" destination="N0Z-eB-QvP" eventType="valueChanged" id="6Ab-54-KBM"/>
  426. </connections>
  427. </switch>
  428. </subviews>
  429. </tableViewCellContentView>
  430. <connections>
  431. <outlet property="accessoryView" destination="9HN-KW-ZEW" id="nB5-Fq-3sY"/>
  432. </connections>
  433. </tableViewCell>
  434. </cells>
  435. </tableViewSection>
  436. </sections>
  437. <connections>
  438. <outlet property="dataSource" destination="QzJ-RZ-B54" id="mWn-Tf-DQ9"/>
  439. <outlet property="delegate" destination="QzJ-RZ-B54" id="InH-G6-bHf"/>
  440. </connections>
  441. </tableView>
  442. <navigationItem key="navigationItem" id="3Db-Zv-7uV">
  443. <barButtonItem key="rightBarButtonItem" style="done" systemItem="done" id="13x-Qb-F9w">
  444. <connections>
  445. <action selector="donePressed:" destination="QzJ-RZ-B54" id="pHE-HM-hK3"/>
  446. </connections>
  447. </barButtonItem>
  448. </navigationItem>
  449. <connections>
  450. <outlet property="navigationBar" destination="3Db-Zv-7uV" id="bnv-a5-cFM"/>
  451. <outlet property="saveButton" destination="13x-Qb-F9w" id="LWa-Z9-0Ky"/>
  452. <outlet property="sendAsFileCell" destination="F5a-F4-5eE" id="UuX-iV-9oQ"/>
  453. <outlet property="sendAsFileSwitch" destination="9HN-KW-ZEW" id="pvd-D9-Yke"/>
  454. </connections>
  455. </tableViewController>
  456. <placeholder placeholderIdentifier="IBFirstResponder" id="mzL-72-eZX" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
  457. <exit id="N0Z-eB-QvP" userLabel="Exit" sceneMemberID="exit"/>
  458. </objects>
  459. <point key="canvasLocation" x="2490.4000000000001" y="64.285714285714292"/>
  460. </scene>
  461. <!--Options Navigation Controller-->
  462. <scene sceneID="f0r-5p-kaD">
  463. <objects>
  464. <navigationController storyboardIdentifier="moreOptionsNavigationController" title="Options Navigation Controller" automaticallyAdjustsScrollViewInsets="NO" id="2uh-IC-pXM" sceneMemberID="viewController">
  465. <toolbarItems/>
  466. <navigationBar key="navigationBar" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" id="fwL-mG-vhS">
  467. <rect key="frame" x="0.0" y="44" width="414" height="44"/>
  468. <autoresizingMask key="autoresizingMask"/>
  469. </navigationBar>
  470. <nil name="viewControllers"/>
  471. <connections>
  472. <segue destination="QzJ-RZ-B54" kind="relationship" relationship="rootViewController" id="dAE-N1-xJ8"/>
  473. </connections>
  474. </navigationController>
  475. <placeholder placeholderIdentifier="IBFirstResponder" id="NhF-rS-dly" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
  476. </objects>
  477. <point key="canvasLocation" x="1548" y="64.285714285714292"/>
  478. </scene>
  479. </scenes>
  480. <resources>
  481. <image name="Play" width="256" height="256"/>
  482. <image name="ellipsis_circle" width="22" height="22"/>
  483. <systemColor name="systemBackgroundColor">
  484. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  485. </systemColor>
  486. <systemColor name="systemBlueColor">
  487. <color red="0.0" green="0.47843137254901963" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  488. </systemColor>
  489. <systemColor name="systemPurpleColor">
  490. <color red="0.68627450980392157" green="0.32156862745098042" blue="0.87058823529411766" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  491. </systemColor>
  492. <systemColor name="systemTealColor">
  493. <color red="0.35294117647058826" green="0.78431372549019607" blue="0.98039215686274506" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  494. </systemColor>
  495. </resources>
  496. </document>