Phone_Banner_Cell.xib 8.8 KB

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