SignInViewController.xib 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="17701" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" colorMatched="YES">
  3. <device id="retina6_0" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="17703"/>
  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" customClass="SignInViewController">
  11. <connections>
  12. <outlet property="addScopesButton" destination="Cnr-Kk-7Cy" id="8ek-yS-f7u"/>
  13. <outlet property="credentialsButton" destination="80" id="83"/>
  14. <outlet property="disconnectButton" destination="65" id="71"/>
  15. <outlet property="signInAuthStatus" destination="72" id="73"/>
  16. <outlet property="signInButton" destination="bKH-Ji-uCR" id="aDr-fD-R3x"/>
  17. <outlet property="signOutButton" destination="63" id="70"/>
  18. <outlet property="userAvatar" destination="60" id="67"/>
  19. <outlet property="userEmailAddress" destination="62" id="76"/>
  20. <outlet property="userName" destination="61" id="75"/>
  21. <outlet property="view" destination="55" id="56"/>
  22. </connections>
  23. </placeholder>
  24. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  25. <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" style="plain" separatorStyle="default" rowHeight="44" sectionHeaderHeight="22" sectionFooterHeight="22" id="55">
  26. <rect key="frame" x="0.0" y="0.0" width="390" height="844"/>
  27. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  28. <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  29. <nil key="simulatedStatusBarMetrics"/>
  30. <view key="tableHeaderView" contentMode="scaleToFill" id="57">
  31. <rect key="frame" x="0.0" y="0.0" width="390" height="197"/>
  32. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  33. <subviews>
  34. <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" fixedFrame="YES" text="Status: Authenticated" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="72">
  35. <rect key="frame" x="21" y="67" width="280" height="21"/>
  36. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  37. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  38. <color key="textColor" systemColor="darkTextColor"/>
  39. <nil key="highlightedColor"/>
  40. </label>
  41. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" fixedFrame="YES" image="PlaceholderAvatar.png" translatesAutoresizingMaskIntoConstraints="NO" id="60">
  42. <rect key="frame" x="20" y="8" width="50" height="50"/>
  43. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  44. </imageView>
  45. <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" fixedFrame="YES" text="&lt;Name&gt;" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="61">
  46. <rect key="frame" x="78" y="8" width="153" height="21"/>
  47. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  48. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  49. <color key="textColor" systemColor="darkTextColor"/>
  50. <nil key="highlightedColor"/>
  51. </label>
  52. <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" fixedFrame="YES" text="&lt;Email&gt;" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="7" translatesAutoresizingMaskIntoConstraints="NO" id="62">
  53. <rect key="frame" x="78" y="34" width="153" height="21"/>
  54. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  55. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  56. <color key="textColor" systemColor="darkTextColor"/>
  57. <nil key="highlightedColor"/>
  58. </label>
  59. <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="65">
  60. <rect key="frame" x="134" y="152" width="105" height="35"/>
  61. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  62. <fontDescription key="fontDescription" type="boldSystem" pointSize="16"/>
  63. <state key="normal" title="Disconnect">
  64. <color key="titleShadowColor" red="0.5" green="0.5" blue="0.5" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  65. </state>
  66. <connections>
  67. <action selector="disconnect:" destination="-1" eventType="touchUpInside" id="66"/>
  68. </connections>
  69. </button>
  70. <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="infoDark" showsTouchWhenHighlighted="YES" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="80">
  71. <rect key="frame" x="168" y="68" width="22" height="22"/>
  72. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  73. <connections>
  74. <action selector="showAuthInspector:" destination="-1" eventType="touchUpInside" id="82"/>
  75. </connections>
  76. </button>
  77. <view contentMode="scaleToFill" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="bKH-Ji-uCR" customClass="GIDSignInButton">
  78. <rect key="frame" x="20" y="100" width="281" height="39"/>
  79. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  80. <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  81. <accessibility key="accessibilityConfiguration">
  82. <accessibilityTraits key="traits" button="YES"/>
  83. </accessibility>
  84. <connections>
  85. <action selector="signIn:" destination="-1" eventType="touchUpInside" id="6j4-hN-JQi"/>
  86. </connections>
  87. </view>
  88. <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="63">
  89. <rect key="frame" x="21" y="152" width="77" height="35"/>
  90. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  91. <fontDescription key="fontDescription" type="boldSystem" pointSize="16"/>
  92. <state key="normal" title="Sign out">
  93. <color key="titleShadowColor" red="0.5" green="0.5" blue="0.5" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  94. </state>
  95. <connections>
  96. <action selector="signOut:" destination="-1" eventType="touchUpInside" id="64"/>
  97. </connections>
  98. </button>
  99. <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Cnr-Kk-7Cy">
  100. <rect key="frame" x="261" y="152" width="111" height="35"/>
  101. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  102. <fontDescription key="fontDescription" type="boldSystem" pointSize="16"/>
  103. <state key="normal" title="Add Scopes">
  104. <color key="titleShadowColor" red="0.5" green="0.5" blue="0.5" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  105. </state>
  106. <connections>
  107. <action selector="addScopes:" destination="-1" eventType="touchUpInside" id="kRq-pg-Det"/>
  108. </connections>
  109. </button>
  110. </subviews>
  111. <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  112. </view>
  113. <point key="canvasLocation" x="332" y="87"/>
  114. </tableView>
  115. </objects>
  116. <resources>
  117. <image name="PlaceholderAvatar.png" width="50" height="50"/>
  118. <systemColor name="darkTextColor">
  119. <color white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  120. </systemColor>
  121. </resources>
  122. </document>