AlertViewController.xib 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="13529" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
  3. <device id="retina4_7" orientation="portrait">
  4. <adaptation id="fullscreen"/>
  5. </device>
  6. <dependencies>
  7. <deployment identifier="iOS"/>
  8. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13527"/>
  9. <capability name="Constraints with non-1.0 multipliers" minToolsVersion="5.1"/>
  10. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  11. </dependencies>
  12. <customFonts key="customFonts">
  13. <array key="Montserrat-Regular.ttf">
  14. <string>Montserrat-Regular</string>
  15. </array>
  16. <array key="SourceSansPro-Regular.ttf">
  17. <string>SourceSansPro-Regular</string>
  18. </array>
  19. </customFonts>
  20. <objects>
  21. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="AlertViewController" customModule="o2app" customModuleProvider="target">
  22. <connections>
  23. <outlet property="bodyLabel" destination="01e-QM-I1y" id="tRQ-yB-RGk"/>
  24. <outlet property="firstButton" destination="XOz-4j-5ct" id="N6t-aS-bho"/>
  25. <outlet property="firstButtonWidthConstraint" destination="tMl-R5-d9o" id="WdS-21-FsZ"/>
  26. <outlet property="secondButton" destination="Ujc-0e-DaI" id="6U4-x5-dXf"/>
  27. <outlet property="titleLabel" destination="hc8-UP-xE5" id="rbN-Os-hDp"/>
  28. <outlet property="view" destination="6sv-dW-Ydh" id="31j-hx-yOa"/>
  29. </connections>
  30. </placeholder>
  31. <view contentMode="scaleToFill" id="6sv-dW-Ydh">
  32. <rect key="frame" x="0.0" y="0.0" width="270" height="180"/>
  33. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  34. <subviews>
  35. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Are you sure?" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="hc8-UP-xE5">
  36. <rect key="frame" x="20" y="30" width="230" height="18.5"/>
  37. <constraints>
  38. <constraint firstAttribute="height" constant="18.5" id="6En-NT-5i1"/>
  39. <constraint firstAttribute="height" constant="18.5" id="ysL-Sm-nMw"/>
  40. </constraints>
  41. <fontDescription key="fontDescription" name="Montserrat-Regular" family="Montserrat" pointSize="15"/>
  42. <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  43. <nil key="highlightedColor"/>
  44. <variation key="default">
  45. <mask key="constraints">
  46. <exclude reference="ysL-Sm-nMw"/>
  47. </mask>
  48. </variation>
  49. </label>
  50. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="XOz-4j-5ct">
  51. <rect key="frame" x="0.0" y="120" width="135" height="60"/>
  52. <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  53. <constraints>
  54. <constraint firstAttribute="height" constant="60" id="1Vc-b1-d9B"/>
  55. </constraints>
  56. <fontDescription key="fontDescription" name="Montserrat-Regular" family="Montserrat" pointSize="11"/>
  57. <state key="normal" title="NO, SORRY 🕶">
  58. <color key="titleColor" red="0.2274509804" green="0.83529411760000005" blue="0.35686274509999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  59. </state>
  60. <connections>
  61. <action selector="didSelectFirstAction:" destination="-1" eventType="touchUpInside" id="tuc-Av-N1p"/>
  62. </connections>
  63. </button>
  64. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Ujc-0e-DaI">
  65. <rect key="frame" x="138" y="120" width="132" height="60"/>
  66. <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  67. <constraints>
  68. <constraint firstAttribute="height" constant="60" id="9Uy-Cv-PkK"/>
  69. <constraint firstAttribute="height" relation="greaterThanOrEqual" constant="80" id="EkW-ze-5dw"/>
  70. </constraints>
  71. <fontDescription key="fontDescription" name="Montserrat-Regular" family="Montserrat" pointSize="11"/>
  72. <state key="normal" title="YES, PLEASE ☹️">
  73. <color key="titleColor" red="0.59215686270000001" green="0.59215686270000001" blue="0.59215686270000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  74. </state>
  75. <variation key="default">
  76. <mask key="constraints">
  77. <exclude reference="EkW-ze-5dw"/>
  78. </mask>
  79. </variation>
  80. <connections>
  81. <action selector="didSelectSecondAction:" destination="-1" eventType="touchUpInside" id="fwD-ae-gRz"/>
  82. </connections>
  83. </button>
  84. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="This action can't be undone." textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="3" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="01e-QM-I1y">
  85. <rect key="frame" x="20" y="48.5" width="230" height="71.5"/>
  86. <fontDescription key="fontDescription" name="SourceSansPro-Regular" family="Source Sans Pro" pointSize="15"/>
  87. <color key="textColor" red="0.59215686274509804" green="0.59215686274509804" blue="0.59215686274509804" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  88. <nil key="highlightedColor"/>
  89. </label>
  90. </subviews>
  91. <color key="backgroundColor" red="0.98039215686274506" green="0.98039215686274506" blue="0.98039215686274506" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  92. <constraints>
  93. <constraint firstItem="hc8-UP-xE5" firstAttribute="top" secondItem="6sv-dW-Ydh" secondAttribute="top" constant="30" id="Fl7-kc-TJx"/>
  94. <constraint firstAttribute="bottom" secondItem="XOz-4j-5ct" secondAttribute="bottom" id="IG6-zS-nxa"/>
  95. <constraint firstItem="01e-QM-I1y" firstAttribute="leading" secondItem="6sv-dW-Ydh" secondAttribute="leading" constant="20" id="RDz-pU-qUG"/>
  96. <constraint firstItem="Ujc-0e-DaI" firstAttribute="leading" secondItem="XOz-4j-5ct" secondAttribute="trailing" constant="3" id="T4e-IB-mHj"/>
  97. <constraint firstItem="XOz-4j-5ct" firstAttribute="top" secondItem="01e-QM-I1y" secondAttribute="bottom" id="V3O-tJ-q27"/>
  98. <constraint firstItem="XOz-4j-5ct" firstAttribute="leading" secondItem="6sv-dW-Ydh" secondAttribute="leading" id="WTo-Gs-dDG"/>
  99. <constraint firstItem="01e-QM-I1y" firstAttribute="top" secondItem="hc8-UP-xE5" secondAttribute="bottom" id="fcR-Vb-Yao"/>
  100. <constraint firstAttribute="trailing" secondItem="hc8-UP-xE5" secondAttribute="trailing" constant="20" id="gHR-A1-4hs"/>
  101. <constraint firstAttribute="trailing" secondItem="01e-QM-I1y" secondAttribute="trailing" constant="20" id="kCs-Wm-ENy"/>
  102. <constraint firstAttribute="bottom" secondItem="Ujc-0e-DaI" secondAttribute="bottom" id="sN2-7n-bnS"/>
  103. <constraint firstItem="XOz-4j-5ct" firstAttribute="width" secondItem="6sv-dW-Ydh" secondAttribute="width" multiplier="0.5" id="tMl-R5-d9o"/>
  104. <constraint firstItem="hc8-UP-xE5" firstAttribute="leading" secondItem="6sv-dW-Ydh" secondAttribute="leading" constant="20" id="voO-wV-cXT"/>
  105. <constraint firstAttribute="trailing" secondItem="Ujc-0e-DaI" secondAttribute="trailing" id="wWS-GE-PZu"/>
  106. </constraints>
  107. <nil key="simulatedStatusBarMetrics"/>
  108. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  109. <point key="canvasLocation" x="163" y="-143"/>
  110. </view>
  111. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  112. </objects>
  113. </document>