PhotoList.storyboard 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="15505" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
  3. <device id="retina5_5" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="15510"/>
  6. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  7. </dependencies>
  8. <scenes>
  9. <!--Content Preview Controller-->
  10. <scene sceneID="U3N-xr-7Rz">
  11. <objects>
  12. <viewController storyboardIdentifier="ContentPreviewController" useStoryboardIdentifierAsRestorationIdentifier="YES" id="qZK-Vy-gaw" customClass="ContentPreviewController" sceneMemberID="viewController">
  13. <layoutGuides>
  14. <viewControllerLayoutGuide type="top" id="mc4-Qg-2g3"/>
  15. <viewControllerLayoutGuide type="bottom" id="0pB-uU-kJr"/>
  16. </layoutGuides>
  17. <view key="view" contentMode="scaleToFill" id="qtX-co-R7G">
  18. <rect key="frame" x="0.0" y="0.0" width="414" height="736"/>
  19. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  20. <subviews>
  21. <collectionView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" dataMode="prototypes" translatesAutoresizingMaskIntoConstraints="NO" id="eUk-3I-LIa">
  22. <rect key="frame" x="0.0" y="0.0" width="414" height="736"/>
  23. <collectionViewFlowLayout key="collectionViewLayout" scrollDirection="horizontal" minimumLineSpacing="10" minimumInteritemSpacing="10" id="AhJ-66-sid">
  24. <size key="itemSize" width="414" height="735"/>
  25. <size key="headerReferenceSize" width="0.0" height="0.0"/>
  26. <size key="footerReferenceSize" width="0.0" height="0.0"/>
  27. <inset key="sectionInset" minX="0.0" minY="0.0" maxX="0.0" maxY="0.0"/>
  28. </collectionViewFlowLayout>
  29. <cells>
  30. <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="PhotoPreviewCell" id="eAR-El-bRn" customClass="PhotoPreviewCell">
  31. <rect key="frame" x="0.0" y="0.66666666666666663" width="414" height="735"/>
  32. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  33. <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
  34. <rect key="frame" x="0.0" y="0.0" width="414" height="735"/>
  35. <autoresizingMask key="autoresizingMask"/>
  36. <subviews>
  37. <scrollView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" maximumZoomScale="3" translatesAutoresizingMaskIntoConstraints="NO" id="5Dl-d3-MLq">
  38. <rect key="frame" x="0.0" y="0.0" width="414" height="735"/>
  39. <subviews>
  40. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="sni-z4-WnW">
  41. <rect key="frame" x="0.0" y="0.0" width="414" height="735"/>
  42. <subviews>
  43. <imageView contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="0p1-c6-dGo">
  44. <rect key="frame" x="0.0" y="0.0" width="414" height="735"/>
  45. </imageView>
  46. </subviews>
  47. <constraints>
  48. <constraint firstItem="0p1-c6-dGo" firstAttribute="centerY" secondItem="sni-z4-WnW" secondAttribute="centerY" id="8UX-6e-CRi"/>
  49. <constraint firstItem="0p1-c6-dGo" firstAttribute="centerX" secondItem="sni-z4-WnW" secondAttribute="centerX" id="Cw9-JE-ar8"/>
  50. <constraint firstItem="0p1-c6-dGo" firstAttribute="width" secondItem="sni-z4-WnW" secondAttribute="width" id="d0G-UK-DXO"/>
  51. <constraint firstItem="0p1-c6-dGo" firstAttribute="height" secondItem="sni-z4-WnW" secondAttribute="height" id="pjY-2k-kdy"/>
  52. </constraints>
  53. </view>
  54. </subviews>
  55. <constraints>
  56. <constraint firstItem="sni-z4-WnW" firstAttribute="top" secondItem="5Dl-d3-MLq" secondAttribute="top" id="3mP-Sy-8ZJ"/>
  57. <constraint firstItem="sni-z4-WnW" firstAttribute="centerX" secondItem="5Dl-d3-MLq" secondAttribute="centerX" id="4c9-Zy-NsD"/>
  58. <constraint firstItem="sni-z4-WnW" firstAttribute="centerY" secondItem="5Dl-d3-MLq" secondAttribute="centerY" id="GGY-7p-nOf"/>
  59. <constraint firstAttribute="trailing" secondItem="sni-z4-WnW" secondAttribute="trailing" id="PVO-l2-aPm"/>
  60. <constraint firstAttribute="bottom" secondItem="sni-z4-WnW" secondAttribute="bottom" id="WIV-ve-oT1"/>
  61. <constraint firstItem="sni-z4-WnW" firstAttribute="leading" secondItem="5Dl-d3-MLq" secondAttribute="leading" id="rd8-QD-VTS"/>
  62. </constraints>
  63. </scrollView>
  64. </subviews>
  65. </view>
  66. <constraints>
  67. <constraint firstItem="5Dl-d3-MLq" firstAttribute="width" secondItem="eAR-El-bRn" secondAttribute="width" id="OwB-eR-E1R"/>
  68. <constraint firstItem="5Dl-d3-MLq" firstAttribute="centerY" secondItem="eAR-El-bRn" secondAttribute="centerY" id="hQv-Uz-CBO"/>
  69. <constraint firstItem="5Dl-d3-MLq" firstAttribute="centerX" secondItem="eAR-El-bRn" secondAttribute="centerX" id="nsu-Oh-hQQ"/>
  70. <constraint firstItem="5Dl-d3-MLq" firstAttribute="height" secondItem="eAR-El-bRn" secondAttribute="height" id="wst-oN-7pA"/>
  71. </constraints>
  72. <size key="customSize" width="414" height="735"/>
  73. <connections>
  74. <outlet property="photoView" destination="0p1-c6-dGo" id="FII-Mz-9Qt"/>
  75. <outlet property="scrollContentView" destination="sni-z4-WnW" id="hob-7H-hG5"/>
  76. <outlet property="scrollView" destination="5Dl-d3-MLq" id="2Gj-Oc-6rO"/>
  77. </connections>
  78. </collectionViewCell>
  79. <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="VideoPreviewCell" id="fb9-eB-NDG" customClass="VideoPreviewCell">
  80. <rect key="frame" x="424" y="0.66666666666666663" width="414" height="735"/>
  81. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  82. <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
  83. <rect key="frame" x="0.0" y="0.0" width="414" height="735"/>
  84. <autoresizingMask key="autoresizingMask"/>
  85. <subviews>
  86. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="g1h-px-8Fa" customClass="RAYTPlayer">
  87. <rect key="frame" x="0.0" y="0.0" width="414" height="735"/>
  88. <color key="backgroundColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/>
  89. </view>
  90. <imageView contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="play" translatesAutoresizingMaskIntoConstraints="NO" id="Pgl-ZY-yIF">
  91. <rect key="frame" x="0.0" y="0.0" width="414" height="735"/>
  92. <color key="backgroundColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/>
  93. </imageView>
  94. </subviews>
  95. </view>
  96. <color key="backgroundColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/>
  97. <constraints>
  98. <constraint firstItem="Pgl-ZY-yIF" firstAttribute="centerX" secondItem="fb9-eB-NDG" secondAttribute="centerX" id="1QL-c6-3dR"/>
  99. <constraint firstItem="Pgl-ZY-yIF" firstAttribute="width" secondItem="fb9-eB-NDG" secondAttribute="width" id="492-Xq-8Dy"/>
  100. <constraint firstItem="g1h-px-8Fa" firstAttribute="centerY" secondItem="fb9-eB-NDG" secondAttribute="centerY" id="EEY-c6-vl9"/>
  101. <constraint firstItem="g1h-px-8Fa" firstAttribute="height" secondItem="fb9-eB-NDG" secondAttribute="height" id="SKL-jo-Lzt"/>
  102. <constraint firstItem="Pgl-ZY-yIF" firstAttribute="centerY" secondItem="fb9-eB-NDG" secondAttribute="centerY" id="YwR-9C-HfW"/>
  103. <constraint firstItem="Pgl-ZY-yIF" firstAttribute="height" secondItem="fb9-eB-NDG" secondAttribute="height" id="eeM-vX-WIb"/>
  104. <constraint firstItem="g1h-px-8Fa" firstAttribute="centerX" secondItem="fb9-eB-NDG" secondAttribute="centerX" id="h5h-8v-rGk"/>
  105. <constraint firstItem="g1h-px-8Fa" firstAttribute="width" secondItem="fb9-eB-NDG" secondAttribute="width" id="k9d-ie-GeL"/>
  106. </constraints>
  107. <size key="customSize" width="414" height="735"/>
  108. <connections>
  109. <outlet property="VideoImageView" destination="Pgl-ZY-yIF" id="tkf-t3-BNf"/>
  110. <outlet property="playerView" destination="g1h-px-8Fa" id="Ydw-01-j1F"/>
  111. </connections>
  112. </collectionViewCell>
  113. </cells>
  114. <connections>
  115. <outlet property="dataSource" destination="qZK-Vy-gaw" id="2qY-wX-LI0"/>
  116. <outlet property="delegate" destination="qZK-Vy-gaw" id="Fnz-nQ-4PE"/>
  117. </connections>
  118. </collectionView>
  119. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="1 / 8" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="x3F-Hb-jne">
  120. <rect key="frame" x="167" y="10" width="80" height="40"/>
  121. <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  122. <constraints>
  123. <constraint firstAttribute="width" constant="80" id="4nS-MH-dz0"/>
  124. <constraint firstAttribute="height" constant="40" id="jTZ-mK-h0Z"/>
  125. </constraints>
  126. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  127. <color key="textColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/>
  128. <nil key="highlightedColor"/>
  129. </label>
  130. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="0RT-6b-F9T">
  131. <rect key="frame" x="360" y="5" width="44" height="44"/>
  132. <constraints>
  133. <constraint firstAttribute="height" constant="44" id="EfS-6B-vnU"/>
  134. <constraint firstAttribute="width" constant="44" id="Usq-qx-7G1"/>
  135. </constraints>
  136. <state key="normal" image="iv_close"/>
  137. <connections>
  138. <action selector="closeBtnClick:" destination="qZK-Vy-gaw" eventType="touchUpInside" id="JTL-8z-Gma"/>
  139. </connections>
  140. </button>
  141. </subviews>
  142. <color key="backgroundColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/>
  143. <constraints>
  144. <constraint firstAttribute="trailing" secondItem="0RT-6b-F9T" secondAttribute="trailing" constant="10" id="1bv-tN-nCS"/>
  145. <constraint firstItem="0RT-6b-F9T" firstAttribute="top" secondItem="mc4-Qg-2g3" secondAttribute="bottom" constant="5" id="7h0-ww-k6I"/>
  146. <constraint firstItem="eUk-3I-LIa" firstAttribute="centerX" secondItem="qtX-co-R7G" secondAttribute="centerX" id="Occ-gY-Cbn"/>
  147. <constraint firstItem="x3F-Hb-jne" firstAttribute="top" secondItem="mc4-Qg-2g3" secondAttribute="bottom" constant="10" id="PCn-1c-2Pu"/>
  148. <constraint firstItem="x3F-Hb-jne" firstAttribute="centerX" secondItem="qtX-co-R7G" secondAttribute="centerX" id="Vpc-xd-gDa"/>
  149. <constraint firstItem="eUk-3I-LIa" firstAttribute="height" secondItem="qtX-co-R7G" secondAttribute="height" id="dad-0B-yAf"/>
  150. <constraint firstItem="eUk-3I-LIa" firstAttribute="width" secondItem="qtX-co-R7G" secondAttribute="width" id="nY6-mM-Sjc"/>
  151. <constraint firstItem="eUk-3I-LIa" firstAttribute="centerY" secondItem="qtX-co-R7G" secondAttribute="centerY" id="ygr-Ka-rvN"/>
  152. </constraints>
  153. </view>
  154. <connections>
  155. <outlet property="indicator" destination="x3F-Hb-jne" id="JGA-vq-BPK"/>
  156. <outlet property="previewContainer" destination="eUk-3I-LIa" id="TYz-ym-JNG"/>
  157. </connections>
  158. </viewController>
  159. <placeholder placeholderIdentifier="IBFirstResponder" id="sWf-Id-XaR" userLabel="First Responder" sceneMemberID="firstResponder"/>
  160. </objects>
  161. <point key="canvasLocation" x="1871.0144927536232" y="50.54347826086957"/>
  162. </scene>
  163. </scenes>
  164. <resources>
  165. <image name="iv_close" width="32" height="32"/>
  166. <image name="play" width="350" height="350"/>
  167. </resources>
  168. </document>