TrueLoveButton.xib 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="32700.99.1234" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
  3. <device id="retina4_7" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="22685"/>
  7. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  8. </dependencies>
  9. <objects>
  10. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  11. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  12. <view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT" customClass="TrueLoveButton">
  13. <rect key="frame" x="0.0" y="0.0" width="50" height="20"/>
  14. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  15. <subviews>
  16. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="habibi_list" translatesAutoresizingMaskIntoConstraints="NO" id="7Vc-2Z-YQg">
  17. <rect key="frame" x="0.0" y="0.0" width="50" height="20"/>
  18. </imageView>
  19. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="排行" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="dsj-4C-o6R">
  20. <rect key="frame" x="20.5" y="2.5" width="25" height="15"/>
  21. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  22. <color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
  23. <nil key="highlightedColor"/>
  24. </label>
  25. </subviews>
  26. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  27. <constraints>
  28. <constraint firstItem="dsj-4C-o6R" firstAttribute="centerY" secondItem="7Vc-2Z-YQg" secondAttribute="centerY" id="ZSX-Lx-92I"/>
  29. <constraint firstItem="7Vc-2Z-YQg" firstAttribute="top" secondItem="i5M-Pr-FkT" secondAttribute="top" id="da0-nd-HLn"/>
  30. <constraint firstItem="dsj-4C-o6R" firstAttribute="centerX" secondItem="7Vc-2Z-YQg" secondAttribute="centerX" constant="8" id="r3x-UO-ROQ"/>
  31. <constraint firstItem="7Vc-2Z-YQg" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" id="u2q-kO-GRV"/>
  32. <constraint firstAttribute="bottom" secondItem="7Vc-2Z-YQg" secondAttribute="bottom" id="xEY-9s-7X2"/>
  33. </constraints>
  34. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  35. <connections>
  36. <outlet property="rankLabel" destination="dsj-4C-o6R" id="wtY-cB-1Vc"/>
  37. </connections>
  38. <point key="canvasLocation" x="19.199999999999999" y="-1271.5142428785607"/>
  39. </view>
  40. </objects>
  41. <resources>
  42. <image name="habibi_list" width="50" height="20"/>
  43. </resources>
  44. </document>