ADHAlertView.xib 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="22154" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
  3. <device id="retina6_12" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="22130"/>
  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="xCy-u8-gHN" customClass="ADHAlertView" customModule="ADHTuanCan" customModuleProvider="target">
  13. <rect key="frame" x="0.0" y="0.0" width="393" height="852"/>
  14. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  15. <subviews>
  16. <view alpha="0.29999999999999999" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="zsY-Q8-wEe">
  17. <rect key="frame" x="0.0" y="0.0" width="393" height="852"/>
  18. <color key="backgroundColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  19. </view>
  20. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="8Wq-Lw-K34">
  21. <rect key="frame" x="25" y="356" width="343" height="140"/>
  22. <subviews>
  23. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="确定要清空菜品吗?" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="mJQ-yR-i04">
  24. <rect key="frame" x="98" y="35" width="147" height="19.333333333333329"/>
  25. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  26. <nil key="textColor"/>
  27. <nil key="highlightedColor"/>
  28. </label>
  29. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="5Jg-uS-2em">
  30. <rect key="frame" x="181.66666666666666" y="75" width="111.33333333333334" height="40"/>
  31. <color key="backgroundColor" red="0.77647058820000003" green="0.1333333333" blue="0.13725490200000001" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/>
  32. <constraints>
  33. <constraint firstAttribute="height" constant="40" id="zkf-KC-mko"/>
  34. </constraints>
  35. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  36. <state key="normal" title="确定">
  37. <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  38. </state>
  39. <userDefinedRuntimeAttributes>
  40. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  41. <real key="value" value="6"/>
  42. </userDefinedRuntimeAttribute>
  43. </userDefinedRuntimeAttributes>
  44. <connections>
  45. <action selector="sureAction:" destination="xCy-u8-gHN" eventType="touchUpInside" id="ulI-W1-anA"/>
  46. </connections>
  47. </button>
  48. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="G0P-Zw-Qe9">
  49. <rect key="frame" x="50.000000000000007" y="75" width="111.66666666666669" height="40"/>
  50. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  51. <constraints>
  52. <constraint firstAttribute="height" constant="40" id="EhC-XP-0Xx"/>
  53. </constraints>
  54. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  55. <state key="normal" title="取消">
  56. <color key="titleColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  57. </state>
  58. <userDefinedRuntimeAttributes>
  59. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  60. <real key="value" value="6"/>
  61. </userDefinedRuntimeAttribute>
  62. <userDefinedRuntimeAttribute type="number" keyPath="borderWidth">
  63. <real key="value" value="1"/>
  64. </userDefinedRuntimeAttribute>
  65. <userDefinedRuntimeAttribute type="color" keyPath="borderColor">
  66. <color key="value" red="0.92549019610000005" green="0.92549019610000005" blue="0.92549019610000005" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  67. </userDefinedRuntimeAttribute>
  68. </userDefinedRuntimeAttributes>
  69. <connections>
  70. <action selector="cancelAction:" destination="xCy-u8-gHN" eventType="touchUpInside" id="YVB-KI-S8G"/>
  71. </connections>
  72. </button>
  73. </subviews>
  74. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  75. <constraints>
  76. <constraint firstItem="mJQ-yR-i04" firstAttribute="centerX" secondItem="8Wq-Lw-K34" secondAttribute="centerX" id="6Vq-vc-Dik"/>
  77. <constraint firstItem="G0P-Zw-Qe9" firstAttribute="centerY" secondItem="5Jg-uS-2em" secondAttribute="centerY" id="BXU-rc-rIr"/>
  78. <constraint firstAttribute="bottom" secondItem="5Jg-uS-2em" secondAttribute="bottom" constant="25" id="GVo-2W-s5E"/>
  79. <constraint firstItem="mJQ-yR-i04" firstAttribute="top" secondItem="8Wq-Lw-K34" secondAttribute="top" constant="35" id="IVH-oI-oPm"/>
  80. <constraint firstItem="G0P-Zw-Qe9" firstAttribute="leading" secondItem="8Wq-Lw-K34" secondAttribute="leading" constant="50" id="KmI-Ju-TWW"/>
  81. <constraint firstItem="5Jg-uS-2em" firstAttribute="leading" secondItem="G0P-Zw-Qe9" secondAttribute="trailing" constant="20" id="PHg-BR-0Rf"/>
  82. <constraint firstAttribute="trailing" secondItem="5Jg-uS-2em" secondAttribute="trailing" constant="50" id="XeS-jt-jWB"/>
  83. <constraint firstAttribute="height" constant="140" id="lQ7-c6-urA"/>
  84. <constraint firstItem="5Jg-uS-2em" firstAttribute="width" secondItem="G0P-Zw-Qe9" secondAttribute="width" id="vvh-GR-edY"/>
  85. </constraints>
  86. <userDefinedRuntimeAttributes>
  87. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  88. <real key="value" value="25"/>
  89. </userDefinedRuntimeAttribute>
  90. </userDefinedRuntimeAttributes>
  91. </view>
  92. </subviews>
  93. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  94. <constraints>
  95. <constraint firstAttribute="bottom" secondItem="zsY-Q8-wEe" secondAttribute="bottom" id="5dh-l5-c64"/>
  96. <constraint firstAttribute="trailing" secondItem="8Wq-Lw-K34" secondAttribute="trailing" constant="25" id="GR9-ng-fFP"/>
  97. <constraint firstItem="8Wq-Lw-K34" firstAttribute="centerX" secondItem="xCy-u8-gHN" secondAttribute="centerX" id="Nel-T5-0q4"/>
  98. <constraint firstItem="zsY-Q8-wEe" firstAttribute="top" secondItem="xCy-u8-gHN" secondAttribute="top" id="P6f-g3-DK4"/>
  99. <constraint firstAttribute="trailing" secondItem="zsY-Q8-wEe" secondAttribute="trailing" id="bb5-bi-8PD"/>
  100. <constraint firstItem="zsY-Q8-wEe" firstAttribute="leading" secondItem="xCy-u8-gHN" secondAttribute="leading" id="g0y-8t-kHh"/>
  101. <constraint firstItem="8Wq-Lw-K34" firstAttribute="centerY" secondItem="xCy-u8-gHN" secondAttribute="centerY" id="j2y-sw-iT8"/>
  102. <constraint firstItem="8Wq-Lw-K34" firstAttribute="leading" secondItem="xCy-u8-gHN" secondAttribute="leading" constant="25" id="u9K-Es-67i"/>
  103. </constraints>
  104. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  105. <connections>
  106. <outlet property="blackView" destination="zsY-Q8-wEe" id="1Ya-Ed-1Yp"/>
  107. </connections>
  108. <point key="canvasLocation" x="364" y="-246"/>
  109. </view>
  110. </objects>
  111. </document>