RegAlertView.xib 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  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="System colors in document resources" minToolsVersion="11.0"/>
  8. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  9. </dependencies>
  10. <objects>
  11. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  12. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  13. <view contentMode="scaleToFill" id="iN0-l3-epB" customClass="RegAlertView">
  14. <rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
  15. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  16. <subviews>
  17. <view contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="C92-Ek-ItL" userLabel="bgView">
  18. <rect key="frame" x="62" y="295" width="290" height="306.5"/>
  19. <subviews>
  20. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="E1F-Jh-Zv0" userLabel="标题">
  21. <rect key="frame" x="14.5" y="15" width="261" height="20.5"/>
  22. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  23. <color key="textColor" red="0.19607843137254902" green="0.19607843137254902" blue="0.19607843137254902" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/>
  24. <nil key="highlightedColor"/>
  25. </label>
  26. <view contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="qFS-zR-iUj" userLabel="内容" customClass="YYLabel">
  27. <rect key="frame" x="14.5" y="45.5" width="261" height="200"/>
  28. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  29. <constraints>
  30. <constraint firstAttribute="height" relation="greaterThanOrEqual" constant="200" id="eJM-VD-Obw"/>
  31. </constraints>
  32. </view>
  33. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="IyI-HJ-rF0" userLabel="线">
  34. <rect key="frame" x="0.0" y="255.5" width="290" height="1"/>
  35. <color key="backgroundColor" red="0.96078431372549022" green="0.96078431372549022" blue="0.96078431372549022" alpha="1" colorSpace="calibratedRGB"/>
  36. <constraints>
  37. <constraint firstAttribute="height" constant="1" id="qWT-yQ-YwD"/>
  38. </constraints>
  39. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  40. <nil key="textColor"/>
  41. <nil key="highlightedColor"/>
  42. </label>
  43. <button opaque="NO" contentMode="scaleToFill" ambiguous="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="cZf-eP-xMl" userLabel="暂不使用">
  44. <rect key="frame" x="0.0" y="256.5" width="145" height="50"/>
  45. <constraints>
  46. <constraint firstAttribute="height" constant="50" id="xNo-4Z-lX1"/>
  47. </constraints>
  48. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  49. <state key="normal" title="暂不使用">
  50. <color key="titleColor" red="0.1960784314" green="0.1960784314" blue="0.1960784314" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/>
  51. </state>
  52. <connections>
  53. <action selector="clickCancleBtn:" destination="iN0-l3-epB" eventType="touchUpInside" id="tkb-Dq-m7k"/>
  54. </connections>
  55. </button>
  56. <button opaque="NO" contentMode="scaleToFill" ambiguous="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="aUw-hT-Mbt" userLabel="同意">
  57. <rect key="frame" x="145" y="256.5" width="145" height="50"/>
  58. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  59. <state key="normal" title="同意">
  60. <color key="titleColor" red="0.91764705882352937" green="0.21568627450980393" blue="0.49803921568627452" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  61. </state>
  62. <connections>
  63. <action selector="clickSureBtn:" destination="iN0-l3-epB" eventType="touchUpInside" id="Xlc-g8-Mdf"/>
  64. </connections>
  65. </button>
  66. </subviews>
  67. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  68. <constraints>
  69. <constraint firstItem="aUw-hT-Mbt" firstAttribute="width" secondItem="cZf-eP-xMl" secondAttribute="width" id="0ej-vx-wDx"/>
  70. <constraint firstAttribute="bottom" secondItem="cZf-eP-xMl" secondAttribute="bottom" id="1kc-lU-rAn"/>
  71. <constraint firstItem="cZf-eP-xMl" firstAttribute="width" secondItem="C92-Ek-ItL" secondAttribute="width" multiplier="0.5" id="2qL-ce-azO"/>
  72. <constraint firstItem="E1F-Jh-Zv0" firstAttribute="width" secondItem="C92-Ek-ItL" secondAttribute="width" multiplier="0.9" id="673-01-qQK"/>
  73. <constraint firstItem="aUw-hT-Mbt" firstAttribute="centerY" secondItem="cZf-eP-xMl" secondAttribute="centerY" id="Hfx-KF-UCW"/>
  74. <constraint firstItem="qFS-zR-iUj" firstAttribute="top" secondItem="E1F-Jh-Zv0" secondAttribute="bottom" constant="10" id="KXV-RL-nfo"/>
  75. <constraint firstItem="qFS-zR-iUj" firstAttribute="centerX" secondItem="C92-Ek-ItL" secondAttribute="centerX" id="Ldf-oy-EFk"/>
  76. <constraint firstItem="cZf-eP-xMl" firstAttribute="centerX" secondItem="C92-Ek-ItL" secondAttribute="centerX" multiplier="0.5" id="Ugr-9m-lL6"/>
  77. <constraint firstItem="E1F-Jh-Zv0" firstAttribute="top" secondItem="C92-Ek-ItL" secondAttribute="top" constant="15" id="XjW-Q3-TKb"/>
  78. <constraint firstItem="aUw-hT-Mbt" firstAttribute="height" secondItem="cZf-eP-xMl" secondAttribute="height" id="YCE-wM-vEg"/>
  79. <constraint firstItem="aUw-hT-Mbt" firstAttribute="centerX" secondItem="C92-Ek-ItL" secondAttribute="centerX" multiplier="1.5" id="YFA-O3-7Ab"/>
  80. <constraint firstItem="E1F-Jh-Zv0" firstAttribute="centerX" secondItem="C92-Ek-ItL" secondAttribute="centerX" id="jR3-PD-JJj"/>
  81. <constraint firstItem="qFS-zR-iUj" firstAttribute="width" secondItem="C92-Ek-ItL" secondAttribute="width" multiplier="0.9" id="kWr-vH-2hO"/>
  82. <constraint firstItem="IyI-HJ-rF0" firstAttribute="width" secondItem="C92-Ek-ItL" secondAttribute="width" id="kkS-ee-D3K"/>
  83. <constraint firstItem="IyI-HJ-rF0" firstAttribute="centerX" secondItem="C92-Ek-ItL" secondAttribute="centerX" id="p72-1G-PgB"/>
  84. <constraint firstItem="qFS-zR-iUj" firstAttribute="bottom" secondItem="IyI-HJ-rF0" secondAttribute="top" constant="-10" id="v7z-jR-E0k"/>
  85. <constraint firstItem="IyI-HJ-rF0" firstAttribute="bottom" secondItem="cZf-eP-xMl" secondAttribute="top" id="w2e-P1-zYr"/>
  86. </constraints>
  87. <userDefinedRuntimeAttributes>
  88. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  89. <real key="value" value="5"/>
  90. </userDefinedRuntimeAttribute>
  91. </userDefinedRuntimeAttributes>
  92. </view>
  93. </subviews>
  94. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  95. <constraints>
  96. <constraint firstItem="C92-Ek-ItL" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="centerY" id="GaM-S8-uyC"/>
  97. <constraint firstItem="C92-Ek-ItL" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="jzP-39-WO0"/>
  98. <constraint firstItem="C92-Ek-ItL" firstAttribute="width" secondItem="iN0-l3-epB" secondAttribute="width" multiplier="0.7" id="uc9-gU-976"/>
  99. </constraints>
  100. <connections>
  101. <outlet property="agreeBtn" destination="aUw-hT-Mbt" id="41T-tX-KCH"/>
  102. <outlet property="bgView" destination="C92-Ek-ItL" id="FaN-Kk-dYZ"/>
  103. <outlet property="contentL" destination="qFS-zR-iUj" id="xok-eZ-Mel"/>
  104. <outlet property="notAgreeBtn" destination="cZf-eP-xMl" id="5sp-a2-95K"/>
  105. <outlet property="titleL" destination="E1F-Jh-Zv0" id="fH8-6r-cv0"/>
  106. </connections>
  107. <point key="canvasLocation" x="139" y="115"/>
  108. </view>
  109. </objects>
  110. <resources>
  111. <systemColor name="systemBackgroundColor">
  112. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  113. </systemColor>
  114. </resources>
  115. </document>