SBTEmptyView.xib 5.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14490.70" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
  3. <device id="retina4_7" orientation="portrait">
  4. <adaptation id="fullscreen"/>
  5. </device>
  6. <dependencies>
  7. <deployment identifier="iOS"/>
  8. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14490.49"/>
  9. <capability name="Safe area layout guides" minToolsVersion="9.0"/>
  10. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  11. </dependencies>
  12. <objects>
  13. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  14. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  15. <view contentMode="scaleToFill" id="iN0-l3-epB" customClass="SBTEmptyView" customModule="SolarBT" customModuleProvider="target">
  16. <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
  17. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  18. <subviews>
  19. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="renwujiankonghechaxun" translatesAutoresizingMaskIntoConstraints="NO" id="iyu-9M-13W">
  20. <rect key="frame" x="140.5" y="211" width="94" height="96"/>
  21. <constraints>
  22. <constraint firstAttribute="width" constant="94" id="FBY-Tb-inJ"/>
  23. <constraint firstAttribute="height" constant="96" id="aOl-Ej-qQy"/>
  24. </constraints>
  25. </imageView>
  26. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="4rM-nV-nKp">
  27. <rect key="frame" x="50" y="577" width="275" height="40"/>
  28. <constraints>
  29. <constraint firstAttribute="height" constant="40" id="LA4-NM-Wb5"/>
  30. </constraints>
  31. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  32. <state key="normal" title="Button" backgroundImage="渐变按钮"/>
  33. </button>
  34. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="当前没有添加任何设备" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="BtM-tR-2XZ">
  35. <rect key="frame" x="116" y="323" width="143" height="21"/>
  36. <constraints>
  37. <constraint firstAttribute="height" constant="21" id="weT-hX-DTq"/>
  38. </constraints>
  39. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  40. <color key="textColor" red="0.5294155478477478" green="0.52940517663955688" blue="0.52941220998764038" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
  41. <nil key="highlightedColor"/>
  42. </label>
  43. </subviews>
  44. <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  45. <constraints>
  46. <constraint firstItem="4rM-nV-nKp" firstAttribute="leading" secondItem="vUN-kp-3ea" secondAttribute="leading" constant="50" id="2dM-J3-wSK"/>
  47. <constraint firstItem="vUN-kp-3ea" firstAttribute="bottom" secondItem="4rM-nV-nKp" secondAttribute="bottom" constant="50" id="BmC-Zy-EoP"/>
  48. <constraint firstItem="BtM-tR-2XZ" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="N6K-hZ-wPs"/>
  49. <constraint firstItem="vUN-kp-3ea" firstAttribute="trailing" secondItem="4rM-nV-nKp" secondAttribute="trailing" constant="50" id="Tec-At-mn5"/>
  50. <constraint firstItem="BtM-tR-2XZ" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="centerY" id="rm6-3a-Jth"/>
  51. <constraint firstItem="iyu-9M-13W" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="sW9-ua-tkd"/>
  52. <constraint firstItem="BtM-tR-2XZ" firstAttribute="top" secondItem="iyu-9M-13W" secondAttribute="bottom" constant="16" id="tpe-lY-R91"/>
  53. </constraints>
  54. <viewLayoutGuide key="safeArea" id="vUN-kp-3ea"/>
  55. <connections>
  56. <outlet property="addButton" destination="4rM-nV-nKp" id="G7M-wS-3oh"/>
  57. <outlet property="messageLabel" destination="BtM-tR-2XZ" id="ae6-VF-jsf"/>
  58. </connections>
  59. </view>
  60. </objects>
  61. <resources>
  62. <image name="renwujiankonghechaxun" width="94" height="95.5"/>
  63. <image name="渐变按钮" width="275" height="40"/>
  64. </resources>
  65. </document>