HomeTeacherCell.xib 9.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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" 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="17125"/>
  7. <capability name="Safe area layout guides" minToolsVersion="9.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. <tableViewCell contentMode="scaleToFill" selectionStyle="none" indentationWidth="10" rowHeight="174" id="KGk-i7-Jjw" customClass="HomeTeacherCell">
  14. <rect key="frame" x="0.0" y="0.0" width="320" height="130"/>
  15. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  16. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
  17. <rect key="frame" x="0.0" y="0.0" width="320" height="130"/>
  18. <autoresizingMask key="autoresizingMask"/>
  19. <subviews>
  20. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="img_placeHolder" translatesAutoresizingMaskIntoConstraints="NO" id="TRr-1h-jmP">
  21. <rect key="frame" x="15" y="15" width="80" height="100"/>
  22. <constraints>
  23. <constraint firstAttribute="width" constant="80" id="7JE-xA-BfZ"/>
  24. <constraint firstAttribute="height" constant="100" id="S9Q-oc-GaV"/>
  25. </constraints>
  26. </imageView>
  27. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="李婉茹" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="dpR-D9-Tpp">
  28. <rect key="frame" x="110" y="15" width="52" height="21"/>
  29. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  30. <nil key="textColor"/>
  31. <nil key="highlightedColor"/>
  32. </label>
  33. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="全国著名特级教师,教授, 博士生导师" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="o1z-ap-61o">
  34. <rect key="frame" x="110" y="51" width="136" height="33.5"/>
  35. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  36. <color key="textColor" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/>
  37. <nil key="highlightedColor"/>
  38. </label>
  39. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="收藏量:1k" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="9Dx-Qy-2N4">
  40. <rect key="frame" x="110" y="99.5" width="62" height="15"/>
  41. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  42. <color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
  43. <nil key="highlightedColor"/>
  44. </label>
  45. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="BcD-9t-0sI">
  46. <rect key="frame" x="261" y="54" width="44" height="22"/>
  47. <constraints>
  48. <constraint firstAttribute="height" constant="22" id="dl2-PD-xMJ"/>
  49. <constraint firstAttribute="width" constant="44" id="ilI-d6-mZQ"/>
  50. </constraints>
  51. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  52. <state key="normal" title="已收藏"/>
  53. </button>
  54. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="k8h-rU-HaY">
  55. <rect key="frame" x="0.0" y="129.5" width="320" height="0.5"/>
  56. <color key="backgroundColor" red="0.89803921568627454" green="0.89803921568627454" blue="0.89803921568627454" alpha="1" colorSpace="calibratedRGB"/>
  57. <constraints>
  58. <constraint firstAttribute="height" constant="0.5" id="a3g-wW-etL"/>
  59. </constraints>
  60. </view>
  61. </subviews>
  62. <constraints>
  63. <constraint firstItem="k8h-rU-HaY" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" id="DFm-Kj-N5x"/>
  64. <constraint firstItem="BcD-9t-0sI" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="HAT-99-ttV"/>
  65. <constraint firstItem="o1z-ap-61o" firstAttribute="leading" secondItem="dpR-D9-Tpp" secondAttribute="leading" id="PU0-zo-Dww"/>
  66. <constraint firstAttribute="trailing" secondItem="k8h-rU-HaY" secondAttribute="trailing" id="RdM-lj-xaQ"/>
  67. <constraint firstItem="BcD-9t-0sI" firstAttribute="centerY" secondItem="TRr-1h-jmP" secondAttribute="centerY" id="S17-zS-NZ3"/>
  68. <constraint firstItem="o1z-ap-61o" firstAttribute="top" secondItem="dpR-D9-Tpp" secondAttribute="bottom" constant="15" id="Z6Q-0T-1VJ"/>
  69. <constraint firstAttribute="trailing" secondItem="BcD-9t-0sI" secondAttribute="trailing" constant="15" id="bfc-xe-dgF"/>
  70. <constraint firstItem="TRr-1h-jmP" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="15" id="duf-Lr-EEF"/>
  71. <constraint firstItem="BcD-9t-0sI" firstAttribute="leading" secondItem="o1z-ap-61o" secondAttribute="trailing" constant="15" id="fI3-Ss-dbs"/>
  72. <constraint firstItem="k8h-rU-HaY" firstAttribute="top" secondItem="TRr-1h-jmP" secondAttribute="bottom" constant="14.5" id="hhl-8n-R8u"/>
  73. <constraint firstItem="9Dx-Qy-2N4" firstAttribute="leading" secondItem="dpR-D9-Tpp" secondAttribute="leading" id="jGf-HM-X2U"/>
  74. <constraint firstItem="9Dx-Qy-2N4" firstAttribute="top" secondItem="o1z-ap-61o" secondAttribute="bottom" constant="15" id="kRY-bs-FDt"/>
  75. <constraint firstAttribute="bottom" secondItem="k8h-rU-HaY" secondAttribute="bottom" id="p4N-9J-kg7"/>
  76. <constraint firstItem="TRr-1h-jmP" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="15" id="q9P-2B-ej2"/>
  77. <constraint firstItem="dpR-D9-Tpp" firstAttribute="leading" secondItem="TRr-1h-jmP" secondAttribute="trailing" constant="15" id="sdO-hp-tV6"/>
  78. <constraint firstItem="dpR-D9-Tpp" firstAttribute="top" secondItem="TRr-1h-jmP" secondAttribute="top" id="tEQ-VH-ZH4"/>
  79. </constraints>
  80. </tableViewCellContentView>
  81. <viewLayoutGuide key="safeArea" id="aW0-zy-SZf"/>
  82. <connections>
  83. <outlet property="collectBtn" destination="BcD-9t-0sI" id="Yhq-Jc-tKb"/>
  84. <outlet property="countl" destination="9Dx-Qy-2N4" id="tSh-N8-puE"/>
  85. <outlet property="imagV" destination="TRr-1h-jmP" id="vCK-YS-hUj"/>
  86. <outlet property="lineV" destination="k8h-rU-HaY" id="HpM-Ha-beg"/>
  87. <outlet property="nameL" destination="dpR-D9-Tpp" id="if3-tZ-4Og"/>
  88. <outlet property="subTitleL" destination="o1z-ap-61o" id="I0t-7M-Ill"/>
  89. </connections>
  90. <point key="canvasLocation" x="137.68115942028987" y="194.19642857142856"/>
  91. </tableViewCell>
  92. </objects>
  93. <resources>
  94. <image name="img_placeHolder" width="800" height="800"/>
  95. </resources>
  96. </document>