BGNoContentView.xib 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="13196" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="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="13173"/>
  9. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  10. </dependencies>
  11. <objects>
  12. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  13. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  14. <view contentMode="scaleToFill" id="iN0-l3-epB" customClass="BGNoContentView">
  15. <rect key="frame" x="0.0" y="0.0" width="150" height="175"/>
  16. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  17. <subviews>
  18. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="com_no_content" translatesAutoresizingMaskIntoConstraints="NO" id="12j-nW-0e2">
  19. <rect key="frame" x="0.0" y="0.0" width="150" height="150"/>
  20. </imageView>
  21. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="亲~暂无任何内容" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Jjr-8Y-WHE">
  22. <rect key="frame" x="6" y="154" width="138" height="16"/>
  23. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  24. <color key="textColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/>
  25. <nil key="highlightedColor"/>
  26. </label>
  27. </subviews>
  28. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
  29. <constraints>
  30. <constraint firstAttribute="bottom" secondItem="12j-nW-0e2" secondAttribute="bottom" constant="25" id="6VL-36-z6L"/>
  31. <constraint firstItem="Jjr-8Y-WHE" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="6" id="E3p-zq-lBT"/>
  32. <constraint firstAttribute="trailing" secondItem="12j-nW-0e2" secondAttribute="trailing" id="JVv-Iw-gci"/>
  33. <constraint firstAttribute="trailing" secondItem="Jjr-8Y-WHE" secondAttribute="trailing" constant="6" id="NE3-j2-2bu"/>
  34. <constraint firstItem="12j-nW-0e2" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="PrQ-dx-L5E"/>
  35. <constraint firstItem="12j-nW-0e2" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" id="atE-SL-36H"/>
  36. <constraint firstItem="Jjr-8Y-WHE" firstAttribute="bottom" secondItem="12j-nW-0e2" secondAttribute="bottom" constant="20" id="dJO-Qu-RtF"/>
  37. </constraints>
  38. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  39. <connections>
  40. <outlet property="noContentTipLabel" destination="Jjr-8Y-WHE" id="nKg-KQ-pcn"/>
  41. </connections>
  42. <point key="canvasLocation" x="-341" y="-284"/>
  43. </view>
  44. </objects>
  45. <resources>
  46. <image name="com_no_content" width="151" height="150"/>
  47. </resources>
  48. </document>