SearchHistoryCell.xib 7.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="21701" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
  3. <device id="retina4_7" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21679"/>
  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. <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="50" id="KGk-i7-Jjw" customClass="SearchHistoryCell">
  13. <rect key="frame" x="0.0" y="0.0" width="298" height="41"/>
  14. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  15. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
  16. <rect key="frame" x="0.0" y="0.0" width="298" height="41"/>
  17. <autoresizingMask key="autoresizingMask"/>
  18. <subviews>
  19. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="#" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Myn-MB-2Ov" userLabel="#">
  20. <rect key="frame" x="16" y="13.5" width="14" height="14"/>
  21. <constraints>
  22. <constraint firstAttribute="width" secondItem="Myn-MB-2Ov" secondAttribute="height" multiplier="1:1" id="4lv-lh-kyb"/>
  23. <constraint firstAttribute="width" constant="14" id="JcI-MQ-63W"/>
  24. </constraints>
  25. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  26. <color key="textColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  27. <nil key="highlightedColor"/>
  28. </label>
  29. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="PaC-hC-HTD" userLabel="内容">
  30. <rect key="frame" x="32" y="10.5" width="39.5" height="20"/>
  31. <constraints>
  32. <constraint firstAttribute="height" constant="20" id="DeZ-6a-oZa"/>
  33. </constraints>
  34. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  35. <color key="textColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  36. <nil key="highlightedColor"/>
  37. </label>
  38. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="JBm-1Q-nRY" userLabel="删除">
  39. <rect key="frame" x="253" y="5.5" width="30" height="30"/>
  40. <constraints>
  41. <constraint firstAttribute="width" secondItem="JBm-1Q-nRY" secondAttribute="height" multiplier="1:1" id="N7D-Zf-wu6"/>
  42. <constraint firstAttribute="width" constant="30" id="Ulv-36-1dg"/>
  43. </constraints>
  44. <inset key="contentEdgeInsets" minX="8" minY="8" maxX="8" maxY="8"/>
  45. <state key="normal" image="gray_close.png"/>
  46. <connections>
  47. <action selector="clickDelBtn:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="mEl-2y-ANg"/>
  48. </connections>
  49. </button>
  50. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="RBS-vK-NLV" userLabel="line">
  51. <rect key="frame" x="15" y="40" width="268" height="0.5"/>
  52. <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
  53. <constraints>
  54. <constraint firstAttribute="height" constant="0.5" id="Lzd-vs-7ag"/>
  55. </constraints>
  56. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  57. <nil key="textColor"/>
  58. <nil key="highlightedColor"/>
  59. </label>
  60. </subviews>
  61. <constraints>
  62. <constraint firstItem="PaC-hC-HTD" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="D8r-Ut-lBP"/>
  63. <constraint firstItem="JBm-1Q-nRY" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="H6z-uK-HKn"/>
  64. <constraint firstAttribute="bottom" secondItem="RBS-vK-NLV" secondAttribute="bottom" constant="0.5" id="IgG-qK-a30"/>
  65. <constraint firstItem="Myn-MB-2Ov" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="16" id="To6-f6-OHk"/>
  66. <constraint firstItem="PaC-hC-HTD" firstAttribute="leading" secondItem="Myn-MB-2Ov" secondAttribute="trailing" constant="2" id="bqR-Ld-x9u"/>
  67. <constraint firstItem="RBS-vK-NLV" firstAttribute="width" secondItem="H2p-sc-9uM" secondAttribute="width" constant="-30" id="iJX-A6-hVg"/>
  68. <constraint firstItem="RBS-vK-NLV" firstAttribute="centerX" secondItem="H2p-sc-9uM" secondAttribute="centerX" id="iKE-JL-nOB"/>
  69. <constraint firstAttribute="trailing" secondItem="JBm-1Q-nRY" secondAttribute="trailing" constant="15" id="lNA-Q2-3G6"/>
  70. <constraint firstItem="Myn-MB-2Ov" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="wTH-xD-PBB"/>
  71. </constraints>
  72. </tableViewCellContentView>
  73. <connections>
  74. <outlet property="contentL" destination="PaC-hC-HTD" id="9bc-81-NQ3"/>
  75. </connections>
  76. <point key="canvasLocation" x="-96" y="-103.89805097451276"/>
  77. </tableViewCell>
  78. </objects>
  79. <resources>
  80. <image name="gray_close.png" width="20" height="20"/>
  81. </resources>
  82. </document>