YXRoomItemTableViewCell.xib 6.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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="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="72" id="KGk-i7-Jjw" customClass="YXRoomItemTableViewCell">
  15. <rect key="frame" x="0.0" y="0.0" width="340" height="72"/>
  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="340" height="72"/>
  19. <autoresizingMask key="autoresizingMask"/>
  20. <subviews>
  21. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="YXv-nd-ARW">
  22. <rect key="frame" x="20" y="5" width="300" height="62"/>
  23. <subviews>
  24. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="home_device_unselected" translatesAutoresizingMaskIntoConstraints="NO" id="Xne-5j-NCN">
  25. <rect key="frame" x="272" y="22" width="18" height="18"/>
  26. <constraints>
  27. <constraint firstAttribute="width" constant="18" id="Ahj-uA-CRp"/>
  28. <constraint firstAttribute="height" constant="18" id="JwA-n7-w0q"/>
  29. </constraints>
  30. </imageView>
  31. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="客厅" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="9eR-DR-I6V">
  32. <rect key="frame" x="20" y="5" width="242" height="52"/>
  33. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  34. <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
  35. <nil key="highlightedColor"/>
  36. </label>
  37. </subviews>
  38. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  39. <constraints>
  40. <constraint firstItem="9eR-DR-I6V" firstAttribute="leading" secondItem="YXv-nd-ARW" secondAttribute="leading" constant="20" id="9Ob-uQ-Ai6"/>
  41. <constraint firstItem="Xne-5j-NCN" firstAttribute="centerY" secondItem="YXv-nd-ARW" secondAttribute="centerY" id="9uu-5d-r6t"/>
  42. <constraint firstItem="Xne-5j-NCN" firstAttribute="leading" secondItem="9eR-DR-I6V" secondAttribute="trailing" constant="10" id="BeS-0P-5he"/>
  43. <constraint firstItem="9eR-DR-I6V" firstAttribute="top" secondItem="YXv-nd-ARW" secondAttribute="top" constant="5" id="WJu-Nc-ZGz"/>
  44. <constraint firstAttribute="trailing" secondItem="Xne-5j-NCN" secondAttribute="trailing" constant="10" id="XuT-7u-n67"/>
  45. <constraint firstAttribute="bottom" secondItem="9eR-DR-I6V" secondAttribute="bottom" constant="5" id="vqY-WD-S3Y"/>
  46. </constraints>
  47. <userDefinedRuntimeAttributes>
  48. <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
  49. <integer key="value" value="5"/>
  50. </userDefinedRuntimeAttribute>
  51. </userDefinedRuntimeAttributes>
  52. </view>
  53. </subviews>
  54. <color key="backgroundColor" red="0.97647058823529409" green="0.97647058823529409" blue="0.97647058823529409" alpha="1" colorSpace="calibratedRGB"/>
  55. <constraints>
  56. <constraint firstItem="YXv-nd-ARW" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="20" id="25r-pc-Pdz"/>
  57. <constraint firstAttribute="trailing" secondItem="YXv-nd-ARW" secondAttribute="trailing" constant="20" id="pw9-92-HDF"/>
  58. <constraint firstItem="YXv-nd-ARW" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="5" id="rQH-rr-NVp"/>
  59. <constraint firstAttribute="bottom" secondItem="YXv-nd-ARW" secondAttribute="bottom" constant="5" id="zp0-Mv-uHr"/>
  60. </constraints>
  61. </tableViewCellContentView>
  62. <viewLayoutGuide key="safeArea" id="aW0-zy-SZf"/>
  63. <connections>
  64. <outlet property="nameLabel" destination="9eR-DR-I6V" id="He5-nN-sUn"/>
  65. <outlet property="selectedImgView" destination="Xne-5j-NCN" id="bTr-Bh-yMD"/>
  66. </connections>
  67. <point key="canvasLocation" x="145.03816793893128" y="-2.8169014084507045"/>
  68. </tableViewCell>
  69. </objects>
  70. <resources>
  71. <image name="home_device_unselected" width="18" height="18"/>
  72. <systemColor name="systemBackgroundColor">
  73. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  74. </systemColor>
  75. </resources>
  76. </document>