You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ELDeviceTypeCell.xib 11KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="21507" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="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="21505"/>
  7. <capability name="System colors in document resources" minToolsVersion="11.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="none" indentationWidth="10" rowHeight="103" id="KGk-i7-Jjw" customClass="ELDeviceTypeCell">
  14. <rect key="frame" x="0.0" y="0.0" width="366" height="103"/>
  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="366" height="103"/>
  18. <autoresizingMask key="autoresizingMask"/>
  19. <subviews>
  20. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="jOU-QB-C99">
  21. <rect key="frame" x="8" y="4" width="350" height="95"/>
  22. <subviews>
  23. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="Hkv-dE-Igc">
  24. <rect key="frame" x="8" y="8" width="79" height="79"/>
  25. <color key="backgroundColor" white="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  26. <constraints>
  27. <constraint firstAttribute="width" secondItem="Hkv-dE-Igc" secondAttribute="height" id="ZqG-XM-136"/>
  28. </constraints>
  29. <userDefinedRuntimeAttributes>
  30. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  31. <integer key="value" value="8"/>
  32. </userDefinedRuntimeAttribute>
  33. </userDefinedRuntimeAttributes>
  34. </imageView>
  35. <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="L4D-es-cDG">
  36. <rect key="frame" x="95" y="8" width="15.5" height="20"/>
  37. <subviews>
  38. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="01" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="cKy-Zu-0Fz">
  39. <rect key="frame" x="0.0" y="0.0" width="15.5" height="20"/>
  40. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  41. <nil key="textColor"/>
  42. <nil key="highlightedColor"/>
  43. </label>
  44. </subviews>
  45. <constraints>
  46. <constraint firstAttribute="height" constant="20" id="TUS-52-hBR"/>
  47. </constraints>
  48. </stackView>
  49. <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="mU8-MW-7fB">
  50. <rect key="frame" x="95" y="32" width="71.5" height="20"/>
  51. <subviews>
  52. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Baby Scale" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="pZN-Pt-0bV">
  53. <rect key="frame" x="0.0" y="0.0" width="71.5" height="20"/>
  54. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  55. <nil key="textColor"/>
  56. <nil key="highlightedColor"/>
  57. </label>
  58. </subviews>
  59. <constraints>
  60. <constraint firstAttribute="height" constant="20" id="Qx2-3j-kzF"/>
  61. </constraints>
  62. </stackView>
  63. <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="JMw-hs-LJD">
  64. <rect key="frame" x="95" y="56" width="43" height="20"/>
  65. <subviews>
  66. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="婴儿秤" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="NPZ-PU-Wgh">
  67. <rect key="frame" x="0.0" y="0.0" width="43" height="20"/>
  68. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  69. <nil key="textColor"/>
  70. <nil key="highlightedColor"/>
  71. </label>
  72. </subviews>
  73. <constraints>
  74. <constraint firstAttribute="height" constant="20" id="aNI-fv-u2p"/>
  75. </constraints>
  76. </stackView>
  77. </subviews>
  78. <color key="backgroundColor" systemColor="systemGray6Color"/>
  79. <constraints>
  80. <constraint firstAttribute="bottom" secondItem="Hkv-dE-Igc" secondAttribute="bottom" constant="8" id="72I-PI-aGJ"/>
  81. <constraint firstItem="mU8-MW-7fB" firstAttribute="top" secondItem="L4D-es-cDG" secondAttribute="bottom" constant="4" id="Eic-Aj-eFs"/>
  82. <constraint firstItem="Hkv-dE-Igc" firstAttribute="top" secondItem="jOU-QB-C99" secondAttribute="top" constant="8" id="Evu-8R-B2z"/>
  83. <constraint firstItem="mU8-MW-7fB" firstAttribute="leading" secondItem="L4D-es-cDG" secondAttribute="leading" id="Jb4-2d-uKb"/>
  84. <constraint firstItem="Hkv-dE-Igc" firstAttribute="leading" secondItem="jOU-QB-C99" secondAttribute="leading" constant="8" id="TCg-9d-hjG"/>
  85. <constraint firstItem="L4D-es-cDG" firstAttribute="leading" secondItem="Hkv-dE-Igc" secondAttribute="trailing" constant="8" id="U9p-ZT-aUT"/>
  86. <constraint firstItem="L4D-es-cDG" firstAttribute="top" secondItem="Hkv-dE-Igc" secondAttribute="top" id="aqk-o1-EXK"/>
  87. <constraint firstItem="JMw-hs-LJD" firstAttribute="top" secondItem="mU8-MW-7fB" secondAttribute="bottom" constant="4" id="vuE-pP-vVW"/>
  88. <constraint firstItem="JMw-hs-LJD" firstAttribute="leading" secondItem="L4D-es-cDG" secondAttribute="leading" id="w8f-p7-CiT"/>
  89. <constraint firstItem="Hkv-dE-Igc" firstAttribute="centerY" secondItem="jOU-QB-C99" secondAttribute="centerY" id="yST-qL-Y70"/>
  90. </constraints>
  91. <userDefinedRuntimeAttributes>
  92. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  93. <integer key="value" value="12"/>
  94. </userDefinedRuntimeAttribute>
  95. </userDefinedRuntimeAttributes>
  96. </view>
  97. </subviews>
  98. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  99. <constraints>
  100. <constraint firstItem="jOU-QB-C99" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="4" id="JE1-Dv-6P4"/>
  101. <constraint firstAttribute="bottom" secondItem="jOU-QB-C99" secondAttribute="bottom" constant="4" id="Yhz-FT-hXr"/>
  102. <constraint firstItem="jOU-QB-C99" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="8" id="aSY-Cn-g0v"/>
  103. <constraint firstAttribute="trailing" secondItem="jOU-QB-C99" secondAttribute="trailing" constant="8" id="u9q-bB-TXK"/>
  104. </constraints>
  105. </tableViewCellContentView>
  106. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  107. <connections>
  108. <outlet property="iconImageView" destination="Hkv-dE-Igc" id="bCs-6i-Lry"/>
  109. <outlet property="indexLabel" destination="cKy-Zu-0Fz" id="Cet-01-MGs"/>
  110. <outlet property="subtitleLabel" destination="NPZ-PU-Wgh" id="sjP-GB-NwI"/>
  111. <outlet property="titleLabel" destination="pZN-Pt-0bV" id="3aE-gw-p9F"/>
  112. </connections>
  113. <point key="canvasLocation" x="169.56521739130437" y="171.09375"/>
  114. </tableViewCell>
  115. </objects>
  116. <resources>
  117. <systemColor name="systemGray6Color">
  118. <color red="0.94901960784313721" green="0.94901960784313721" blue="0.96862745098039216" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  119. </systemColor>
  120. </resources>
  121. </document>