HomeHotTalentView.xib 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  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="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. <view contentMode="scaleToFill" id="iN0-l3-epB" customClass="HomeHotTalentView">
  13. <rect key="frame" x="0.0" y="0.0" width="623" height="212"/>
  14. <autoresizingMask key="autoresizingMask"/>
  15. <subviews>
  16. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="推荐达人" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ocF-cI-geX">
  17. <rect key="frame" x="24" y="30" width="73.5" height="22"/>
  18. <constraints>
  19. <constraint firstAttribute="height" constant="22" id="cce-8F-ZTG"/>
  20. </constraints>
  21. <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="18"/>
  22. <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
  23. <nil key="highlightedColor"/>
  24. </label>
  25. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="TvN-a5-fF0">
  26. <rect key="frame" x="0.0" y="66" width="623" height="146"/>
  27. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  28. <constraints>
  29. <constraint firstAttribute="height" constant="146" id="Iwn-9Q-bda"/>
  30. </constraints>
  31. </view>
  32. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="home_left" translatesAutoresizingMaskIntoConstraints="NO" id="yk3-O1-fKs">
  33. <rect key="frame" x="14" y="32" width="4" height="18"/>
  34. <constraints>
  35. <constraint firstAttribute="height" constant="18" id="5GX-jt-Phz"/>
  36. <constraint firstAttribute="width" constant="4" id="vXT-S1-5L3"/>
  37. </constraints>
  38. </imageView>
  39. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="rZg-YL-a5F">
  40. <rect key="frame" x="564" y="32" width="45" height="18"/>
  41. <color key="backgroundColor" red="0.94901960780000005" green="0.94901960780000005" blue="0.94901960780000005" alpha="1" colorSpace="calibratedRGB"/>
  42. <constraints>
  43. <constraint firstAttribute="height" constant="18" id="OkI-Tj-OYy"/>
  44. </constraints>
  45. <userDefinedRuntimeAttributes>
  46. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  47. <real key="value" value="9"/>
  48. </userDefinedRuntimeAttribute>
  49. </userDefinedRuntimeAttributes>
  50. </view>
  51. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="更多" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="nhJ-zw-nWQ">
  52. <rect key="frame" x="570" y="34" width="25" height="14.5"/>
  53. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  54. <color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/>
  55. <nil key="highlightedColor"/>
  56. </label>
  57. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="home_more" translatesAutoresizingMaskIntoConstraints="NO" id="e4W-Jc-T1U">
  58. <rect key="frame" x="598" y="37" width="6" height="8"/>
  59. <constraints>
  60. <constraint firstAttribute="height" constant="8" id="9gb-VU-p9w"/>
  61. <constraint firstAttribute="width" constant="6" id="prd-cf-z4Y"/>
  62. </constraints>
  63. </imageView>
  64. <button opaque="NO" tag="1008" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="J76-uF-Ucm">
  65. <rect key="frame" x="570" y="26" width="34" height="30"/>
  66. <constraints>
  67. <constraint firstAttribute="height" constant="30" id="O0L-Nf-Gcm"/>
  68. </constraints>
  69. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="14"/>
  70. <state key="normal">
  71. <color key="titleColor" red="0.46666666670000001" green="0.46666666670000001" blue="0.46666666670000001" alpha="0.84705882349999995" colorSpace="calibratedRGB"/>
  72. </state>
  73. <connections>
  74. <action selector="moreTeacher:" destination="iN0-l3-epB" eventType="touchUpInside" id="5QB-8F-LjT"/>
  75. </connections>
  76. </button>
  77. </subviews>
  78. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  79. <constraints>
  80. <constraint firstItem="e4W-Jc-T1U" firstAttribute="centerY" secondItem="J76-uF-Ucm" secondAttribute="centerY" id="0hC-jK-jOh"/>
  81. <constraint firstItem="nhJ-zw-nWQ" firstAttribute="leading" secondItem="rZg-YL-a5F" secondAttribute="leading" constant="6" id="5iF-ks-RB3"/>
  82. <constraint firstItem="nhJ-zw-nWQ" firstAttribute="centerY" secondItem="rZg-YL-a5F" secondAttribute="centerY" id="6bw-19-XYy"/>
  83. <constraint firstItem="J76-uF-Ucm" firstAttribute="centerY" secondItem="rZg-YL-a5F" secondAttribute="centerY" id="AL1-ex-myd"/>
  84. <constraint firstItem="nhJ-zw-nWQ" firstAttribute="leading" secondItem="J76-uF-Ucm" secondAttribute="leading" id="ByY-tK-Azm"/>
  85. <constraint firstAttribute="trailing" secondItem="rZg-YL-a5F" secondAttribute="trailing" constant="14" id="CFC-AB-Tce"/>
  86. <constraint firstItem="rZg-YL-a5F" firstAttribute="centerY" secondItem="ocF-cI-geX" secondAttribute="centerY" id="Mvd-AC-E4n"/>
  87. <constraint firstItem="e4W-Jc-T1U" firstAttribute="trailing" secondItem="J76-uF-Ucm" secondAttribute="trailing" id="QCG-3U-FIq"/>
  88. <constraint firstItem="e4W-Jc-T1U" firstAttribute="trailing" secondItem="rZg-YL-a5F" secondAttribute="trailing" constant="-5" id="VTq-fy-AMd"/>
  89. <constraint firstItem="TvN-a5-fF0" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="c8p-em-0SR"/>
  90. <constraint firstItem="ocF-cI-geX" firstAttribute="centerY" secondItem="yk3-O1-fKs" secondAttribute="centerY" id="d7f-tY-UGC"/>
  91. <constraint firstItem="ocF-cI-geX" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" constant="30" id="ddX-0C-PSD"/>
  92. <constraint firstAttribute="trailing" secondItem="TvN-a5-fF0" secondAttribute="trailing" id="iPn-Om-Feh"/>
  93. <constraint firstItem="TvN-a5-fF0" firstAttribute="top" secondItem="ocF-cI-geX" secondAttribute="bottom" constant="14" id="qVZ-Bi-MOx"/>
  94. <constraint firstItem="yk3-O1-fKs" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="14" id="r3r-b1-RY9"/>
  95. <constraint firstItem="ocF-cI-geX" firstAttribute="leading" secondItem="yk3-O1-fKs" secondAttribute="trailing" constant="6" id="s7t-ve-29J"/>
  96. <constraint firstItem="e4W-Jc-T1U" firstAttribute="leading" secondItem="nhJ-zw-nWQ" secondAttribute="trailing" constant="3" id="ukh-iq-egl"/>
  97. </constraints>
  98. <nil key="simulatedTopBarMetrics"/>
  99. <nil key="simulatedBottomBarMetrics"/>
  100. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  101. <connections>
  102. <outlet property="talentContentView" destination="TvN-a5-fF0" id="yD2-CZ-Qhm"/>
  103. </connections>
  104. <point key="canvasLocation" x="63.04347826086957" y="-59.933035714285708"/>
  105. </view>
  106. </objects>
  107. <resources>
  108. <image name="home_left" width="4" height="12"/>
  109. <image name="home_more" width="6" height="8"/>
  110. </resources>
  111. </document>