MGShopTableCell.xib 6.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="15705" 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="15706"/>
  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="default" indentationWidth="10" rowHeight="93" id="KGk-i7-Jjw" customClass="MGShopTableCell">
  14. <rect key="frame" x="0.0" y="0.0" width="393" height="93"/>
  15. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  16. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" ambiguous="YES" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
  17. <rect key="frame" x="0.0" y="0.0" width="393" height="93"/>
  18. <autoresizingMask key="autoresizingMask"/>
  19. <subviews>
  20. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="d73-Fm-HFs">
  21. <rect key="frame" x="10" y="10" width="60" height="60"/>
  22. <constraints>
  23. <constraint firstAttribute="height" constant="60" id="6o0-NM-B1i"/>
  24. <constraint firstAttribute="width" constant="60" id="UTg-Pi-cEt"/>
  25. </constraints>
  26. </imageView>
  27. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="0e3-Ax-u14">
  28. <rect key="frame" x="85" y="20" width="228" height="19.5"/>
  29. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  30. <nil key="textColor"/>
  31. <nil key="highlightedColor"/>
  32. </label>
  33. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="RYX-ec-w2o">
  34. <rect key="frame" x="85" y="52" width="37.5" height="18"/>
  35. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  36. <color key="textColor" red="0.68627450980000004" green="0.074509803920000006" blue="0.15686274510000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  37. <nil key="highlightedColor"/>
  38. </label>
  39. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="mA8-9J-gYS">
  40. <rect key="frame" x="328" y="25" width="50" height="30"/>
  41. <constraints>
  42. <constraint firstAttribute="height" constant="30" id="Bhj-iX-iZ9"/>
  43. <constraint firstAttribute="width" constant="50" id="VGk-vP-j4V"/>
  44. </constraints>
  45. <state key="normal" title="购买">
  46. <color key="titleColor" red="0.68627450980392157" green="0.074509803921568626" blue="0.15686274509803921" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  47. </state>
  48. <connections>
  49. <action selector="clickShopBtn:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="Y95-ag-Jdq"/>
  50. </connections>
  51. </button>
  52. </subviews>
  53. <constraints>
  54. <constraint firstItem="d73-Fm-HFs" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="10" id="APs-jD-i0j"/>
  55. <constraint firstItem="d73-Fm-HFs" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="10" id="JEu-4R-DBH"/>
  56. <constraint firstItem="mA8-9J-gYS" firstAttribute="centerY" secondItem="d73-Fm-HFs" secondAttribute="centerY" id="PYI-MI-JMq"/>
  57. <constraint firstItem="RYX-ec-w2o" firstAttribute="bottom" secondItem="d73-Fm-HFs" secondAttribute="bottom" id="crU-HT-ptW"/>
  58. <constraint firstItem="d73-Fm-HFs" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="eQG-L7-Aur"/>
  59. <constraint firstItem="0e3-Ax-u14" firstAttribute="leading" secondItem="d73-Fm-HFs" secondAttribute="trailing" constant="15" id="fJW-RJ-o5M"/>
  60. <constraint firstItem="0e3-Ax-u14" firstAttribute="top" secondItem="d73-Fm-HFs" secondAttribute="top" constant="10" id="kzA-79-QaC"/>
  61. <constraint firstItem="RYX-ec-w2o" firstAttribute="leading" secondItem="0e3-Ax-u14" secondAttribute="leading" id="nir-Rc-Ree"/>
  62. <constraint firstAttribute="trailing" secondItem="mA8-9J-gYS" secondAttribute="trailing" constant="15" id="oDg-nz-y6I"/>
  63. <constraint firstItem="mA8-9J-gYS" firstAttribute="leading" secondItem="0e3-Ax-u14" secondAttribute="trailing" constant="15" id="vgX-O3-rHY"/>
  64. </constraints>
  65. </tableViewCellContentView>
  66. <viewLayoutGuide key="safeArea" id="aW0-zy-SZf"/>
  67. <connections>
  68. <outlet property="shopBtn" destination="mA8-9J-gYS" id="Y4u-ZF-ZVd"/>
  69. <outlet property="shopImgView" destination="d73-Fm-HFs" id="HOJ-sy-5n9"/>
  70. <outlet property="shopNameL" destination="0e3-Ax-u14" id="pnh-VR-Lzf"/>
  71. <outlet property="shopNumL" destination="RYX-ec-w2o" id="oAF-Iu-4bx"/>
  72. </connections>
  73. <point key="canvasLocation" x="21" y="103"/>
  74. </tableViewCell>
  75. </objects>
  76. </document>