IHAQSwitchCell.xib 5.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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. <objects>
  11. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  12. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  13. <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="62" id="KGk-i7-Jjw" customClass="IHAQSwitchCell" customModule="Inhealth" customModuleProvider="target">
  14. <rect key="frame" x="0.0" y="0.0" width="321" height="62"/>
  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="321" height="62"/>
  18. <autoresizingMask key="autoresizingMask"/>
  19. <subviews>
  20. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="Purifier" translatesAutoresizingMaskIntoConstraints="NO" id="2hv-fd-Upl">
  21. <rect key="frame" x="20" y="21" width="20" height="20"/>
  22. <constraints>
  23. <constraint firstAttribute="height" constant="20" id="Gv2-Rb-ltF"/>
  24. <constraint firstAttribute="width" constant="20" id="dPB-L2-mGt"/>
  25. </constraints>
  26. </imageView>
  27. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Open all (air puirfiers)" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="K4e-F9-zsX">
  28. <rect key="frame" x="45" y="21" width="146" height="20"/>
  29. <fontDescription key="fontDescription" name="PingFangSC-Semibold" family="PingFang SC" pointSize="14"/>
  30. <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="0.84705882352941175" colorSpace="calibratedRGB"/>
  31. <nil key="highlightedColor"/>
  32. </label>
  33. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="eRX-Dr-mKE" customClass="TKExchangeSwitch" customModule="TKSwitcherCollection">
  34. <rect key="frame" x="270" y="21" width="36" height="20"/>
  35. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  36. <constraints>
  37. <constraint firstAttribute="width" constant="36" id="eas-LZ-Yz0"/>
  38. <constraint firstAttribute="height" constant="20" id="zWX-c2-lAM"/>
  39. </constraints>
  40. <userDefinedRuntimeAttributes>
  41. <userDefinedRuntimeAttribute type="boolean" keyPath="isOn" value="NO"/>
  42. </userDefinedRuntimeAttributes>
  43. </view>
  44. </subviews>
  45. <constraints>
  46. <constraint firstItem="2hv-fd-Upl" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="1b5-Ar-da9"/>
  47. <constraint firstAttribute="trailing" secondItem="eRX-Dr-mKE" secondAttribute="trailing" constant="15" id="9Md-4M-TC3"/>
  48. <constraint firstItem="eRX-Dr-mKE" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="FaE-e2-irh"/>
  49. <constraint firstItem="K4e-F9-zsX" firstAttribute="leading" secondItem="2hv-fd-Upl" secondAttribute="trailing" constant="5" id="H5V-2x-cuz"/>
  50. <constraint firstItem="2hv-fd-Upl" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="20" id="JE0-2H-JUj"/>
  51. <constraint firstItem="K4e-F9-zsX" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="Ley-F9-sk6"/>
  52. </constraints>
  53. </tableViewCellContentView>
  54. <color key="backgroundColor" red="0.96470588235294119" green="0.97254901960784312" blue="0.96862745098039216" alpha="0.84705882352941175" colorSpace="calibratedRGB"/>
  55. <viewLayoutGuide key="safeArea" id="njF-e1-oar"/>
  56. <connections>
  57. <outlet property="exchangeSwitch" destination="eRX-Dr-mKE" id="hKE-aq-OA0"/>
  58. </connections>
  59. <point key="canvasLocation" x="138.40579710144928" y="122.54464285714285"/>
  60. </tableViewCell>
  61. </objects>
  62. <resources>
  63. <image name="Purifier" width="18" height="21"/>
  64. </resources>
  65. </document>