KSPublicAlertView.xib 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="20037" 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="20020"/>
  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="KSPublicAlertView">
  13. <rect key="frame" x="0.0" y="0.0" width="414" height="831"/>
  14. <autoresizingMask key="autoresizingMask"/>
  15. <subviews>
  16. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="3b9-KX-1f0">
  17. <rect key="frame" x="47" y="322.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="dY9-ag-CwK">
  20. <rect key="frame" x="27" y="18" width="273" height="30"/>
  21. <constraints>
  22. <constraint firstAttribute="height" constant="30" id="TAa-cN-fF8"/>
  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="L4C-eG-exs">
  29. <rect key="frame" x="162.5" y="125.5" width="144.5" height="44"/>
  30. <color key="backgroundColor" red="0.1764705882" green="0.78039215689999997" blue="0.66666666669999997" alpha="1" colorSpace="calibratedRGB"/>
  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="Pgy-t6-4Ry"/>
  42. </connections>
  43. </button>
  44. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="yAc-6f-XSy">
  45. <rect key="frame" x="13" y="125.5" width="144.5" height="44"/>
  46. <constraints>
  47. <constraint firstAttribute="height" constant="44" id="5K1-u8-Aw6"/>
  48. </constraints>
  49. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  50. <state key="normal" title="取消">
  51. <color key="titleColor" red="0.0039215686269999999" green="0.75686274509999996" blue="0.70980392160000005" alpha="1" colorSpace="calibratedRGB"/>
  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="lY7-O5-Xqp"/>
  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="75G-K8-Mgg">
  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="hVM-RC-bSr">
  77. <rect key="frame" x="18" y="24" width="4" height="18"/>
  78. <color key="backgroundColor" red="0.0039215686269999999" green="0.75686274509999996" blue="0.70980392160000005" alpha="1" colorSpace="calibratedRGB"/>
  79. <constraints>
  80. <constraint firstAttribute="height" constant="18" id="xpH-rm-A2j"/>
  81. <constraint firstAttribute="width" constant="4" id="z6W-x6-koW"/>
  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 firstItem="yAc-6f-XSy" firstAttribute="leading" secondItem="3b9-KX-1f0" secondAttribute="leading" constant="13" id="A7x-aI-IyD"/>
  93. <constraint firstItem="L4C-eG-exs" firstAttribute="leading" secondItem="yAc-6f-XSy" secondAttribute="trailing" constant="5" id="Bh6-PY-p4S"/>
  94. <constraint firstItem="L4C-eG-exs" firstAttribute="height" secondItem="yAc-6f-XSy" secondAttribute="height" id="BnZ-2L-eok"/>
  95. <constraint firstAttribute="trailing" secondItem="dY9-ag-CwK" secondAttribute="trailing" constant="20" id="Ip9-L6-2Nn"/>
  96. <constraint firstAttribute="trailing" secondItem="75G-K8-Mgg" secondAttribute="trailing" constant="14" id="Ipw-PS-rsG"/>
  97. <constraint firstAttribute="bottom" secondItem="yAc-6f-XSy" secondAttribute="bottom" constant="17" id="UiJ-kA-PXC"/>
  98. <constraint firstItem="dY9-ag-CwK" firstAttribute="top" secondItem="3b9-KX-1f0" secondAttribute="top" constant="18" id="YCe-mx-ufc"/>
  99. <constraint firstItem="75G-K8-Mgg" firstAttribute="leading" secondItem="3b9-KX-1f0" secondAttribute="leading" constant="19" id="Zgf-bs-adf"/>
  100. <constraint firstItem="75G-K8-Mgg" firstAttribute="top" secondItem="dY9-ag-CwK" secondAttribute="bottom" constant="20" id="aTo-Dm-iuu"/>
  101. <constraint firstItem="dY9-ag-CwK" firstAttribute="leading" secondItem="hVM-RC-bSr" secondAttribute="trailing" constant="5" id="d4n-7h-4Cm"/>
  102. <constraint firstItem="hVM-RC-bSr" firstAttribute="leading" secondItem="3b9-KX-1f0" secondAttribute="leading" constant="18" id="fUG-ke-LAn"/>
  103. <constraint firstItem="dY9-ag-CwK" firstAttribute="centerY" secondItem="hVM-RC-bSr" secondAttribute="centerY" id="iW4-rB-oPc"/>
  104. <constraint firstAttribute="trailing" secondItem="L4C-eG-exs" secondAttribute="trailing" constant="13" id="phn-RV-9gH"/>
  105. <constraint firstAttribute="width" constant="320" id="q4k-AQ-LaT"/>
  106. <constraint firstItem="L4C-eG-exs" firstAttribute="bottom" secondItem="yAc-6f-XSy" secondAttribute="bottom" id="vyg-TN-SBp"/>
  107. <constraint firstItem="L4C-eG-exs" firstAttribute="width" secondItem="yAc-6f-XSy" secondAttribute="width" id="y46-NI-6sF"/>
  108. <constraint firstItem="L4C-eG-exs" firstAttribute="top" secondItem="75G-K8-Mgg" secondAttribute="bottom" constant="24" id="zGT-pp-1AG"/>
  109. <constraint firstAttribute="height" relation="greaterThanOrEqual" constant="140" id="zrQ-iS-sC6"/>
  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="3b9-KX-1f0" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="84x-BF-hZR"/>
  134. <constraint firstItem="3b9-KX-1f0" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="centerY" id="8s3-O0-UPX"/>
  135. </constraints>
  136. <nil key="simulatedTopBarMetrics"/>
  137. <nil key="simulatedBottomBarMetrics"/>
  138. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  139. <connections>
  140. <outlet property="cancleButton" destination="yAc-6f-XSy" id="gft-OU-gCQ"/>
  141. <outlet property="descLabel" destination="75G-K8-Mgg" id="KFH-sk-nhd"/>
  142. <outlet property="sureButton" destination="L4C-eG-exs" id="tY3-Sd-5cK"/>
  143. <outlet property="topTitle" destination="dY9-ag-CwK" id="XN4-1j-Rmz"/>
  144. </connections>
  145. <point key="canvasLocation" x="131.8840579710145" y="132.25446428571428"/>
  146. </view>
  147. </objects>
  148. </document>