ModelFansTableViewCell.xib 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14313.18" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
  3. <device id="retina4_7" orientation="portrait">
  4. <adaptation id="fullscreen"/>
  5. </device>
  6. <dependencies>
  7. <deployment identifier="iOS"/>
  8. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14283.14"/>
  9. <capability name="Safe area layout guides" minToolsVersion="9.0"/>
  10. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  11. </dependencies>
  12. <objects>
  13. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  14. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  15. <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" id="KGk-i7-Jjw" customClass="ModelFansTableViewCell">
  16. <rect key="frame" x="0.0" y="0.0" width="375" height="70"/>
  17. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  18. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
  19. <rect key="frame" x="0.0" y="0.0" width="375" height="69.5"/>
  20. <autoresizingMask key="autoresizingMask"/>
  21. <subviews>
  22. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="EUC-JV-vDn">
  23. <rect key="frame" x="20" y="5" width="335" height="60"/>
  24. <subviews>
  25. <view hidden="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="gdO-0w-z0V">
  26. <rect key="frame" x="284" y="21" width="36" height="18"/>
  27. <subviews>
  28. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="模特" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="uZ1-aX-roL">
  29. <rect key="frame" x="7.5" y="3" width="21" height="12"/>
  30. <fontDescription key="fontDescription" type="system" pointSize="10"/>
  31. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  32. <nil key="highlightedColor"/>
  33. </label>
  34. </subviews>
  35. <color key="backgroundColor" red="1" green="0.25098039220000001" blue="0.58431372550000005" alpha="1" colorSpace="calibratedRGB"/>
  36. <constraints>
  37. <constraint firstItem="uZ1-aX-roL" firstAttribute="centerX" secondItem="gdO-0w-z0V" secondAttribute="centerX" id="1VZ-zZ-cLz"/>
  38. <constraint firstItem="uZ1-aX-roL" firstAttribute="centerY" secondItem="gdO-0w-z0V" secondAttribute="centerY" id="6E0-nY-l4V"/>
  39. <constraint firstAttribute="height" constant="18" id="H60-6W-oH5"/>
  40. <constraint firstAttribute="width" constant="36" id="gwI-fP-YRZ"/>
  41. </constraints>
  42. <userDefinedRuntimeAttributes>
  43. <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
  44. <integer key="value" value="9"/>
  45. </userDefinedRuntimeAttribute>
  46. </userDefinedRuntimeAttributes>
  47. </view>
  48. <imageView contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="fTm-0Q-Q1X">
  49. <rect key="frame" x="15" y="12" width="36" height="36"/>
  50. <gestureRecognizers/>
  51. <constraints>
  52. <constraint firstAttribute="height" constant="36" id="acq-J3-yEc"/>
  53. <constraint firstAttribute="width" constant="36" id="s04-hi-SWn"/>
  54. </constraints>
  55. <connections>
  56. <outletCollection property="gestureRecognizers" destination="rYp-JK-TuH" appends="YES" id="ffG-gq-VLx"/>
  57. </connections>
  58. </imageView>
  59. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="zkj-yG-G5u">
  60. <rect key="frame" x="65" y="21.5" width="36" height="17"/>
  61. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="14"/>
  62. <nil key="textColor"/>
  63. <nil key="highlightedColor"/>
  64. </label>
  65. </subviews>
  66. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  67. <constraints>
  68. <constraint firstAttribute="trailing" secondItem="gdO-0w-z0V" secondAttribute="trailing" constant="15" id="6UT-tp-wCt"/>
  69. <constraint firstItem="zkj-yG-G5u" firstAttribute="leading" secondItem="fTm-0Q-Q1X" secondAttribute="trailing" constant="14" id="AoB-oY-bhe"/>
  70. <constraint firstItem="fTm-0Q-Q1X" firstAttribute="centerY" secondItem="EUC-JV-vDn" secondAttribute="centerY" id="EVG-ko-u5P"/>
  71. <constraint firstItem="fTm-0Q-Q1X" firstAttribute="leading" secondItem="EUC-JV-vDn" secondAttribute="leading" constant="15" id="UG3-qB-yq5"/>
  72. <constraint firstAttribute="height" constant="60" id="fTv-2K-t7r"/>
  73. <constraint firstItem="gdO-0w-z0V" firstAttribute="centerY" secondItem="EUC-JV-vDn" secondAttribute="centerY" id="tcM-3v-0Be"/>
  74. <constraint firstItem="zkj-yG-G5u" firstAttribute="centerY" secondItem="EUC-JV-vDn" secondAttribute="centerY" id="yED-pU-SuI"/>
  75. </constraints>
  76. <userDefinedRuntimeAttributes>
  77. <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
  78. <integer key="value" value="8"/>
  79. </userDefinedRuntimeAttribute>
  80. </userDefinedRuntimeAttributes>
  81. </view>
  82. </subviews>
  83. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  84. <constraints>
  85. <constraint firstAttribute="trailing" secondItem="EUC-JV-vDn" secondAttribute="trailing" constant="20" id="1cI-k3-mk1"/>
  86. <constraint firstItem="EUC-JV-vDn" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="20" id="HHF-tt-pIS"/>
  87. <constraint firstItem="EUC-JV-vDn" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="r8l-NO-snL"/>
  88. </constraints>
  89. <userDefinedRuntimeAttributes>
  90. <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
  91. <integer key="value" value="8"/>
  92. </userDefinedRuntimeAttribute>
  93. </userDefinedRuntimeAttributes>
  94. </tableViewCellContentView>
  95. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  96. <viewLayoutGuide key="safeArea" id="aW0-zy-SZf"/>
  97. <connections>
  98. <outlet property="avatar" destination="fTm-0Q-Q1X" id="9F5-9y-f8O"/>
  99. <outlet property="modelView" destination="gdO-0w-z0V" id="nEp-EH-saC"/>
  100. <outlet property="name" destination="zkj-yG-G5u" id="Oqb-4g-bt5"/>
  101. </connections>
  102. </tableViewCell>
  103. <tapGestureRecognizer id="rYp-JK-TuH">
  104. <connections>
  105. <action selector="tapAvatar:" destination="KGk-i7-Jjw" id="xp4-oH-E1r"/>
  106. </connections>
  107. </tapGestureRecognizer>
  108. </objects>
  109. </document>