IHSensorItemCell.xib 6.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="15510"/>
  6. <capability name="Safe area layout guides" minToolsVersion="9.0"/>
  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. <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" id="gTV-IL-0wX" customClass="IHSensorItemCell" customModule="Inhealth" customModuleProvider="target">
  13. <rect key="frame" x="0.0" y="0.0" width="177" height="75"/>
  14. <autoresizingMask key="autoresizingMask"/>
  15. <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
  16. <rect key="frame" x="0.0" y="0.0" width="177" height="75"/>
  17. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  18. <subviews>
  19. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="PM10" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Pcz-vK-9G0">
  20. <rect key="frame" x="35" y="15" width="31" height="17"/>
  21. <fontDescription key="fontDescription" name="PingFangSC-Semibold" family="PingFang SC" pointSize="12"/>
  22. <color key="textColor" red="0.67450980392156867" green="0.70588235294117641" blue="0.74117647058823533" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  23. <nil key="highlightedColor"/>
  24. </label>
  25. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="50" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="kGb-6r-F11">
  26. <rect key="frame" x="35" y="32" width="142" height="23"/>
  27. <fontDescription key="fontDescription" name="PingFangSC-Semibold" family="PingFang SC" pointSize="16"/>
  28. <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  29. <nil key="highlightedColor"/>
  30. </label>
  31. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="6Fe-aX-LUv">
  32. <rect key="frame" x="25" y="21" width="5" height="5"/>
  33. <color key="backgroundColor" red="0.019607843140000001" green="0.81176470590000005" blue="0.6705882353" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  34. <constraints>
  35. <constraint firstAttribute="height" constant="5" id="Zyo-dF-uKV"/>
  36. <constraint firstAttribute="width" constant="5" id="qcZ-FU-IG0"/>
  37. </constraints>
  38. <userDefinedRuntimeAttributes>
  39. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  40. <real key="value" value="2"/>
  41. </userDefinedRuntimeAttribute>
  42. </userDefinedRuntimeAttributes>
  43. </view>
  44. </subviews>
  45. </view>
  46. <color key="backgroundColor" red="0.97259360549999996" green="0.97645682099999997" blue="0.97647136450000005" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
  47. <constraints>
  48. <constraint firstItem="Pcz-vK-9G0" firstAttribute="centerY" secondItem="6Fe-aX-LUv" secondAttribute="centerY" id="BaV-Bm-Tpz"/>
  49. <constraint firstItem="6Fe-aX-LUv" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" constant="25" id="C6D-PV-VeM"/>
  50. <constraint firstItem="Pcz-vK-9G0" firstAttribute="leading" secondItem="6Fe-aX-LUv" secondAttribute="trailing" constant="5" id="bzQ-Zn-POl"/>
  51. <constraint firstItem="6Fe-aX-LUv" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" constant="21" id="c9K-9u-oeQ"/>
  52. <constraint firstItem="kGb-6r-F11" firstAttribute="leading" secondItem="Pcz-vK-9G0" secondAttribute="leading" id="gM1-NE-A9p"/>
  53. <constraint firstItem="kGb-6r-F11" firstAttribute="top" secondItem="Pcz-vK-9G0" secondAttribute="bottom" id="wuN-od-Bgq"/>
  54. <constraint firstAttribute="trailing" secondItem="kGb-6r-F11" secondAttribute="trailing" id="xJi-hm-36k"/>
  55. </constraints>
  56. <viewLayoutGuide key="safeArea" id="ZTg-uK-7eu"/>
  57. <size key="customSize" width="177" height="75"/>
  58. <userDefinedRuntimeAttributes>
  59. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  60. <real key="value" value="2"/>
  61. </userDefinedRuntimeAttribute>
  62. </userDefinedRuntimeAttributes>
  63. <connections>
  64. <outlet property="aTitleLabel" destination="Pcz-vK-9G0" id="gzu-hP-jzV"/>
  65. <outlet property="aVlaueLabel" destination="kGb-6r-F11" id="z4G-JQ-FsN"/>
  66. <outlet property="statusView" destination="6Fe-aX-LUv" id="uwi-A5-UiY"/>
  67. </connections>
  68. <point key="canvasLocation" x="229.71014492753625" y="116.18303571428571"/>
  69. </collectionViewCell>
  70. </objects>
  71. </document>