YBAlertView.xib 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097" 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="16087"/>
  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 contentMode="scaleToFill" id="iN0-l3-epB" customClass="YBAlertView">
  13. <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
  14. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  15. <subviews>
  16. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="8Fa-pg-IfH" userLabel="背景">
  17. <rect key="frame" x="47" y="166.5" width="281" height="264"/>
  18. <subviews>
  19. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="nva-Dm-HM1" userLabel="标题">
  20. <rect key="frame" x="120.5" y="25" width="40" height="20"/>
  21. <constraints>
  22. <constraint firstAttribute="height" constant="20" id="Cpw-vM-0DK"/>
  23. </constraints>
  24. <fontDescription key="fontDescription" type="boldSystem" pointSize="15"/>
  25. <color key="textColor" red="0.19607843137254902" green="0.19607843137254902" blue="0.19607843137254902" alpha="1" colorSpace="calibratedRGB"/>
  26. <nil key="highlightedColor"/>
  27. </label>
  28. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="lrC-NL-EfG" userLabel="内容" customClass="YYLabel">
  29. <rect key="frame" x="28" y="70" width="225" height="128"/>
  30. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  31. <constraints>
  32. <constraint firstAttribute="height" constant="128" id="QBS-xl-etu"/>
  33. </constraints>
  34. </view>
  35. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Z4O-cX-Gsh" userLabel="横线">
  36. <rect key="frame" x="0.0" y="223" width="281" height="1"/>
  37. <color key="backgroundColor" red="0.94117647058823528" green="0.94117647058823528" blue="0.94117647058823528" alpha="1" colorSpace="calibratedRGB"/>
  38. <constraints>
  39. <constraint firstAttribute="height" constant="1" id="hnE-N6-LhI"/>
  40. </constraints>
  41. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  42. <color key="textColor" red="0.78823529411764703" green="0.78823529411764703" blue="0.78823529411764703" alpha="1" colorSpace="calibratedRGB"/>
  43. <nil key="highlightedColor"/>
  44. </label>
  45. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="vzb-nH-EVN" userLabel="竖线">
  46. <rect key="frame" x="140" y="224" width="1" height="40"/>
  47. <color key="backgroundColor" red="0.94117647058823528" green="0.94117647058823528" blue="0.94117647058823528" alpha="1" colorSpace="calibratedRGB"/>
  48. <constraints>
  49. <constraint firstAttribute="width" constant="1" id="1tN-Th-Kqe"/>
  50. </constraints>
  51. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  52. <color key="textColor" red="0.98431372549019602" green="0.28235294117647058" blue="0.22745098039215686" alpha="1" colorSpace="calibratedRGB"/>
  53. <nil key="highlightedColor"/>
  54. </label>
  55. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="dSc-nv-Em3">
  56. <rect key="frame" x="0.0" y="224" width="140.5" height="40"/>
  57. <constraints>
  58. <constraint firstAttribute="height" constant="50" id="mj7-Nb-rWA"/>
  59. </constraints>
  60. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  61. <state key="normal" title="取消">
  62. <color key="titleColor" red="0.78823529411764703" green="0.78823529411764703" blue="0.78823529411764703" alpha="1" colorSpace="calibratedRGB"/>
  63. </state>
  64. <connections>
  65. <action selector="clikcCancelBtn:" destination="iN0-l3-epB" eventType="touchUpInside" id="Fz7-WI-nI6"/>
  66. </connections>
  67. </button>
  68. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="xnp-Gw-08T" userLabel="确认">
  69. <rect key="frame" x="140.5" y="224" width="140.5" height="40"/>
  70. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  71. <state key="normal" title="确认">
  72. <color key="titleColor" red="0.98431372549999996" green="0.28235294119999998" blue="0.2274509804" alpha="1" colorSpace="calibratedRGB"/>
  73. </state>
  74. <connections>
  75. <action selector="clikcSureBtn:" destination="iN0-l3-epB" eventType="touchUpInside" id="vYs-nu-AHU"/>
  76. </connections>
  77. </button>
  78. </subviews>
  79. <color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
  80. <constraints>
  81. <constraint firstItem="xnp-Gw-08T" firstAttribute="centerY" secondItem="dSc-nv-Em3" secondAttribute="centerY" id="5TS-IG-YUC"/>
  82. <constraint firstItem="Z4O-cX-Gsh" firstAttribute="centerX" secondItem="8Fa-pg-IfH" secondAttribute="centerX" id="93n-Rc-tW0"/>
  83. <constraint firstItem="xnp-Gw-08T" firstAttribute="centerX" secondItem="8Fa-pg-IfH" secondAttribute="centerX" multiplier="1.5" id="Dkj-Jb-atS"/>
  84. <constraint firstItem="Z4O-cX-Gsh" firstAttribute="width" secondItem="8Fa-pg-IfH" secondAttribute="width" id="Eq6-5Y-sgy"/>
  85. <constraint firstItem="dSc-nv-Em3" firstAttribute="centerX" secondItem="8Fa-pg-IfH" secondAttribute="centerX" multiplier="0.5" id="GSP-fS-31y"/>
  86. <constraint firstItem="vzb-nH-EVN" firstAttribute="height" secondItem="dSc-nv-Em3" secondAttribute="height" id="I6w-PP-4UT"/>
  87. <constraint firstItem="lrC-NL-EfG" firstAttribute="centerX" secondItem="8Fa-pg-IfH" secondAttribute="centerX" id="JRT-j3-Op7"/>
  88. <constraint firstItem="lrC-NL-EfG" firstAttribute="top" secondItem="nva-Dm-HM1" secondAttribute="bottom" constant="25" id="SAA-OV-xm1"/>
  89. <constraint firstItem="lrC-NL-EfG" firstAttribute="width" secondItem="8Fa-pg-IfH" secondAttribute="width" multiplier="0.8" id="TXf-KJ-IBS"/>
  90. <constraint firstItem="dSc-nv-Em3" firstAttribute="top" secondItem="Z4O-cX-Gsh" secondAttribute="bottom" id="UHI-ta-hn2"/>
  91. <constraint firstItem="nva-Dm-HM1" firstAttribute="centerX" secondItem="8Fa-pg-IfH" secondAttribute="centerX" id="V8V-SY-h5V"/>
  92. <constraint firstItem="nva-Dm-HM1" firstAttribute="top" secondItem="8Fa-pg-IfH" secondAttribute="top" constant="25" id="ZAe-X2-TUn"/>
  93. <constraint firstAttribute="bottom" secondItem="dSc-nv-Em3" secondAttribute="bottom" id="iv4-Hi-sVO"/>
  94. <constraint firstItem="vzb-nH-EVN" firstAttribute="centerY" secondItem="dSc-nv-Em3" secondAttribute="centerY" id="jif-5R-Cfq"/>
  95. <constraint firstItem="Z4O-cX-Gsh" firstAttribute="top" secondItem="lrC-NL-EfG" secondAttribute="bottom" constant="25" id="pqm-Qc-KNH"/>
  96. <constraint firstItem="dSc-nv-Em3" firstAttribute="width" secondItem="8Fa-pg-IfH" secondAttribute="width" multiplier="0.5" id="rcb-GM-vb8"/>
  97. <constraint firstItem="vzb-nH-EVN" firstAttribute="centerX" secondItem="Z4O-cX-Gsh" secondAttribute="centerX" id="u75-co-UCf"/>
  98. <constraint firstItem="xnp-Gw-08T" firstAttribute="height" secondItem="dSc-nv-Em3" secondAttribute="height" id="ymq-S2-rel"/>
  99. <constraint firstItem="xnp-Gw-08T" firstAttribute="width" secondItem="8Fa-pg-IfH" secondAttribute="width" multiplier="0.5" id="z1f-Z4-gMy"/>
  100. </constraints>
  101. <userDefinedRuntimeAttributes>
  102. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  103. <real key="value" value="8"/>
  104. </userDefinedRuntimeAttribute>
  105. </userDefinedRuntimeAttributes>
  106. </view>
  107. </subviews>
  108. <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.20000000000000001" colorSpace="calibratedRGB"/>
  109. <constraints>
  110. <constraint firstItem="8Fa-pg-IfH" firstAttribute="width" secondItem="iN0-l3-epB" secondAttribute="width" multiplier="0.75" id="3wn-Qy-W9s"/>
  111. <constraint firstItem="8Fa-pg-IfH" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="centerY" multiplier="0.895" id="8XQ-rA-mb6"/>
  112. <constraint firstItem="8Fa-pg-IfH" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="9OD-OW-TYz"/>
  113. </constraints>
  114. <connections>
  115. <outlet property="bgView" destination="8Fa-pg-IfH" id="XRO-sB-ZrH"/>
  116. <outlet property="cancleBtn" destination="dSc-nv-Em3" id="g9t-ub-1Xh"/>
  117. <outlet property="contentHeight" destination="QBS-xl-etu" id="zC6-Lp-Uo7"/>
  118. <outlet property="contentL" destination="lrC-NL-EfG" id="hAp-dr-aFJ"/>
  119. <outlet property="contentTop" destination="SAA-OV-xm1" id="4Fu-Js-c92"/>
  120. <outlet property="sureBtn" destination="xnp-Gw-08T" id="5JW-9S-dNC"/>
  121. <outlet property="titleHeight" destination="Cpw-vM-0DK" id="J9J-az-98M"/>
  122. <outlet property="titleL" destination="nva-Dm-HM1" id="WkN-Mg-8yf"/>
  123. <outlet property="vLineL" destination="vzb-nH-EVN" id="TE4-0U-HNA"/>
  124. </connections>
  125. <point key="canvasLocation" x="139" y="116"/>
  126. </view>
  127. </objects>
  128. </document>