YXFindCollectionViewCell.xib 7.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="22505" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
  3. <device id="retina6_12" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="22504"/>
  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. <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" id="gTV-IL-0wX" customClass="YXFindCollectionViewCell">
  15. <rect key="frame" x="0.0" y="0.0" width="299" height="395"/>
  16. <autoresizingMask key="autoresizingMask"/>
  17. <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
  18. <rect key="frame" x="0.0" y="0.0" width="299" height="395"/>
  19. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  20. <subviews>
  21. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="DtV-uQ-3m9">
  22. <rect key="frame" x="0.0" y="0.0" width="299" height="395"/>
  23. <subviews>
  24. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="¥ 299.99" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="RKf-PN-NIT">
  25. <rect key="frame" x="5" y="336" width="289" height="59"/>
  26. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  27. <color key="textColor" red="0.89803921568627454" green="0.0" blue="0.13725490196078433" alpha="1" colorSpace="calibratedRGB"/>
  28. <nil key="highlightedColor"/>
  29. </label>
  30. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="Ty1-At-lql">
  31. <rect key="frame" x="0.0" y="-8" width="299" height="299"/>
  32. <constraints>
  33. <constraint firstAttribute="width" secondItem="Ty1-At-lql" secondAttribute="height" multiplier="1:1" id="ic5-ln-HS0"/>
  34. </constraints>
  35. <userDefinedRuntimeAttributes>
  36. <userDefinedRuntimeAttribute type="string" keyPath="layer.cornerRadius" value="8"/>
  37. </userDefinedRuntimeAttributes>
  38. </imageView>
  39. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="7mX-D2-mlk">
  40. <rect key="frame" x="5" y="291" width="289" height="40"/>
  41. <constraints>
  42. <constraint firstAttribute="height" constant="40" id="G2A-L9-ebE"/>
  43. </constraints>
  44. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  45. <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  46. <nil key="highlightedColor"/>
  47. </label>
  48. </subviews>
  49. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  50. <constraints>
  51. <constraint firstItem="7mX-D2-mlk" firstAttribute="top" secondItem="Ty1-At-lql" secondAttribute="bottom" id="4ZT-Vg-FKV"/>
  52. <constraint firstItem="7mX-D2-mlk" firstAttribute="leading" secondItem="DtV-uQ-3m9" secondAttribute="leading" constant="5" id="IeN-Vq-fUJ"/>
  53. <constraint firstItem="Ty1-At-lql" firstAttribute="leading" secondItem="DtV-uQ-3m9" secondAttribute="leading" id="KKX-u8-Vg0"/>
  54. <constraint firstItem="RKf-PN-NIT" firstAttribute="top" secondItem="7mX-D2-mlk" secondAttribute="bottom" constant="5" id="UcP-4B-Cwb"/>
  55. <constraint firstAttribute="bottom" secondItem="RKf-PN-NIT" secondAttribute="bottom" id="kcz-GG-jBl"/>
  56. <constraint firstItem="Ty1-At-lql" firstAttribute="top" secondItem="DtV-uQ-3m9" secondAttribute="top" constant="-8" id="oE4-UW-SQX"/>
  57. <constraint firstAttribute="trailing" secondItem="RKf-PN-NIT" secondAttribute="trailing" constant="5" id="qc1-Jc-tGw"/>
  58. <constraint firstItem="RKf-PN-NIT" firstAttribute="leading" secondItem="DtV-uQ-3m9" secondAttribute="leading" constant="5" id="tVZ-Ag-sBA"/>
  59. <constraint firstAttribute="trailing" secondItem="Ty1-At-lql" secondAttribute="trailing" id="us1-qY-pzf"/>
  60. <constraint firstAttribute="trailing" secondItem="7mX-D2-mlk" secondAttribute="trailing" constant="5" id="zgy-wP-DBy"/>
  61. </constraints>
  62. <userDefinedRuntimeAttributes>
  63. <userDefinedRuntimeAttribute type="string" keyPath="layer.cornerRadius" value="8"/>
  64. </userDefinedRuntimeAttributes>
  65. </view>
  66. </subviews>
  67. </view>
  68. <viewLayoutGuide key="safeArea" id="SEy-5g-ep8"/>
  69. <constraints>
  70. <constraint firstAttribute="bottom" secondItem="DtV-uQ-3m9" secondAttribute="bottom" id="1u2-9a-VYm"/>
  71. <constraint firstAttribute="trailing" secondItem="DtV-uQ-3m9" secondAttribute="trailing" id="Qp7-co-cie"/>
  72. <constraint firstItem="DtV-uQ-3m9" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="Rfq-7m-sPQ"/>
  73. <constraint firstItem="DtV-uQ-3m9" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" id="vgN-if-1UL"/>
  74. </constraints>
  75. <size key="customSize" width="299" height="395"/>
  76. <connections>
  77. <outlet property="picImageView" destination="Ty1-At-lql" id="iO3-Gh-pQU"/>
  78. <outlet property="priceLabel" destination="RKf-PN-NIT" id="Vn2-Jr-Ps5"/>
  79. <outlet property="titleLabel" destination="7mX-D2-mlk" id="d0H-Sq-ZNR"/>
  80. </connections>
  81. <point key="canvasLocation" x="246.56488549618319" y="160.21126760563382"/>
  82. </collectionViewCell>
  83. </objects>
  84. <resources>
  85. <systemColor name="systemBackgroundColor">
  86. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  87. </systemColor>
  88. </resources>
  89. </document>