KSTipsAlert.xib 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="23094" 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="23084"/>
  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="KSTipsAlert">
  13. <rect key="frame" x="0.0" y="0.0" width="414" height="517"/>
  14. <autoresizingMask key="autoresizingMask"/>
  15. <subviews>
  16. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ypl-H9-e3L">
  17. <rect key="frame" x="47" y="165.5" width="320" height="186.5"/>
  18. <subviews>
  19. <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="fjg-28-kfA">
  20. <rect key="frame" x="27" y="18" width="273" height="30"/>
  21. <constraints>
  22. <constraint firstAttribute="height" constant="30" id="Oap-77-z3x"/>
  23. </constraints>
  24. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="18"/>
  25. <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  26. <nil key="highlightedColor"/>
  27. </label>
  28. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="x2J-5B-1Wq">
  29. <rect key="frame" x="162.5" y="125.5" width="144.5" height="44"/>
  30. <color key="backgroundColor" red="0.1764705882352941" green="0.7803921568627451" blue="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  31. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  32. <state key="normal" title="确定">
  33. <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  34. </state>
  35. <userDefinedRuntimeAttributes>
  36. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  37. <real key="value" value="22"/>
  38. </userDefinedRuntimeAttribute>
  39. </userDefinedRuntimeAttributes>
  40. <connections>
  41. <action selector="sureAction:" destination="iN0-l3-epB" eventType="touchUpInside" id="TIl-ub-i4Z"/>
  42. </connections>
  43. </button>
  44. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="7Kd-Un-rMd">
  45. <rect key="frame" x="13" y="125.5" width="144.5" height="44"/>
  46. <constraints>
  47. <constraint firstAttribute="height" constant="44" id="K0Z-aa-pVg"/>
  48. </constraints>
  49. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  50. <state key="normal" title="取消">
  51. <color key="titleColor" red="0.1764705882352941" green="0.7803921568627451" blue="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  52. </state>
  53. <userDefinedRuntimeAttributes>
  54. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  55. <real key="value" value="22"/>
  56. </userDefinedRuntimeAttribute>
  57. <userDefinedRuntimeAttribute type="number" keyPath="borderWidth">
  58. <real key="value" value="1"/>
  59. </userDefinedRuntimeAttribute>
  60. <userDefinedRuntimeAttribute type="color" keyPath="borderColor">
  61. <color key="value" red="0.1764705882" green="0.78039215689999997" blue="0.66666666669999997" alpha="1" colorSpace="calibratedRGB"/>
  62. </userDefinedRuntimeAttribute>
  63. </userDefinedRuntimeAttributes>
  64. <connections>
  65. <action selector="cancleAction:" destination="iN0-l3-epB" eventType="touchUpInside" id="MQM-uv-Jkp"/>
  66. </connections>
  67. </button>
  68. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="YM9-iV-JM6">
  69. <rect key="frame" x="19" y="68" width="287" height="33.5"/>
  70. <string key="text">聊天功能已断开,是否重新连接?
  71. </string>
  72. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  73. <color key="textColor" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/>
  74. <nil key="highlightedColor"/>
  75. </label>
  76. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="I5d-vy-DYW">
  77. <rect key="frame" x="18" y="24" width="4" height="18"/>
  78. <color key="backgroundColor" red="0.1764705882352941" green="0.7803921568627451" blue="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  79. <constraints>
  80. <constraint firstAttribute="width" constant="4" id="9KX-ZB-vT4"/>
  81. <constraint firstAttribute="height" constant="18" id="aa3-26-Svy"/>
  82. </constraints>
  83. <userDefinedRuntimeAttributes>
  84. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  85. <real key="value" value="2"/>
  86. </userDefinedRuntimeAttribute>
  87. </userDefinedRuntimeAttributes>
  88. </view>
  89. </subviews>
  90. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  91. <constraints>
  92. <constraint firstAttribute="width" constant="320" id="2I4-8N-ncb"/>
  93. <constraint firstItem="7Kd-Un-rMd" firstAttribute="leading" secondItem="ypl-H9-e3L" secondAttribute="leading" constant="13" id="2fu-SB-zQH"/>
  94. <constraint firstItem="fjg-28-kfA" firstAttribute="top" secondItem="ypl-H9-e3L" secondAttribute="top" constant="18" id="E7H-Vl-JqW"/>
  95. <constraint firstAttribute="trailing" secondItem="x2J-5B-1Wq" secondAttribute="trailing" constant="13" id="GJx-ee-74l"/>
  96. <constraint firstAttribute="height" relation="greaterThanOrEqual" constant="140" id="GSF-uC-Gz2"/>
  97. <constraint firstItem="x2J-5B-1Wq" firstAttribute="top" secondItem="YM9-iV-JM6" secondAttribute="bottom" constant="24" id="IDC-5m-0Tm"/>
  98. <constraint firstItem="YM9-iV-JM6" firstAttribute="top" secondItem="fjg-28-kfA" secondAttribute="bottom" constant="20" id="Ios-2z-QHw"/>
  99. <constraint firstItem="x2J-5B-1Wq" firstAttribute="width" secondItem="7Kd-Un-rMd" secondAttribute="width" id="PTM-XO-HCz"/>
  100. <constraint firstAttribute="trailing" secondItem="YM9-iV-JM6" secondAttribute="trailing" constant="14" id="Psf-V1-FR5"/>
  101. <constraint firstItem="fjg-28-kfA" firstAttribute="centerY" secondItem="I5d-vy-DYW" secondAttribute="centerY" id="R1Y-To-jlG"/>
  102. <constraint firstItem="fjg-28-kfA" firstAttribute="leading" secondItem="I5d-vy-DYW" secondAttribute="trailing" constant="5" id="SDs-L9-pP2"/>
  103. <constraint firstItem="I5d-vy-DYW" firstAttribute="leading" secondItem="ypl-H9-e3L" secondAttribute="leading" constant="18" id="fxs-c1-c0a"/>
  104. <constraint firstItem="x2J-5B-1Wq" firstAttribute="leading" secondItem="7Kd-Un-rMd" secondAttribute="trailing" constant="5" id="gxB-ts-aLK"/>
  105. <constraint firstAttribute="trailing" secondItem="fjg-28-kfA" secondAttribute="trailing" constant="20" id="lSX-79-Ova"/>
  106. <constraint firstItem="YM9-iV-JM6" firstAttribute="leading" secondItem="ypl-H9-e3L" secondAttribute="leading" constant="19" id="pcs-sK-TWX"/>
  107. <constraint firstItem="x2J-5B-1Wq" firstAttribute="height" secondItem="7Kd-Un-rMd" secondAttribute="height" id="q3C-Y0-Xtu"/>
  108. <constraint firstItem="x2J-5B-1Wq" firstAttribute="bottom" secondItem="7Kd-Un-rMd" secondAttribute="bottom" id="tyq-wv-hWX"/>
  109. <constraint firstAttribute="bottom" secondItem="7Kd-Un-rMd" secondAttribute="bottom" constant="17" id="vgB-5h-vtD"/>
  110. </constraints>
  111. <userDefinedRuntimeAttributes>
  112. <userDefinedRuntimeAttribute type="size" keyPath="shadowOffset">
  113. <size key="value" width="0.0" height="24"/>
  114. </userDefinedRuntimeAttribute>
  115. <userDefinedRuntimeAttribute type="color" keyPath="shadowUIColor">
  116. <color key="value" red="0.0" green="0.0" blue="0.0" alpha="0.22" colorSpace="calibratedRGB"/>
  117. </userDefinedRuntimeAttribute>
  118. <userDefinedRuntimeAttribute type="number" keyPath="shadowOpacity">
  119. <real key="value" value="1"/>
  120. </userDefinedRuntimeAttribute>
  121. <userDefinedRuntimeAttribute type="number" keyPath="shadowRadius">
  122. <real key="value" value="24"/>
  123. </userDefinedRuntimeAttribute>
  124. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  125. <real key="value" value="6"/>
  126. </userDefinedRuntimeAttribute>
  127. <userDefinedRuntimeAttribute type="boolean" keyPath="maskToBounces" value="NO"/>
  128. </userDefinedRuntimeAttributes>
  129. </view>
  130. </subviews>
  131. <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.5" colorSpace="custom" customColorSpace="calibratedRGB"/>
  132. <constraints>
  133. <constraint firstItem="ypl-H9-e3L" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="A47-fr-Cer"/>
  134. <constraint firstItem="ypl-H9-e3L" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="centerY" id="pNJ-u4-3eL"/>
  135. </constraints>
  136. <nil key="simulatedBottomBarMetrics"/>
  137. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  138. <connections>
  139. <outlet property="cancleButton" destination="7Kd-Un-rMd" id="qld-xO-Wyt"/>
  140. <outlet property="descLabel" destination="YM9-iV-JM6" id="cNG-pv-wEx"/>
  141. <outlet property="sureButton" destination="x2J-5B-1Wq" id="W7p-JL-Ic5"/>
  142. <outlet property="tipsIcon" destination="I5d-vy-DYW" id="AjA-Za-wL6"/>
  143. <outlet property="topTitle" destination="fjg-28-kfA" id="lCJ-jh-xeg"/>
  144. </connections>
  145. <point key="canvasLocation" x="69.565217391304358" y="94.754464285714278"/>
  146. </view>
  147. </objects>
  148. </document>