省钱达人

shareView.xib 8.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14109" 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="14088"/>
  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="shareView">
  15. <rect key="frame" x="0.0" y="0.0" width="375" height="200"/>
  16. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  17. <subviews>
  18. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="x0l-ZZ-EYF">
  19. <rect key="frame" x="0.0" y="156" width="375" height="44"/>
  20. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  21. <constraints>
  22. <constraint firstAttribute="height" constant="44" id="tK5-kj-QOT"/>
  23. </constraints>
  24. <fontDescription key="fontDescription" type="system" pointSize="18"/>
  25. <state key="normal" title="取消">
  26. <color key="titleColor" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/>
  27. </state>
  28. </button>
  29. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="xKP-zP-g1O">
  30. <rect key="frame" x="229" y="58" width="46" height="46"/>
  31. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
  32. <state key="normal" image="share_icon_wechat_friend"/>
  33. </button>
  34. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="EOf-9g-uQv">
  35. <rect key="frame" x="100" y="58" width="47" height="48"/>
  36. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
  37. <state key="normal" image="share_icon_wechat"/>
  38. </button>
  39. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="—— 分享到 ——" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Efu-a8-7kq">
  40. <rect key="frame" x="123.5" y="22" width="128" height="21"/>
  41. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  42. <color key="textColor" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  43. <nil key="highlightedColor"/>
  44. </label>
  45. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="微信好友" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="3ag-zb-BOc">
  46. <rect key="frame" x="94.5" y="121" width="57.5" height="17"/>
  47. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  48. <color key="textColor" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  49. <nil key="highlightedColor"/>
  50. </label>
  51. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="朋友圈" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="o19-99-HoH">
  52. <rect key="frame" x="230.5" y="119" width="43" height="17"/>
  53. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  54. <color key="textColor" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  55. <nil key="highlightedColor"/>
  56. </label>
  57. </subviews>
  58. <color key="backgroundColor" red="0.9137254901960784" green="0.9137254901960784" blue="0.9137254901960784" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  59. <constraints>
  60. <constraint firstItem="o19-99-HoH" firstAttribute="top" secondItem="xKP-zP-g1O" secondAttribute="bottom" constant="15" id="9lS-cf-sec"/>
  61. <constraint firstAttribute="trailing" secondItem="x0l-ZZ-EYF" secondAttribute="trailing" id="A8e-Kq-NJ6"/>
  62. <constraint firstItem="EOf-9g-uQv" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" constant="58" id="Nm3-Gi-u7k"/>
  63. <constraint firstAttribute="bottom" secondItem="x0l-ZZ-EYF" secondAttribute="bottom" id="RDB-WT-0We"/>
  64. <constraint firstItem="o19-99-HoH" firstAttribute="centerX" secondItem="xKP-zP-g1O" secondAttribute="centerX" id="TxZ-Mk-utc"/>
  65. <constraint firstItem="x0l-ZZ-EYF" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="e9Q-sY-oTh"/>
  66. <constraint firstItem="xKP-zP-g1O" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" constant="58" id="gf8-YK-SHw"/>
  67. <constraint firstItem="3ag-zb-BOc" firstAttribute="top" secondItem="EOf-9g-uQv" secondAttribute="bottom" constant="15" id="hOj-le-C0l"/>
  68. <constraint firstAttribute="trailing" secondItem="xKP-zP-g1O" secondAttribute="trailing" constant="100" id="hdf-hH-Xrr"/>
  69. <constraint firstItem="3ag-zb-BOc" firstAttribute="centerX" secondItem="EOf-9g-uQv" secondAttribute="centerX" id="iXw-PM-szR"/>
  70. <constraint firstItem="Efu-a8-7kq" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" constant="22" id="is0-ch-dyR"/>
  71. <constraint firstItem="EOf-9g-uQv" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="100" id="jkV-2B-nLP"/>
  72. <constraint firstItem="Efu-a8-7kq" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="obb-8B-dHa"/>
  73. <constraint firstItem="x0l-ZZ-EYF" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="vXM-OL-wF9"/>
  74. </constraints>
  75. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  76. <connections>
  77. <outlet property="cancelButton" destination="x0l-ZZ-EYF" id="mPV-Kg-7er"/>
  78. <outlet property="shareButtonOne" destination="EOf-9g-uQv" id="Odf-vl-rrO"/>
  79. <outlet property="shareButtonTwo" destination="xKP-zP-g1O" id="bVR-el-jAT"/>
  80. </connections>
  81. <point key="canvasLocation" x="-55.5" y="-187.5"/>
  82. </view>
  83. </objects>
  84. <resources>
  85. <image name="share_icon_wechat" width="47" height="48"/>
  86. <image name="share_icon_wechat_friend" width="46" height="46"/>
  87. </resources>
  88. </document>