IHLightCommandView.xib 4.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097.2" 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="16087"/>
  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. <view contentMode="scaleToFill" id="iN0-l3-epB" customClass="IHLightCommandView" customModule="智能照明" customModuleProvider="target">
  14. <rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
  15. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  16. <subviews>
  17. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="hp5-3z-R3e">
  18. <rect key="frame" x="0.0" y="786" width="414" height="75"/>
  19. <subviews>
  20. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="8Y4-CG-ZwL">
  21. <rect key="frame" x="177" y="0.0" width="60" height="75"/>
  22. <constraints>
  23. <constraint firstAttribute="height" constant="75" id="Sew-8u-d4S"/>
  24. <constraint firstAttribute="width" constant="60" id="eZs-qh-1rD"/>
  25. </constraints>
  26. <fontDescription key="fontDescription" name="PingFangSC-Semibold" family="PingFang SC" pointSize="12"/>
  27. <state key="normal" title="开关" image="close"/>
  28. <state key="selected" image="White_pre"/>
  29. <connections>
  30. <action selector="closeAction:" destination="iN0-l3-epB" eventType="touchUpInside" id="sJg-3p-HMi"/>
  31. </connections>
  32. </button>
  33. </subviews>
  34. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  35. <constraints>
  36. <constraint firstAttribute="height" constant="75" id="Bqq-dO-bbe"/>
  37. <constraint firstItem="8Y4-CG-ZwL" firstAttribute="centerY" secondItem="hp5-3z-R3e" secondAttribute="centerY" id="Cg7-mH-4Nt"/>
  38. <constraint firstItem="8Y4-CG-ZwL" firstAttribute="centerX" secondItem="hp5-3z-R3e" secondAttribute="centerX" id="q38-OU-pnm"/>
  39. </constraints>
  40. </view>
  41. </subviews>
  42. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  43. <constraints>
  44. <constraint firstItem="vUN-kp-3ea" firstAttribute="trailing" secondItem="hp5-3z-R3e" secondAttribute="trailing" id="J0Z-FV-ZoA"/>
  45. <constraint firstAttribute="bottom" secondItem="hp5-3z-R3e" secondAttribute="bottom" constant="35" id="QH1-2o-ell"/>
  46. <constraint firstItem="hp5-3z-R3e" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="Skc-0p-gwz"/>
  47. </constraints>
  48. <viewLayoutGuide key="safeArea" id="vUN-kp-3ea"/>
  49. <connections>
  50. <outlet property="closeBtn" destination="8Y4-CG-ZwL" id="kBH-c2-t0T"/>
  51. </connections>
  52. <point key="canvasLocation" x="139" y="91"/>
  53. </view>
  54. </objects>
  55. <resources>
  56. <image name="White_pre" width="49" height="49"/>
  57. <image name="close" width="49" height="49"/>
  58. </resources>
  59. </document>