Phone_Banner_Cell.xib 8.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="13529" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
  3. <device id="retina4_7" orientation="portrait">
  4. <adaptation id="fullscreen"/>
  5. </device>
  6. <dependencies>
  7. <deployment identifier="iOS"/>
  8. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13527"/>
  9. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  10. </dependencies>
  11. <objects>
  12. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="CommonEditorBannerCell"/>
  13. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  14. <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" reuseIdentifier="CommonEditorBannerCell" rowHeight="200" id="E8q-bo-mcp" customClass="CommonEditorBannerCell">
  15. <rect key="frame" x="0.0" y="0.0" width="597" height="195"/>
  16. <autoresizingMask key="autoresizingMask"/>
  17. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="E8q-bo-mcp" id="sgK-xT-zL1">
  18. <rect key="frame" x="0.0" y="0.0" width="597" height="194.5"/>
  19. <autoresizingMask key="autoresizingMask"/>
  20. <subviews>
  21. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ILR-pL-388">
  22. <rect key="frame" x="0.0" y="0.0" width="597" height="200"/>
  23. <subviews>
  24. <collectionView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" alwaysBounceHorizontal="YES" pagingEnabled="YES" showsHorizontalScrollIndicator="NO" showsVerticalScrollIndicator="NO" dataMode="none" translatesAutoresizingMaskIntoConstraints="NO" id="dim-uJ-xoH">
  25. <rect key="frame" x="0.0" y="0.0" width="597" height="200"/>
  26. <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  27. <collectionViewFlowLayout key="collectionViewLayout" scrollDirection="horizontal" minimumLineSpacing="10" minimumInteritemSpacing="10" id="iRW-wb-XZe">
  28. <size key="itemSize" width="50" height="50"/>
  29. <size key="headerReferenceSize" width="0.0" height="0.0"/>
  30. <size key="footerReferenceSize" width="0.0" height="0.0"/>
  31. <inset key="sectionInset" minX="0.0" minY="0.0" maxX="0.0" maxY="0.0"/>
  32. </collectionViewFlowLayout>
  33. <connections>
  34. <outlet property="dataSource" destination="E8q-bo-mcp" id="1Ka-oU-6XU"/>
  35. <outlet property="delegate" destination="E8q-bo-mcp" id="Pku-SP-Yhg"/>
  36. </connections>
  37. </collectionView>
  38. <pageControl opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" hidesForSinglePage="YES" numberOfPages="3" translatesAutoresizingMaskIntoConstraints="NO" id="jgm-U6-Z9N">
  39. <rect key="frame" x="279" y="165" width="39" height="20"/>
  40. <constraints>
  41. <constraint firstAttribute="height" constant="20" id="wcZ-1d-53o"/>
  42. </constraints>
  43. <color key="pageIndicatorTintColor" red="0.95751700129999995" green="0.95751700129999995" blue="0.95751700129999995" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  44. <color key="currentPageIndicatorTintColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/>
  45. </pageControl>
  46. <view hidden="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="HOS-2H-C9K" customClass="YTPlayerView">
  47. <rect key="frame" x="0.0" y="0.0" width="597" height="200"/>
  48. <subviews>
  49. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="fGW-SJ-BKG">
  50. <rect key="frame" x="547" y="10" width="40" height="40"/>
  51. <constraints>
  52. <constraint firstAttribute="width" constant="40" id="9aV-iZ-V7l"/>
  53. <constraint firstAttribute="height" constant="40" id="sbU-Ky-1gA"/>
  54. </constraints>
  55. <state key="normal" title="Click"/>
  56. <connections>
  57. <action selector="closePlayerBtnClick:" destination="E8q-bo-mcp" eventType="touchUpInside" id="ZUw-nl-LTT"/>
  58. </connections>
  59. </button>
  60. </subviews>
  61. <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  62. <constraints>
  63. <constraint firstItem="fGW-SJ-BKG" firstAttribute="top" secondItem="HOS-2H-C9K" secondAttribute="top" constant="10" id="eoT-k1-E97"/>
  64. <constraint firstAttribute="trailing" secondItem="fGW-SJ-BKG" secondAttribute="trailing" constant="10" id="h63-Zc-iwa"/>
  65. </constraints>
  66. </view>
  67. </subviews>
  68. <constraints>
  69. <constraint firstItem="HOS-2H-C9K" firstAttribute="width" secondItem="dim-uJ-xoH" secondAttribute="width" id="8Rr-f1-J4n"/>
  70. <constraint firstItem="dim-uJ-xoH" firstAttribute="leading" secondItem="ILR-pL-388" secondAttribute="leading" id="8qw-SX-zW4"/>
  71. <constraint firstItem="HOS-2H-C9K" firstAttribute="top" secondItem="dim-uJ-xoH" secondAttribute="top" id="CFH-ft-nGh"/>
  72. <constraint firstAttribute="trailing" secondItem="dim-uJ-xoH" secondAttribute="trailing" id="HcU-au-46u"/>
  73. <constraint firstItem="jgm-U6-Z9N" firstAttribute="centerX" secondItem="dim-uJ-xoH" secondAttribute="centerX" id="OcS-gH-MBc"/>
  74. <constraint firstItem="HOS-2H-C9K" firstAttribute="leading" secondItem="dim-uJ-xoH" secondAttribute="leading" id="Q3h-Al-oBr"/>
  75. <constraint firstItem="dim-uJ-xoH" firstAttribute="top" secondItem="ILR-pL-388" secondAttribute="top" id="Yts-tl-DH6"/>
  76. <constraint firstAttribute="bottom" secondItem="jgm-U6-Z9N" secondAttribute="bottom" constant="15" id="crp-Nk-04a"/>
  77. <constraint firstItem="HOS-2H-C9K" firstAttribute="height" secondItem="dim-uJ-xoH" secondAttribute="height" id="e9P-R8-U7x"/>
  78. <constraint firstAttribute="bottom" secondItem="dim-uJ-xoH" secondAttribute="bottom" id="erb-RQ-eHv"/>
  79. <constraint firstAttribute="height" constant="200" id="j8H-yL-qY0"/>
  80. </constraints>
  81. </view>
  82. </subviews>
  83. <constraints>
  84. <constraint firstItem="ILR-pL-388" firstAttribute="leading" secondItem="sgK-xT-zL1" secondAttribute="leading" id="3ge-Ud-7vq"/>
  85. <constraint firstItem="ILR-pL-388" firstAttribute="top" secondItem="sgK-xT-zL1" secondAttribute="top" id="VEr-Vj-vEG"/>
  86. <constraint firstAttribute="trailing" secondItem="ILR-pL-388" secondAttribute="trailing" id="YwD-Yd-SgA"/>
  87. </constraints>
  88. </tableViewCellContentView>
  89. <connections>
  90. <outlet property="bannerCollectionView" destination="dim-uJ-xoH" id="zFo-4H-Sng"/>
  91. <outlet property="pageControlView" destination="jgm-U6-Z9N" id="qJa-V3-1Ry"/>
  92. <outlet property="playerView" destination="HOS-2H-C9K" id="plZ-PC-aQb"/>
  93. </connections>
  94. <point key="canvasLocation" x="189.5" y="189.5"/>
  95. </tableViewCell>
  96. </objects>
  97. </document>