RQHomePageOneOrFourSmallCell.xib 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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" 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="System colors in document resources" minToolsVersion="11.0"/>
  8. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  9. </dependencies>
  10. <objects>
  11. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  12. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  13. <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" id="gTV-IL-0wX" customClass="RQHomePageOneOrFourSmallCell">
  14. <rect key="frame" x="0.0" y="0.0" width="167" height="48"/>
  15. <autoresizingMask key="autoresizingMask"/>
  16. <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
  17. <rect key="frame" x="0.0" y="0.0" width="167" height="48"/>
  18. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  19. <subviews>
  20. <view clipsSubviews="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="9VD-CO-Hd0">
  21. <rect key="frame" x="0.0" y="0.0" width="167" height="48"/>
  22. <subviews>
  23. <stackView opaque="NO" contentMode="scaleToFill" distribution="equalCentering" spacing="12" translatesAutoresizingMaskIntoConstraints="NO" id="DI1-81-VOe">
  24. <rect key="frame" x="26.5" y="8" width="94.5" height="32"/>
  25. <subviews>
  26. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" adjustsImageSizeForAccessibilityContentSizeCategory="YES" translatesAutoresizingMaskIntoConstraints="NO" id="o6R-e2-rIR" customClass="YYAnimatedImageView">
  27. <rect key="frame" x="0.0" y="0.0" width="32" height="32"/>
  28. <constraints>
  29. <constraint firstAttribute="width" secondItem="o6R-e2-rIR" secondAttribute="height" id="pkS-Mw-ZpJ"/>
  30. </constraints>
  31. </imageView>
  32. <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="fillProportionally" alignment="top" translatesAutoresizingMaskIntoConstraints="NO" id="Cgn-R7-pf2">
  33. <rect key="frame" x="44" y="0.0" width="50.5" height="32"/>
  34. <subviews>
  35. <button opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="BN6-LP-0qX">
  36. <rect key="frame" x="0.0" y="0.0" width="28" height="13"/>
  37. <color key="backgroundColor" red="0.76078431372549016" green="0.95294117647058818" blue="0.90196078431372551" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  38. <constraints>
  39. <constraint firstAttribute="width" secondItem="BN6-LP-0qX" secondAttribute="height" multiplier="28/13" id="3sh-G3-5jC"/>
  40. </constraints>
  41. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="12"/>
  42. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  43. <state key="normal" title="模拟">
  44. <color key="titleColor" red="0.0039215686269999999" green="0.75686274509999996" blue="0.55294117649999996" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  45. </state>
  46. </button>
  47. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="VIP课程" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="7sq-yx-P1t">
  48. <rect key="frame" x="0.0" y="13" width="50.5" height="19"/>
  49. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  50. <nil key="textColor"/>
  51. <nil key="highlightedColor"/>
  52. </label>
  53. </subviews>
  54. </stackView>
  55. </subviews>
  56. </stackView>
  57. </subviews>
  58. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  59. <constraints>
  60. <constraint firstItem="DI1-81-VOe" firstAttribute="top" secondItem="9VD-CO-Hd0" secondAttribute="top" constant="8" id="1Oa-nK-c7z"/>
  61. <constraint firstItem="DI1-81-VOe" firstAttribute="centerX" secondItem="9VD-CO-Hd0" secondAttribute="centerX" constant="-10" id="Hte-8I-2HI"/>
  62. <constraint firstAttribute="bottom" secondItem="DI1-81-VOe" secondAttribute="bottom" constant="8" id="f1F-78-Wld"/>
  63. </constraints>
  64. <userDefinedRuntimeAttributes>
  65. <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
  66. <integer key="value" value="10"/>
  67. </userDefinedRuntimeAttribute>
  68. </userDefinedRuntimeAttributes>
  69. </view>
  70. </subviews>
  71. </view>
  72. <constraints>
  73. <constraint firstItem="9VD-CO-Hd0" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="42l-tq-X3C"/>
  74. <constraint firstAttribute="trailing" secondItem="9VD-CO-Hd0" secondAttribute="trailing" id="G9Z-d0-yM3"/>
  75. <constraint firstAttribute="bottom" secondItem="9VD-CO-Hd0" secondAttribute="bottom" id="Yqx-fH-aL9"/>
  76. <constraint firstItem="BN6-LP-0qX" firstAttribute="width" secondItem="gTV-IL-0wX" secondAttribute="width" multiplier="28/167" id="wHh-Ml-YP7"/>
  77. <constraint firstItem="9VD-CO-Hd0" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" id="wf2-C1-VZl"/>
  78. </constraints>
  79. <connections>
  80. <outlet property="myContentView" destination="9VD-CO-Hd0" id="shP-oC-8r7"/>
  81. <outlet property="myIconImageView" destination="o6R-e2-rIR" id="p5B-od-alf"/>
  82. <outlet property="myTitleLabel" destination="7sq-yx-P1t" id="6yZ-Mu-uif"/>
  83. <outlet property="simulationBtn" destination="BN6-LP-0qX" id="ao4-C7-Gpk"/>
  84. </connections>
  85. <point key="canvasLocation" x="138.40579710144928" y="122.54464285714285"/>
  86. </collectionViewCell>
  87. </objects>
  88. <resources>
  89. <systemColor name="systemBackgroundColor">
  90. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  91. </systemColor>
  92. </resources>
  93. </document>