MyStyleVideoCell.xib 7.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="20037" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="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="20020"/>
  7. <capability name="Safe area layout guides" minToolsVersion="9.0"/>
  8. <capability name="System colors in document resources" minToolsVersion="11.0"/>
  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"/>
  13. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  14. <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="264" id="KGk-i7-Jjw" customClass="MyStyleVideoCell">
  15. <rect key="frame" x="0.0" y="0.0" width="320" height="264"/>
  16. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  17. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
  18. <rect key="frame" x="0.0" y="0.0" width="320" height="264"/>
  19. <autoresizingMask key="autoresizingMask"/>
  20. <subviews>
  21. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Hma-vR-10P">
  22. <rect key="frame" x="14" y="0.0" width="292" height="252"/>
  23. <subviews>
  24. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="myStyle_video" translatesAutoresizingMaskIntoConstraints="NO" id="h8L-9t-fxP">
  25. <rect key="frame" x="12" y="17" width="24" height="24"/>
  26. <constraints>
  27. <constraint firstAttribute="height" constant="24" id="44c-uB-iFM"/>
  28. <constraint firstAttribute="width" constant="24" id="pNy-7X-Hgz"/>
  29. </constraints>
  30. </imageView>
  31. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="老师风采" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="vsk-ct-XNk">
  32. <rect key="frame" x="40" y="14" width="66" height="30"/>
  33. <constraints>
  34. <constraint firstAttribute="height" constant="30" id="ZtD-S1-QNK"/>
  35. </constraints>
  36. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="16"/>
  37. <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
  38. <nil key="highlightedColor"/>
  39. </label>
  40. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="uSh-fN-7mG">
  41. <rect key="frame" x="0.0" y="62" width="292" height="172"/>
  42. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  43. <constraints>
  44. <constraint firstAttribute="height" constant="172" id="c88-mj-nEn"/>
  45. </constraints>
  46. </view>
  47. </subviews>
  48. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  49. <constraints>
  50. <constraint firstItem="vsk-ct-XNk" firstAttribute="centerY" secondItem="h8L-9t-fxP" secondAttribute="centerY" id="02c-ZC-p3Q"/>
  51. <constraint firstItem="h8L-9t-fxP" firstAttribute="top" secondItem="Hma-vR-10P" secondAttribute="top" constant="17" id="2hA-HO-ltI"/>
  52. <constraint firstAttribute="trailing" secondItem="uSh-fN-7mG" secondAttribute="trailing" id="EJe-zh-u6C"/>
  53. <constraint firstItem="vsk-ct-XNk" firstAttribute="leading" secondItem="h8L-9t-fxP" secondAttribute="trailing" constant="4" id="NTy-4b-UdN"/>
  54. <constraint firstItem="uSh-fN-7mG" firstAttribute="top" secondItem="vsk-ct-XNk" secondAttribute="bottom" constant="18" id="QxL-bD-SSH"/>
  55. <constraint firstItem="h8L-9t-fxP" firstAttribute="leading" secondItem="Hma-vR-10P" secondAttribute="leading" constant="12" id="XSs-yL-FXo"/>
  56. <constraint firstItem="uSh-fN-7mG" firstAttribute="leading" secondItem="Hma-vR-10P" secondAttribute="leading" id="Zcd-xo-xUi"/>
  57. <constraint firstAttribute="bottom" secondItem="uSh-fN-7mG" secondAttribute="bottom" constant="18" id="nqW-i7-Buy"/>
  58. </constraints>
  59. <userDefinedRuntimeAttributes>
  60. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  61. <real key="value" value="10"/>
  62. </userDefinedRuntimeAttribute>
  63. </userDefinedRuntimeAttributes>
  64. </view>
  65. </subviews>
  66. <constraints>
  67. <constraint firstItem="Hma-vR-10P" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" id="Sa2-MJ-vFf"/>
  68. <constraint firstAttribute="bottom" secondItem="Hma-vR-10P" secondAttribute="bottom" constant="12" id="TKI-Ga-LoB"/>
  69. <constraint firstAttribute="trailing" secondItem="Hma-vR-10P" secondAttribute="trailing" constant="14" id="cY6-66-zSi"/>
  70. <constraint firstItem="Hma-vR-10P" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="14" id="mSA-0X-gFT"/>
  71. </constraints>
  72. </tableViewCellContentView>
  73. <viewLayoutGuide key="safeArea" id="aW0-zy-SZf"/>
  74. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  75. <connections>
  76. <outlet property="containerHeight" destination="c88-mj-nEn" id="FOe-z1-QeT"/>
  77. <outlet property="videoContainer" destination="uSh-fN-7mG" id="l7N-7e-Gcj"/>
  78. </connections>
  79. <point key="canvasLocation" x="131.8840579710145" y="141.29464285714286"/>
  80. </tableViewCell>
  81. </objects>
  82. <resources>
  83. <image name="myStyle_video" width="24" height="24"/>
  84. <systemColor name="systemBackgroundColor">
  85. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  86. </systemColor>
  87. </resources>
  88. </document>