IHAQNormalCell.xib 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="15505" 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="15510"/>
  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. <customFonts key="customFonts">
  11. <array key="Alibaba-PuHuiTi-Heavy.otf">
  12. <string>AlibabaPuHuiTiH</string>
  13. </array>
  14. <array key="Alibaba-PuHuiTi-Medium.otf">
  15. <string>AlibabaPuHuiTiM</string>
  16. </array>
  17. <array key="PingFangSC Heavy.ttf">
  18. <string>PingFang-SC-Heavy</string>
  19. </array>
  20. </customFonts>
  21. <objects>
  22. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  23. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  24. <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="107" id="KGk-i7-Jjw" customClass="IHAQNormalCell" customModule="Inhealth" customModuleProvider="target">
  25. <rect key="frame" x="0.0" y="0.0" width="313" height="107"/>
  26. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  27. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
  28. <rect key="frame" x="0.0" y="0.0" width="313" height="107"/>
  29. <autoresizingMask key="autoresizingMask"/>
  30. <subviews>
  31. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="83" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="deY-vf-Zbh">
  32. <rect key="frame" x="15" y="12" width="50" height="50"/>
  33. <constraints>
  34. <constraint firstAttribute="width" constant="50" id="0Yq-fz-UUG"/>
  35. <constraint firstAttribute="height" constant="50" id="Cq3-Br-xPB"/>
  36. </constraints>
  37. <fontDescription key="fontDescription" name="AlibabaPuHuiTiM" family="Alibaba PuHuiTi" pointSize="20"/>
  38. <color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  39. <nil key="highlightedColor"/>
  40. <userDefinedRuntimeAttributes>
  41. <userDefinedRuntimeAttribute type="color" keyPath="borderColor">
  42. <color key="value" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  43. </userDefinedRuntimeAttribute>
  44. <userDefinedRuntimeAttribute type="number" keyPath="borderWidth">
  45. <real key="value" value="2"/>
  46. </userDefinedRuntimeAttribute>
  47. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  48. <real key="value" value="25"/>
  49. </userDefinedRuntimeAttribute>
  50. </userDefinedRuntimeAttributes>
  51. </label>
  52. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="RM 106 No.6 building 2" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="GOB-uL-MBu">
  53. <rect key="frame" x="80" y="15" width="218" height="21"/>
  54. <constraints>
  55. <constraint firstAttribute="height" constant="21" id="Rv5-SO-io5"/>
  56. </constraints>
  57. <fontDescription key="fontDescription" name="AlibabaPuHuiTiH" family="Alibaba PuHuiTi" pointSize="17"/>
  58. <color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  59. <nil key="highlightedColor"/>
  60. </label>
  61. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Average air quality | " textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="RlK-l9-ISD">
  62. <rect key="frame" x="80" y="39" width="137.5" height="20"/>
  63. <constraints>
  64. <constraint firstAttribute="width" constant="137.5" id="GmW-tr-1GU"/>
  65. </constraints>
  66. <fontDescription key="fontDescription" name="PingFang-SC-Heavy" family="PingFang SC" pointSize="14"/>
  67. <color key="textColor" red="1" green="1" blue="1" alpha="0.80000000000000004" colorSpace="custom" customColorSpace="sRGB"/>
  68. <nil key="highlightedColor"/>
  69. </label>
  70. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Good" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="s83-TG-nf3">
  71. <rect key="frame" x="227.5" y="39" width="36" height="20"/>
  72. <fontDescription key="fontDescription" name="PingFang-SC-Heavy" family="PingFang SC" pointSize="14"/>
  73. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  74. <nil key="highlightedColor"/>
  75. </label>
  76. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="3DV-OO-1X2">
  77. <rect key="frame" x="0.0" y="75" width="313" height="32"/>
  78. <subviews>
  79. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Air Purifiers" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="rDi-OB-dkd">
  80. <rect key="frame" x="15" y="6" width="79" height="20"/>
  81. <fontDescription key="fontDescription" name="PingFang-SC-Heavy" family="PingFang SC" pointSize="14"/>
  82. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  83. <nil key="highlightedColor"/>
  84. </label>
  85. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="TVq-o0-x60" customClass="TKExchangeSwitch" customModule="TKSwitcherCollection">
  86. <rect key="frame" x="261" y="6" width="36" height="20"/>
  87. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  88. <constraints>
  89. <constraint firstAttribute="height" constant="20" id="0hs-jn-2QI"/>
  90. <constraint firstAttribute="width" constant="36" id="n1g-NF-3c1"/>
  91. </constraints>
  92. </view>
  93. </subviews>
  94. <color key="backgroundColor" white="1" alpha="0.20000000000000001" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  95. <constraints>
  96. <constraint firstAttribute="height" constant="32" id="0Pl-Mc-Cma"/>
  97. <constraint firstItem="rDi-OB-dkd" firstAttribute="centerY" secondItem="3DV-OO-1X2" secondAttribute="centerY" id="6gc-vP-eeZ"/>
  98. <constraint firstItem="rDi-OB-dkd" firstAttribute="leading" secondItem="3DV-OO-1X2" secondAttribute="leading" constant="15" id="7bA-rl-jHp"/>
  99. <constraint firstItem="TVq-o0-x60" firstAttribute="centerY" secondItem="3DV-OO-1X2" secondAttribute="centerY" id="bXX-GQ-Uxh"/>
  100. <constraint firstAttribute="trailing" secondItem="TVq-o0-x60" secondAttribute="trailing" constant="16" id="ucA-gE-9hj"/>
  101. </constraints>
  102. </view>
  103. </subviews>
  104. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  105. <constraints>
  106. <constraint firstItem="RlK-l9-ISD" firstAttribute="top" secondItem="GOB-uL-MBu" secondAttribute="bottom" constant="3" id="Bvl-13-8Pb"/>
  107. <constraint firstItem="deY-vf-Zbh" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="15" id="D38-bT-56B"/>
  108. <constraint firstItem="GOB-uL-MBu" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="15" id="Gll-z9-UjA"/>
  109. <constraint firstItem="RlK-l9-ISD" firstAttribute="leading" secondItem="deY-vf-Zbh" secondAttribute="trailing" constant="15" id="H7l-U8-MQV"/>
  110. <constraint firstItem="3DV-OO-1X2" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" id="Pdj-na-RBt"/>
  111. <constraint firstItem="s83-TG-nf3" firstAttribute="top" secondItem="GOB-uL-MBu" secondAttribute="bottom" constant="3" id="SOa-rK-Dg5"/>
  112. <constraint firstAttribute="bottom" secondItem="3DV-OO-1X2" secondAttribute="bottom" id="Zy0-bn-Vcm"/>
  113. <constraint firstItem="s83-TG-nf3" firstAttribute="leading" secondItem="RlK-l9-ISD" secondAttribute="trailing" constant="10" id="f1g-db-W8R"/>
  114. <constraint firstAttribute="trailing" secondItem="GOB-uL-MBu" secondAttribute="trailing" constant="15" id="nlO-g7-aGK"/>
  115. <constraint firstAttribute="trailing" secondItem="3DV-OO-1X2" secondAttribute="trailing" id="qbv-8S-Yb6"/>
  116. <constraint firstItem="deY-vf-Zbh" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="12" id="s5J-x0-d2P"/>
  117. <constraint firstItem="GOB-uL-MBu" firstAttribute="leading" secondItem="deY-vf-Zbh" secondAttribute="trailing" constant="15" id="zfa-nO-mLU"/>
  118. </constraints>
  119. <userDefinedRuntimeAttributes>
  120. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  121. <real key="value" value="5"/>
  122. </userDefinedRuntimeAttribute>
  123. </userDefinedRuntimeAttributes>
  124. </tableViewCellContentView>
  125. <viewLayoutGuide key="safeArea" id="njF-e1-oar"/>
  126. <userDefinedRuntimeAttributes>
  127. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  128. <real key="value" value="5"/>
  129. </userDefinedRuntimeAttribute>
  130. </userDefinedRuntimeAttributes>
  131. <connections>
  132. <outlet property="exchangeSwitch" destination="TVq-o0-x60" id="Vee-rG-4th"/>
  133. </connections>
  134. <point key="canvasLocation" x="132.60869565217394" y="140.95982142857142"/>
  135. </tableViewCell>
  136. </objects>
  137. </document>