YXSetRoomTableViewCell.xib 6.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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. <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="89" id="KGk-i7-Jjw" customClass="YXSetRoomTableViewCell">
  15. <rect key="frame" x="0.0" y="0.0" width="347" height="89"/>
  16. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  17. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
  18. <rect key="frame" x="0.0" y="0.0" width="347" height="89"/>
  19. <autoresizingMask key="autoresizingMask"/>
  20. <subviews>
  21. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="cQh-oD-YaF">
  22. <rect key="frame" x="20" y="5" width="307" height="79"/>
  23. <subviews>
  24. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="客厅" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="NsZ-a7-Rf5">
  25. <rect key="frame" x="60" y="5" width="150" height="69"/>
  26. <constraints>
  27. <constraint firstAttribute="width" constant="150" id="8kV-c2-w4t"/>
  28. </constraints>
  29. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  30. <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
  31. <nil key="highlightedColor"/>
  32. </label>
  33. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="home_device_1" translatesAutoresizingMaskIntoConstraints="NO" id="SxV-RF-kSV">
  34. <rect key="frame" x="10" y="19.666666666666671" width="40" height="40"/>
  35. <constraints>
  36. <constraint firstAttribute="width" constant="40" id="HAB-yt-Shq"/>
  37. <constraint firstAttribute="height" constant="40" id="aCh-US-Bro"/>
  38. </constraints>
  39. </imageView>
  40. </subviews>
  41. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  42. <constraints>
  43. <constraint firstItem="NsZ-a7-Rf5" firstAttribute="top" secondItem="cQh-oD-YaF" secondAttribute="top" constant="5" id="HSZ-wF-tZ9"/>
  44. <constraint firstAttribute="bottom" secondItem="NsZ-a7-Rf5" secondAttribute="bottom" constant="5" id="UbG-V4-Z60"/>
  45. <constraint firstItem="NsZ-a7-Rf5" firstAttribute="leading" secondItem="SxV-RF-kSV" secondAttribute="trailing" constant="10" id="mtb-0G-jQC"/>
  46. <constraint firstItem="SxV-RF-kSV" firstAttribute="leading" secondItem="cQh-oD-YaF" secondAttribute="leading" constant="10" id="rPV-br-7li"/>
  47. <constraint firstItem="SxV-RF-kSV" firstAttribute="centerY" secondItem="cQh-oD-YaF" secondAttribute="centerY" id="xN3-4z-8lp"/>
  48. </constraints>
  49. <userDefinedRuntimeAttributes>
  50. <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
  51. <integer key="value" value="5"/>
  52. </userDefinedRuntimeAttribute>
  53. </userDefinedRuntimeAttributes>
  54. </view>
  55. </subviews>
  56. <constraints>
  57. <constraint firstItem="cQh-oD-YaF" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="5" id="6Fg-yg-c5K"/>
  58. <constraint firstAttribute="bottom" secondItem="cQh-oD-YaF" secondAttribute="bottom" constant="5" id="Rov-oZ-KAP"/>
  59. <constraint firstItem="cQh-oD-YaF" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="20" id="ogW-8M-Hon"/>
  60. <constraint firstAttribute="trailing" secondItem="cQh-oD-YaF" secondAttribute="trailing" constant="20" id="pPc-Hq-xHq"/>
  61. </constraints>
  62. </tableViewCellContentView>
  63. <viewLayoutGuide key="safeArea" id="aW0-zy-SZf"/>
  64. <connections>
  65. <outlet property="picImageView" destination="SxV-RF-kSV" id="jY5-au-IPf"/>
  66. <outlet property="titleLabel" destination="NsZ-a7-Rf5" id="Z6X-ic-eNn"/>
  67. </connections>
  68. <point key="canvasLocation" x="159.54198473282443" y="35.563380281690144"/>
  69. </tableViewCell>
  70. </objects>
  71. <resources>
  72. <image name="home_device_1" width="33.333332061767578" height="33.333332061767578"/>
  73. <systemColor name="systemBackgroundColor">
  74. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  75. </systemColor>
  76. </resources>
  77. </document>