IntroView.xib 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14490.70" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
  3. <device id="retina5_9" orientation="portrait">
  4. <adaptation id="fullscreen"/>
  5. </device>
  6. <dependencies>
  7. <deployment identifier="iOS"/>
  8. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14490.49"/>
  9. <capability name="Safe area layout guides" minToolsVersion="9.0"/>
  10. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  11. </dependencies>
  12. <objects>
  13. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  14. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  15. <view contentMode="scaleToFill" id="iN0-l3-epB" customClass="IntroView" customModule="Nextcloud" customModuleProvider="target">
  16. <rect key="frame" x="0.0" y="0.0" width="375" height="812"/>
  17. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  18. <subviews>
  19. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="eXx-EZ-qlO">
  20. <rect key="frame" x="0.0" y="0.0" width="375" height="812"/>
  21. <subviews>
  22. <button opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="twJ-n3-mgv">
  23. <rect key="frame" x="52.666666666666657" y="501" width="270" height="40"/>
  24. <constraints>
  25. <constraint firstAttribute="width" constant="270" id="fg7-vj-OWg"/>
  26. <constraint firstAttribute="height" constant="40" id="nuu-SU-mRi"/>
  27. </constraints>
  28. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  29. <state key="normal" title="Login"/>
  30. <connections>
  31. <action selector="login:" destination="iN0-l3-epB" eventType="touchUpInside" id="neB-f8-gWJ"/>
  32. </connections>
  33. </button>
  34. <button opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="FfA-1J-1vc">
  35. <rect key="frame" x="52.666666666666657" y="557" width="270" height="40"/>
  36. <constraints>
  37. <constraint firstAttribute="width" constant="270" id="XMy-Bo-AbU"/>
  38. <constraint firstAttribute="height" constant="40" id="pbU-Yz-Qz5"/>
  39. </constraints>
  40. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  41. <state key="normal" title="Signup"/>
  42. <connections>
  43. <action selector="signup:" destination="iN0-l3-epB" eventType="touchUpInside" id="hQK-vz-uRg"/>
  44. </connections>
  45. </button>
  46. <collectionView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" pagingEnabled="YES" showsHorizontalScrollIndicator="NO" showsVerticalScrollIndicator="NO" dataMode="none" translatesAutoresizingMaskIntoConstraints="NO" id="NgB-S6-3Cp">
  47. <rect key="frame" x="8" y="60" width="359" height="359"/>
  48. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  49. <constraints>
  50. <constraint firstAttribute="width" secondItem="NgB-S6-3Cp" secondAttribute="height" multiplier="1:1" priority="750" id="2Vf-FT-E9n"/>
  51. </constraints>
  52. <collectionViewFlowLayout key="collectionViewLayout" scrollDirection="horizontal" minimumLineSpacing="0.0" minimumInteritemSpacing="0.0" id="Yfp-WG-gMy">
  53. <size key="itemSize" width="0.0" height="0.0"/>
  54. <size key="headerReferenceSize" width="0.0" height="0.0"/>
  55. <size key="footerReferenceSize" width="0.0" height="0.0"/>
  56. <inset key="sectionInset" minX="0.0" minY="0.0" maxX="0.0" maxY="0.0"/>
  57. </collectionViewFlowLayout>
  58. </collectionView>
  59. <pageControl opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" numberOfPages="3" translatesAutoresizingMaskIntoConstraints="NO" id="Zxj-8i-ZOp">
  60. <rect key="frame" x="168" y="427" width="39" height="10"/>
  61. <constraints>
  62. <constraint firstAttribute="height" constant="10" id="raN-SI-1Y0"/>
  63. </constraints>
  64. </pageControl>
  65. <button opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Om8-k2-tHk">
  66. <rect key="frame" x="52.666666666666657" y="740" width="270" height="30"/>
  67. <constraints>
  68. <constraint firstAttribute="height" constant="30" id="GNx-pk-SxY"/>
  69. <constraint firstAttribute="width" constant="270" id="edq-KT-xx7"/>
  70. </constraints>
  71. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  72. <state key="normal" title="Host"/>
  73. <connections>
  74. <action selector="host:" destination="iN0-l3-epB" eventType="touchUpInside" id="g4o-hg-ifv"/>
  75. </connections>
  76. </button>
  77. </subviews>
  78. <color key="backgroundColor" white="0.33333333333333331" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  79. <constraints>
  80. <constraint firstItem="twJ-n3-mgv" firstAttribute="top" secondItem="Zxj-8i-ZOp" secondAttribute="bottom" priority="250" constant="64" id="21a-6U-WrX"/>
  81. <constraint firstItem="twJ-n3-mgv" firstAttribute="centerX" secondItem="eXx-EZ-qlO" secondAttribute="centerX" id="664-10-bMf"/>
  82. <constraint firstItem="NgB-S6-3Cp" firstAttribute="leading" secondItem="eXx-EZ-qlO" secondAttribute="leading" constant="8" id="AUg-aI-b8x"/>
  83. <constraint firstItem="twJ-n3-mgv" firstAttribute="top" relation="greaterThanOrEqual" secondItem="Zxj-8i-ZOp" secondAttribute="bottom" constant="8" id="CiK-vp-QWa"/>
  84. <constraint firstItem="Om8-k2-tHk" firstAttribute="bottom" secondItem="eXx-EZ-qlO" secondAttribute="bottomMargin" id="MI4-7x-BGg"/>
  85. <constraint firstItem="FfA-1J-1vc" firstAttribute="centerX" secondItem="eXx-EZ-qlO" secondAttribute="centerX" id="MV1-pv-egh"/>
  86. <constraint firstItem="Zxj-8i-ZOp" firstAttribute="centerX" secondItem="eXx-EZ-qlO" secondAttribute="centerX" id="Ps1-ur-W19"/>
  87. <constraint firstItem="NgB-S6-3Cp" firstAttribute="top" secondItem="eXx-EZ-qlO" secondAttribute="top" constant="60" id="Qvd-7E-KJI">
  88. <variation key="heightClass=compact" constant="8"/>
  89. </constraint>
  90. <constraint firstItem="Zxj-8i-ZOp" firstAttribute="top" secondItem="NgB-S6-3Cp" secondAttribute="bottom" constant="8" id="Ryu-kt-AaI"/>
  91. <constraint firstItem="Om8-k2-tHk" firstAttribute="centerX" secondItem="eXx-EZ-qlO" secondAttribute="centerX" id="Trv-Pp-F65"/>
  92. <constraint firstItem="NgB-S6-3Cp" firstAttribute="centerX" secondItem="eXx-EZ-qlO" secondAttribute="centerX" id="gUz-Nd-Ogo"/>
  93. <constraint firstItem="FfA-1J-1vc" firstAttribute="top" secondItem="twJ-n3-mgv" secondAttribute="bottom" constant="16" id="lwW-jL-d54"/>
  94. <constraint firstItem="Om8-k2-tHk" firstAttribute="top" relation="greaterThanOrEqual" secondItem="FfA-1J-1vc" secondAttribute="bottom" constant="8" id="qhI-hY-G2p"/>
  95. <constraint firstAttribute="trailing" secondItem="NgB-S6-3Cp" secondAttribute="trailing" constant="8" id="ruS-K1-w3R"/>
  96. </constraints>
  97. </view>
  98. </subviews>
  99. <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  100. <constraints>
  101. <constraint firstItem="eXx-EZ-qlO" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" id="IDH-xX-Qnw"/>
  102. <constraint firstItem="eXx-EZ-qlO" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="Z86-yt-xah"/>
  103. <constraint firstItem="eXx-EZ-qlO" firstAttribute="trailing" secondItem="iN0-l3-epB" secondAttribute="trailing" id="aA6-fr-CsP"/>
  104. <constraint firstAttribute="bottom" secondItem="eXx-EZ-qlO" secondAttribute="bottom" id="gvf-hq-bop"/>
  105. </constraints>
  106. <viewLayoutGuide key="safeArea" id="vUN-kp-3ea"/>
  107. <connections>
  108. <outlet property="backgroundView" destination="eXx-EZ-qlO" id="IFL-aL-yiu"/>
  109. <outlet property="buttonHost" destination="Om8-k2-tHk" id="Cg2-s2-qFe"/>
  110. <outlet property="buttonLogin" destination="twJ-n3-mgv" id="SH1-qa-92p"/>
  111. <outlet property="buttonSignUp" destination="FfA-1J-1vc" id="nfS-MO-U6Z"/>
  112. <outlet property="introCollectionView" destination="NgB-S6-3Cp" id="x8f-W0-LmU"/>
  113. <outlet property="pageControl" destination="Zxj-8i-ZOp" id="D4w-Yb-Rm3"/>
  114. </connections>
  115. <point key="canvasLocation" x="34.782608695652179" y="34.821428571428569"/>
  116. </view>
  117. </objects>
  118. </document>