PasteView.xib 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="11542" systemVersion="16B2555" 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="11524"/>
  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="PasteView">
  15. <rect key="frame" x="0.0" y="0.0" width="320" height="480"/>
  16. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  17. <subviews>
  18. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="epH-G0-zSl">
  19. <rect key="frame" x="10" y="170" width="300" height="140"/>
  20. <subviews>
  21. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="密令" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="o9x-au-8aC">
  22. <rect key="frame" x="110" y="10" width="80" height="27"/>
  23. <constraints>
  24. <constraint firstAttribute="width" constant="80" id="Hr6-hs-V6G"/>
  25. <constraint firstAttribute="height" constant="27" id="J5Y-jv-lkg"/>
  26. </constraints>
  27. <fontDescription key="fontDescription" type="system" pointSize="18"/>
  28. <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  29. <nil key="highlightedColor"/>
  30. </label>
  31. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="GHC-aG-pgo">
  32. <rect key="frame" x="265" y="5" width="35" height="29"/>
  33. <constraints>
  34. <constraint firstAttribute="height" constant="29" id="gDy-o3-Bvn"/>
  35. <constraint firstAttribute="width" constant="35" id="oh5-8z-yEq"/>
  36. </constraints>
  37. <fontDescription key="fontDescription" type="system" pointSize="20"/>
  38. <state key="normal" title="X">
  39. <color key="titleColor" red="0.45098039220000002" green="0.85098039219999999" blue="0.80784313730000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  40. </state>
  41. <connections>
  42. <action selector="buttonClick:" destination="iN0-l3-epB" eventType="touchUpInside" id="ehT-WH-49G"/>
  43. </connections>
  44. </button>
  45. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="密令复制好了!快去分享给小伙伴吧!" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="QOP-VM-VdY">
  46. <rect key="frame" x="0.0" y="47" width="300" height="30"/>
  47. <constraints>
  48. <constraint firstAttribute="height" constant="30" id="Bh6-Pg-h2n"/>
  49. </constraints>
  50. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  51. <nil key="highlightedColor"/>
  52. </label>
  53. <button opaque="NO" tag="1" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="7Bi-6Q-yQI">
  54. <rect key="frame" x="0.0" y="95" width="150" height="45"/>
  55. <constraints>
  56. <constraint firstAttribute="width" constant="150" id="7Lf-q7-Mrh"/>
  57. <constraint firstAttribute="height" constant="45" id="A8S-Kb-1Wu"/>
  58. </constraints>
  59. <state key="normal" title="取消">
  60. <color key="titleColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  61. </state>
  62. <connections>
  63. <action selector="buttonClick:" destination="iN0-l3-epB" eventType="touchUpInside" id="bUJ-8u-Bgu"/>
  64. </connections>
  65. </button>
  66. <button opaque="NO" tag="2" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="5eO-jR-mas">
  67. <rect key="frame" x="150" y="95" width="150" height="45"/>
  68. <state key="normal" title="去粘贴">
  69. <color key="titleColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  70. </state>
  71. <connections>
  72. <action selector="buttonClick:" destination="iN0-l3-epB" eventType="touchUpInside" id="THN-og-I6F"/>
  73. </connections>
  74. </button>
  75. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="k3t-Ko-cyt">
  76. <rect key="frame" x="0.0" y="94" width="300" height="1"/>
  77. <color key="backgroundColor" red="0.66666666666666663" green="0.66666666666666663" blue="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  78. <constraints>
  79. <constraint firstAttribute="height" constant="1" id="8Wc-qr-gSQ"/>
  80. </constraints>
  81. </view>
  82. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="a0p-Qq-dny">
  83. <rect key="frame" x="150" y="95" width="1" height="45"/>
  84. <color key="backgroundColor" red="0.66666666666666663" green="0.66666666666666663" blue="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  85. <constraints>
  86. <constraint firstAttribute="height" constant="45" id="lq4-BW-eG0"/>
  87. <constraint firstAttribute="width" constant="1" id="xG7-EL-sKS"/>
  88. </constraints>
  89. </view>
  90. </subviews>
  91. <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  92. <constraints>
  93. <constraint firstItem="o9x-au-8aC" firstAttribute="centerX" secondItem="epH-G0-zSl" secondAttribute="centerX" id="6Vm-DE-eaI"/>
  94. <constraint firstItem="a0p-Qq-dny" firstAttribute="leading" secondItem="7Bi-6Q-yQI" secondAttribute="trailing" id="7Ny-5T-4EV"/>
  95. <constraint firstItem="5eO-jR-mas" firstAttribute="width" secondItem="7Bi-6Q-yQI" secondAttribute="width" id="8Hj-3U-3gx"/>
  96. <constraint firstItem="o9x-au-8aC" firstAttribute="top" secondItem="epH-G0-zSl" secondAttribute="top" constant="10" id="9VN-sq-Pva"/>
  97. <constraint firstAttribute="trailing" secondItem="5eO-jR-mas" secondAttribute="trailing" id="9VX-1J-DCc"/>
  98. <constraint firstAttribute="trailing" secondItem="k3t-Ko-cyt" secondAttribute="trailing" id="D7k-tw-jYo"/>
  99. <constraint firstAttribute="bottom" secondItem="7Bi-6Q-yQI" secondAttribute="bottom" id="Ibj-iL-qQD"/>
  100. <constraint firstAttribute="trailing" secondItem="QOP-VM-VdY" secondAttribute="trailing" id="KW5-tv-axL"/>
  101. <constraint firstItem="k3t-Ko-cyt" firstAttribute="leading" secondItem="epH-G0-zSl" secondAttribute="leading" id="Qbx-Lw-IYE"/>
  102. <constraint firstAttribute="height" constant="140" id="Wn0-nh-B6k"/>
  103. <constraint firstAttribute="width" constant="300" id="amz-1T-zyV"/>
  104. <constraint firstItem="GHC-aG-pgo" firstAttribute="top" secondItem="epH-G0-zSl" secondAttribute="top" constant="5" id="jbZ-t3-UNn"/>
  105. <constraint firstItem="7Bi-6Q-yQI" firstAttribute="leading" secondItem="epH-G0-zSl" secondAttribute="leading" id="jsJ-TG-0Co"/>
  106. <constraint firstAttribute="bottom" secondItem="5eO-jR-mas" secondAttribute="bottom" id="m2L-TM-GEI"/>
  107. <constraint firstItem="QOP-VM-VdY" firstAttribute="leading" secondItem="epH-G0-zSl" secondAttribute="leading" id="m8F-yZ-iTu"/>
  108. <constraint firstItem="k3t-Ko-cyt" firstAttribute="top" secondItem="QOP-VM-VdY" secondAttribute="bottom" constant="17" id="oQI-yt-Eo3"/>
  109. <constraint firstItem="5eO-jR-mas" firstAttribute="height" secondItem="7Bi-6Q-yQI" secondAttribute="height" id="qCx-Pb-oJS"/>
  110. <constraint firstAttribute="trailing" secondItem="GHC-aG-pgo" secondAttribute="trailing" id="r5b-TV-kE2"/>
  111. <constraint firstItem="5eO-jR-mas" firstAttribute="leading" secondItem="7Bi-6Q-yQI" secondAttribute="trailing" id="tO9-fC-SAh"/>
  112. <constraint firstAttribute="bottom" secondItem="a0p-Qq-dny" secondAttribute="bottom" id="tvx-3m-gx5"/>
  113. <constraint firstItem="5eO-jR-mas" firstAttribute="top" secondItem="k3t-Ko-cyt" secondAttribute="bottom" id="uZa-c4-xiM"/>
  114. </constraints>
  115. </view>
  116. </subviews>
  117. <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  118. <constraints>
  119. <constraint firstItem="epH-G0-zSl" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="centerY" id="9MI-jC-Mtb"/>
  120. <constraint firstItem="epH-G0-zSl" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="e4Y-XM-Roa"/>
  121. </constraints>
  122. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  123. <connections>
  124. <outlet property="buttomView" destination="epH-G0-zSl" id="EQ3-in-Fyn"/>
  125. <outlet property="cancelButton" destination="7Bi-6Q-yQI" id="AId-Es-Udr"/>
  126. <outlet property="contentlabel" destination="QOP-VM-VdY" id="w8y-d6-F1p"/>
  127. <outlet property="deleteButton" destination="GHC-aG-pgo" id="qAU-Zq-z4E"/>
  128. <outlet property="lineView1" destination="k3t-Ko-cyt" id="BUb-de-pAA"/>
  129. <outlet property="lineView2" destination="a0p-Qq-dny" id="mvm-LL-ieZ"/>
  130. <outlet property="pasteButton" destination="5eO-jR-mas" id="mZe-O3-4Rl"/>
  131. </connections>
  132. <point key="canvasLocation" x="337" y="279"/>
  133. </view>
  134. </objects>
  135. </document>