IntroQuestionView.xib 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14460.31" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="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="14460.20"/>
  9. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  10. </dependencies>
  11. <objects>
  12. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  13. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  14. <view contentMode="scaleToFill" id="iN0-l3-epB" customClass="IntroQuestionView">
  15. <rect key="frame" x="0.0" y="0.0" width="280" height="240"/>
  16. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  17. <subviews>
  18. <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="equalSpacing" alignment="center" spacing="20" translatesAutoresizingMaskIntoConstraints="NO" id="e5b-59-gAm">
  19. <rect key="frame" x="0.0" y="0.0" width="280" height="95.5"/>
  20. <subviews>
  21. <label hidden="YES" opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Title" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="w6J-q5-6Fm">
  22. <rect key="frame" x="124.5" y="0.0" width="31.5" height="0.0"/>
  23. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  24. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  25. <nil key="highlightedColor"/>
  26. </label>
  27. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="9" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="dap-UA-sWC">
  28. <rect key="frame" x="120.5" y="0.0" width="39" height="19.5"/>
  29. <fontDescription key="fontDescription" type="system" weight="light" pointSize="16"/>
  30. <color key="textColor" red="0.9825797033" green="0.9825797033" blue="0.9825797033" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  31. <nil key="highlightedColor"/>
  32. </label>
  33. <stackView opaque="NO" contentMode="scaleToFill" alignment="bottom" translatesAutoresizingMaskIntoConstraints="NO" id="dBm-71-NIq">
  34. <rect key="frame" x="140" y="39.5" width="0.0" height="0.0"/>
  35. <subviews>
  36. <button hidden="YES" opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ngu-Xf-qec">
  37. <rect key="frame" x="0.0" y="0.0" width="110" height="36"/>
  38. <color key="backgroundColor" red="0.2470588235" green="0.90196078430000004" blue="0.41176470590000003" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  39. <constraints>
  40. <constraint firstAttribute="width" constant="110" id="GoJ-nS-Hn7"/>
  41. <constraint firstAttribute="height" constant="36" id="d8H-eI-PrD"/>
  42. </constraints>
  43. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  44. <state key="normal" title="Ok">
  45. <color key="titleColor" red="0.13725490200000001" green="0.0" blue="0.1019607843" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  46. </state>
  47. <connections>
  48. <action selector="okAction:" destination="iN0-l3-epB" eventType="touchUpInside" id="pb3-ad-zhF"/>
  49. </connections>
  50. </button>
  51. </subviews>
  52. </stackView>
  53. <stackView opaque="NO" contentMode="scaleToFill" spacing="20" translatesAutoresizingMaskIntoConstraints="NO" id="abM-yq-iUt">
  54. <rect key="frame" x="10" y="59.5" width="260" height="36"/>
  55. <subviews>
  56. <button opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="249" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="7ze-Fm-pK3">
  57. <rect key="frame" x="0.0" y="0.0" width="120" height="36"/>
  58. <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/>
  59. <constraints>
  60. <constraint firstAttribute="height" constant="36" id="V2q-Ar-r25"/>
  61. <constraint firstAttribute="width" constant="120" id="flD-ki-DsZ"/>
  62. </constraints>
  63. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  64. <state key="normal" title="NO">
  65. <color key="titleColor" red="0.2470588235" green="0.90196078430000004" blue="0.41176470590000003" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  66. </state>
  67. <connections>
  68. <action selector="noAction:" destination="iN0-l3-epB" eventType="touchUpInside" id="ibs-R3-aFA"/>
  69. </connections>
  70. </button>
  71. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="erc-tA-HdO">
  72. <rect key="frame" x="140" y="0.0" width="120" height="36"/>
  73. <color key="backgroundColor" red="0.2470588235" green="0.90196078430000004" blue="0.41176470590000003" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  74. <constraints>
  75. <constraint firstAttribute="height" constant="36" id="RgA-7e-9wi"/>
  76. <constraint firstAttribute="width" constant="120" id="sSk-fY-jy4"/>
  77. </constraints>
  78. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  79. <state key="normal" title="YES">
  80. <color key="titleColor" red="0.13725490200000001" green="0.0" blue="0.1019607843" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  81. </state>
  82. <connections>
  83. <action selector="yesAction:" destination="iN0-l3-epB" eventType="touchUpInside" id="wR5-2X-G4q"/>
  84. </connections>
  85. </button>
  86. </subviews>
  87. </stackView>
  88. </subviews>
  89. </stackView>
  90. </subviews>
  91. <color key="backgroundColor" red="0.3333333432674408" green="0.3333333432674408" blue="0.3333333432674408" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  92. <constraints>
  93. <constraint firstItem="e5b-59-gAm" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" id="5mD-NH-92L"/>
  94. <constraint firstAttribute="bottom" relation="greaterThanOrEqual" secondItem="e5b-59-gAm" secondAttribute="bottom" id="Ppp-Xf-crx"/>
  95. <constraint firstItem="e5b-59-gAm" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="QfK-Ta-u3Q"/>
  96. <constraint firstAttribute="trailing" secondItem="e5b-59-gAm" secondAttribute="trailing" id="a4R-k9-HpK"/>
  97. </constraints>
  98. <nil key="simulatedStatusBarMetrics"/>
  99. <nil key="simulatedTopBarMetrics"/>
  100. <nil key="simulatedBottomBarMetrics"/>
  101. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  102. <connections>
  103. <outlet property="alertPane" destination="dBm-71-NIq" id="jlG-mc-VfK"/>
  104. <outlet property="confirmPane" destination="abM-yq-iUt" id="clY-fE-3xA"/>
  105. <outlet property="noButton" destination="7ze-Fm-pK3" id="a9a-1m-JgV"/>
  106. <outlet property="okButton" destination="ngu-Xf-qec" id="OXh-d6-aSw"/>
  107. <outlet property="questionLabel" destination="dap-UA-sWC" id="9ys-Gt-cUs"/>
  108. <outlet property="questionTitle" destination="w6J-q5-6Fm" id="8Li-js-EnA"/>
  109. <outlet property="yesButton" destination="erc-tA-HdO" id="e1Y-BL-vJQ"/>
  110. </connections>
  111. <point key="canvasLocation" x="462" y="436"/>
  112. </view>
  113. </objects>
  114. </document>