KSImageAlert.xib 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="23504" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
  3. <device id="retina6_1" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="23506"/>
  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="KSImageAlert">
  13. <rect key="frame" x="0.0" y="0.0" width="414" height="593"/>
  14. <autoresizingMask key="autoresizingMask"/>
  15. <subviews>
  16. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="nFM-Bl-bUU">
  17. <rect key="frame" x="31" y="226.5" width="352" height="140"/>
  18. <subviews>
  19. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="accell_left" translatesAutoresizingMaskIntoConstraints="NO" id="zHs-1o-h1G">
  20. <rect key="frame" x="17" y="23" width="3" height="12"/>
  21. <constraints>
  22. <constraint firstAttribute="height" constant="12" id="qN5-0f-iFZ"/>
  23. <constraint firstAttribute="width" constant="3" id="qu7-Qi-7Jl"/>
  24. </constraints>
  25. </imageView>
  26. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="提示" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="xyU-sV-u6y">
  27. <rect key="frame" x="27" y="14" width="305" height="30"/>
  28. <constraints>
  29. <constraint firstAttribute="height" constant="30" id="PwA-2V-aLC"/>
  30. </constraints>
  31. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="18"/>
  32. <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
  33. <nil key="highlightedColor"/>
  34. </label>
  35. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="0bL-fd-Mtf">
  36. <rect key="frame" x="176" y="92" width="176" height="48"/>
  37. <color key="backgroundColor" red="0.0039215686269999999" green="0.75686274509999996" blue="0.70980392160000005" alpha="1" colorSpace="calibratedRGB"/>
  38. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="16"/>
  39. <state key="normal" title="确定">
  40. <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  41. </state>
  42. <connections>
  43. <action selector="sureAction:" destination="iN0-l3-epB" eventType="touchUpInside" id="Shc-Z2-apO"/>
  44. </connections>
  45. </button>
  46. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="YZf-KC-KdK">
  47. <rect key="frame" x="0.0" y="92" width="176" height="48"/>
  48. <color key="backgroundColor" red="0.93333333333333335" green="0.93725490196078431" blue="0.95294117647058818" alpha="1" colorSpace="calibratedRGB"/>
  49. <constraints>
  50. <constraint firstAttribute="height" constant="48" id="RD6-Ii-N8V"/>
  51. </constraints>
  52. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="16"/>
  53. <state key="normal" title="取消">
  54. <color key="titleColor" red="0.0039215686274509803" green="0.75686274509803919" blue="0.70980392156862748" alpha="1" colorSpace="calibratedRGB"/>
  55. </state>
  56. <connections>
  57. <action selector="cancleAction:" destination="iN0-l3-epB" eventType="touchUpInside" id="phP-cs-GwQ"/>
  58. </connections>
  59. </button>
  60. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Lgn-tk-5dh">
  61. <rect key="frame" x="16" y="50" width="320" height="12"/>
  62. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="16"/>
  63. <color key="textColor" red="0.50196078431372548" green="0.50196078431372548" blue="0.50196078431372548" alpha="1" colorSpace="calibratedRGB"/>
  64. <nil key="highlightedColor"/>
  65. </label>
  66. </subviews>
  67. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  68. <constraints>
  69. <constraint firstAttribute="height" relation="greaterThanOrEqual" constant="140" id="79V-OH-stp"/>
  70. <constraint firstItem="0bL-fd-Mtf" firstAttribute="bottom" secondItem="YZf-KC-KdK" secondAttribute="bottom" id="A3c-bw-tHc"/>
  71. <constraint firstItem="YZf-KC-KdK" firstAttribute="leading" secondItem="nFM-Bl-bUU" secondAttribute="leading" id="AeB-Hy-Cov"/>
  72. <constraint firstAttribute="bottom" secondItem="YZf-KC-KdK" secondAttribute="bottom" id="AhC-cD-plW"/>
  73. <constraint firstItem="0bL-fd-Mtf" firstAttribute="width" secondItem="YZf-KC-KdK" secondAttribute="width" id="EhQ-Lx-yBz"/>
  74. <constraint firstItem="zHs-1o-h1G" firstAttribute="leading" secondItem="nFM-Bl-bUU" secondAttribute="leading" constant="17" id="XVx-a1-Z4Z"/>
  75. <constraint firstAttribute="trailing" secondItem="Lgn-tk-5dh" secondAttribute="trailing" constant="16" id="dP1-1I-KsJ"/>
  76. <constraint firstAttribute="trailing" secondItem="0bL-fd-Mtf" secondAttribute="trailing" id="enc-sa-ORe"/>
  77. <constraint firstItem="Lgn-tk-5dh" firstAttribute="leading" secondItem="nFM-Bl-bUU" secondAttribute="leading" constant="16" id="fMP-Ko-uFA"/>
  78. <constraint firstAttribute="trailing" secondItem="xyU-sV-u6y" secondAttribute="trailing" constant="20" id="jOz-oa-o6X"/>
  79. <constraint firstItem="zHs-1o-h1G" firstAttribute="top" secondItem="nFM-Bl-bUU" secondAttribute="top" constant="23" id="kEE-Vn-4Xr"/>
  80. <constraint firstItem="0bL-fd-Mtf" firstAttribute="leading" secondItem="YZf-KC-KdK" secondAttribute="trailing" id="naI-7k-7uT"/>
  81. <constraint firstItem="Lgn-tk-5dh" firstAttribute="top" secondItem="zHs-1o-h1G" secondAttribute="bottom" constant="15" id="no9-gO-69s"/>
  82. <constraint firstItem="0bL-fd-Mtf" firstAttribute="top" secondItem="Lgn-tk-5dh" secondAttribute="bottom" constant="30" id="r99-No-FvB"/>
  83. <constraint firstItem="0bL-fd-Mtf" firstAttribute="height" secondItem="YZf-KC-KdK" secondAttribute="height" id="teO-pr-J8h"/>
  84. <constraint firstItem="xyU-sV-u6y" firstAttribute="centerY" secondItem="zHs-1o-h1G" secondAttribute="centerY" id="xJx-0C-Gh2"/>
  85. <constraint firstItem="xyU-sV-u6y" firstAttribute="leading" secondItem="zHs-1o-h1G" secondAttribute="trailing" constant="7" id="xh4-H4-3V9"/>
  86. </constraints>
  87. <userDefinedRuntimeAttributes>
  88. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  89. <real key="value" value="10"/>
  90. </userDefinedRuntimeAttribute>
  91. </userDefinedRuntimeAttributes>
  92. </view>
  93. </subviews>
  94. <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.5" colorSpace="custom" customColorSpace="sRGB"/>
  95. <constraints>
  96. <constraint firstAttribute="trailing" secondItem="nFM-Bl-bUU" secondAttribute="trailing" constant="31" id="6Gd-8y-xh2"/>
  97. <constraint firstItem="nFM-Bl-bUU" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="31" id="9FP-iv-mhL"/>
  98. <constraint firstItem="nFM-Bl-bUU" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="ABR-Dv-CCC"/>
  99. <constraint firstItem="nFM-Bl-bUU" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="centerY" id="KIC-ak-MWQ"/>
  100. </constraints>
  101. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  102. <connections>
  103. <outlet property="cancleButton" destination="YZf-KC-KdK" id="aRj-tU-Yxg"/>
  104. <outlet property="sureButton" destination="0bL-fd-Mtf" id="c5G-jk-sme"/>
  105. <outlet property="titleLabel" destination="Lgn-tk-5dh" id="1dJ-ZB-pr1"/>
  106. <outlet property="topTitle" destination="xyU-sV-u6y" id="c1W-3Z-Tpd"/>
  107. </connections>
  108. <point key="canvasLocation" x="137.68115942028987" y="203.90625"/>
  109. </view>
  110. </objects>
  111. <resources>
  112. <image name="accell_left" width="3" height="12"/>
  113. </resources>
  114. </document>