IHEmptyView.xib 5.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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. <customFonts key="customFonts">
  11. <array key="Alibaba-PuHuiTi-Regular.otf">
  12. <string>AlibabaPuHuiTiR</string>
  13. </array>
  14. </customFonts>
  15. <objects>
  16. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  17. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  18. <view contentMode="scaleToFill" id="iN0-l3-epB" customClass="IHEmptyView" customModule="智能照明" customModuleProvider="target">
  19. <rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
  20. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  21. <subviews>
  22. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="编组 5" translatesAutoresizingMaskIntoConstraints="NO" id="Vbh-C7-3GA">
  23. <rect key="frame" x="152" y="60" width="110" height="110"/>
  24. <constraints>
  25. <constraint firstAttribute="height" constant="110" id="TCh-Cf-pMY"/>
  26. <constraint firstAttribute="width" constant="110" id="jBW-sh-E5m"/>
  27. </constraints>
  28. </imageView>
  29. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="未发现附近任何设备" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="mnS-Yx-3tA">
  30. <rect key="frame" x="145" y="186" width="124" height="20"/>
  31. <fontDescription key="fontDescription" name="AlibabaPuHuiTiR" family="Alibaba PuHuiTi" pointSize="14"/>
  32. <color key="textColor" red="0.396078431372549" green="0.4392156862745098" blue="0.52156862745098043" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  33. <nil key="highlightedColor"/>
  34. </label>
  35. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Cjk-Jo-W63">
  36. <rect key="frame" x="157" y="230" width="100" height="34"/>
  37. <color key="backgroundColor" red="0.3411764706" green="0.2470588235" blue="0.58431372550000005" alpha="1" colorSpace="calibratedRGB"/>
  38. <constraints>
  39. <constraint firstAttribute="height" constant="34" id="2WE-8a-iFP"/>
  40. <constraint firstAttribute="width" constant="100" id="9Nv-kl-YYv"/>
  41. </constraints>
  42. <fontDescription key="fontDescription" name="PingFangSC-Semibold" family="PingFang SC" pointSize="14"/>
  43. <state key="normal" title="查找"/>
  44. <userDefinedRuntimeAttributes>
  45. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  46. <real key="value" value="5"/>
  47. </userDefinedRuntimeAttribute>
  48. </userDefinedRuntimeAttributes>
  49. <connections>
  50. <action selector="searchAction:" destination="iN0-l3-epB" eventType="touchUpInside" id="dyF-HR-QaO"/>
  51. </connections>
  52. </button>
  53. </subviews>
  54. <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  55. <constraints>
  56. <constraint firstItem="mnS-Yx-3tA" firstAttribute="top" secondItem="Vbh-C7-3GA" secondAttribute="bottom" constant="16" id="5C2-iW-Rms"/>
  57. <constraint firstItem="Cjk-Jo-W63" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="Jve-zp-gjy"/>
  58. <constraint firstItem="Vbh-C7-3GA" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" constant="60" id="Qec-Sr-paS"/>
  59. <constraint firstItem="mnS-Yx-3tA" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="Ur3-ki-6hx"/>
  60. <constraint firstItem="Vbh-C7-3GA" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="dQD-XQ-N0C"/>
  61. <constraint firstItem="Cjk-Jo-W63" firstAttribute="top" secondItem="mnS-Yx-3tA" secondAttribute="bottom" constant="24" id="j1N-HA-DI5"/>
  62. </constraints>
  63. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  64. <viewLayoutGuide key="safeArea" id="vUN-kp-3ea"/>
  65. <point key="canvasLocation" x="139" y="83"/>
  66. </view>
  67. </objects>
  68. <resources>
  69. <image name="编组 5" width="115" height="115"/>
  70. </resources>
  71. </document>