MyListTableViewCell.xib 8.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="32700.99.1234" 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="22685"/>
  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="116" id="KGk-i7-Jjw" customClass="MyListTableViewCell">
  14. <rect key="frame" x="0.0" y="0.0" width="373" height="116"/>
  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="373" height="116"/>
  18. <autoresizingMask key="autoresizingMask"/>
  19. <subviews>
  20. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="5pk-GR-wfi">
  21. <rect key="frame" x="15" y="0.0" width="343" height="116"/>
  22. <subviews>
  23. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="home_right_arrow" translatesAutoresizingMaskIntoConstraints="NO" id="j6j-Ov-htZ">
  24. <rect key="frame" x="315" y="49" width="18" height="18"/>
  25. <constraints>
  26. <constraint firstAttribute="width" constant="18" id="Rb8-Qb-dx3"/>
  27. <constraint firstAttribute="height" constant="18" id="Y9T-ot-JnR"/>
  28. </constraints>
  29. </imageView>
  30. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="my_device" translatesAutoresizingMaskIntoConstraints="NO" id="Ofh-3d-mDV">
  31. <rect key="frame" x="15" y="49" width="18" height="18"/>
  32. <constraints>
  33. <constraint firstAttribute="height" constant="18" id="SGL-h2-Azc"/>
  34. <constraint firstAttribute="width" constant="18" id="tCr-dy-hZa"/>
  35. </constraints>
  36. </imageView>
  37. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="客厅" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="S0X-4I-ZT1">
  38. <rect key="frame" x="43" y="0.0" width="150" height="116"/>
  39. <constraints>
  40. <constraint firstAttribute="width" constant="150" id="rs1-qF-d5g"/>
  41. </constraints>
  42. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="15"/>
  43. <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
  44. <nil key="highlightedColor"/>
  45. </label>
  46. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="BjS-TU-C9R">
  47. <rect key="frame" x="15" y="115" width="313" height="1"/>
  48. <color key="backgroundColor" red="0.90196078431372551" green="0.90196078431372551" blue="0.90196078431372551" alpha="1" colorSpace="calibratedRGB"/>
  49. <constraints>
  50. <constraint firstAttribute="height" constant="1" id="LRI-3k-mzq"/>
  51. </constraints>
  52. </view>
  53. </subviews>
  54. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  55. <constraints>
  56. <constraint firstAttribute="trailing" secondItem="BjS-TU-C9R" secondAttribute="trailing" constant="15" id="85F-cL-li2"/>
  57. <constraint firstAttribute="bottom" secondItem="S0X-4I-ZT1" secondAttribute="bottom" id="Oji-vm-rQY"/>
  58. <constraint firstAttribute="trailing" secondItem="j6j-Ov-htZ" secondAttribute="trailing" constant="10" id="PGV-l8-2VH"/>
  59. <constraint firstItem="Ofh-3d-mDV" firstAttribute="centerY" secondItem="5pk-GR-wfi" secondAttribute="centerY" id="R6B-2Q-5bn"/>
  60. <constraint firstItem="BjS-TU-C9R" firstAttribute="leading" secondItem="5pk-GR-wfi" secondAttribute="leading" constant="15" id="RBg-ca-eW5"/>
  61. <constraint firstItem="S0X-4I-ZT1" firstAttribute="top" secondItem="5pk-GR-wfi" secondAttribute="top" id="WJ0-Fv-EyS"/>
  62. <constraint firstItem="Ofh-3d-mDV" firstAttribute="leading" secondItem="5pk-GR-wfi" secondAttribute="leading" constant="15" id="Wk3-PE-iYR"/>
  63. <constraint firstItem="S0X-4I-ZT1" firstAttribute="leading" secondItem="Ofh-3d-mDV" secondAttribute="trailing" constant="10" id="Yyz-bx-MXx"/>
  64. <constraint firstItem="j6j-Ov-htZ" firstAttribute="centerY" secondItem="5pk-GR-wfi" secondAttribute="centerY" id="h6g-2c-j2E"/>
  65. <constraint firstAttribute="bottom" secondItem="BjS-TU-C9R" secondAttribute="bottom" id="hrR-bv-paD"/>
  66. </constraints>
  67. <userDefinedRuntimeAttributes>
  68. <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
  69. <integer key="value" value="5"/>
  70. </userDefinedRuntimeAttribute>
  71. </userDefinedRuntimeAttributes>
  72. </view>
  73. </subviews>
  74. <color key="backgroundColor" red="0.94901960784313721" green="0.96078431372549022" blue="0.98039215686274506" alpha="0.0" colorSpace="calibratedRGB"/>
  75. <constraints>
  76. <constraint firstItem="5pk-GR-wfi" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="15" id="MNx-Wr-XbM"/>
  77. <constraint firstAttribute="bottom" secondItem="5pk-GR-wfi" secondAttribute="bottom" id="R7U-gt-IhC"/>
  78. <constraint firstAttribute="trailing" secondItem="5pk-GR-wfi" secondAttribute="trailing" constant="15" id="pdb-iQ-tfC"/>
  79. <constraint firstItem="5pk-GR-wfi" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" id="tBU-bW-dgX"/>
  80. </constraints>
  81. </tableViewCellContentView>
  82. <viewLayoutGuide key="safeArea" id="aW0-zy-SZf"/>
  83. <color key="backgroundColor" red="0.94901960784313721" green="0.96078431372549022" blue="0.98039215686274506" alpha="0.0" colorSpace="calibratedRGB"/>
  84. <connections>
  85. <outlet property="iconImgView" destination="Ofh-3d-mDV" id="Frc-eZ-QRU"/>
  86. <outlet property="titleLabel" destination="S0X-4I-ZT1" id="V6X-A3-Rsf"/>
  87. </connections>
  88. <point key="canvasLocation" x="179.38931297709922" y="45.070422535211272"/>
  89. </tableViewCell>
  90. </objects>
  91. <resources>
  92. <image name="home_right_arrow" width="8.6666669845581055" height="14"/>
  93. <image name="my_device" width="18" height="13"/>
  94. </resources>
  95. </document>