SignInViewController.xib 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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_1" 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="credentialsButton" destination="80" id="83"/>
  13. <outlet property="disconnectButton" destination="65" id="71"/>
  14. <outlet property="signInAuthStatus" destination="72" id="73"/>
  15. <outlet property="signInButton" destination="bKH-Ji-uCR" id="aDr-fD-R3x"/>
  16. <outlet property="signOutButton" destination="63" id="70"/>
  17. <outlet property="userAvatar" destination="60" id="67"/>
  18. <outlet property="userEmailAddress" destination="62" id="76"/>
  19. <outlet property="userName" destination="61" id="75"/>
  20. <outlet property="view" destination="55" id="56"/>
  21. </connections>
  22. </placeholder>
  23. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  24. <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" style="plain" separatorStyle="default" rowHeight="44" sectionHeaderHeight="22" sectionFooterHeight="22" id="55">
  25. <rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
  26. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  27. <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  28. <nil key="simulatedStatusBarMetrics"/>
  29. <view key="tableHeaderView" contentMode="scaleToFill" id="57">
  30. <rect key="frame" x="0.0" y="0.0" width="414" height="197"/>
  31. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  32. <subviews>
  33. <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" fixedFrame="YES" text="Status: Authenticated" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="72">
  34. <rect key="frame" x="21" y="67" width="280" height="21"/>
  35. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  36. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  37. <color key="textColor" systemColor="darkTextColor"/>
  38. <nil key="highlightedColor"/>
  39. </label>
  40. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" fixedFrame="YES" image="PlaceholderAvatar.png" translatesAutoresizingMaskIntoConstraints="NO" id="60">
  41. <rect key="frame" x="20" y="8" width="50" height="50"/>
  42. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  43. </imageView>
  44. <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">
  45. <rect key="frame" x="78" y="8" width="153" height="21"/>
  46. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  47. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  48. <color key="textColor" systemColor="darkTextColor"/>
  49. <nil key="highlightedColor"/>
  50. </label>
  51. <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">
  52. <rect key="frame" x="78" y="34" width="153" height="21"/>
  53. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  54. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  55. <color key="textColor" systemColor="darkTextColor"/>
  56. <nil key="highlightedColor"/>
  57. </label>
  58. <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="63">
  59. <rect key="frame" x="50" y="160" width="77" height="35"/>
  60. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  61. <fontDescription key="fontDescription" type="boldSystem" pointSize="16"/>
  62. <state key="normal" title="Sign out">
  63. <color key="titleShadowColor" red="0.5" green="0.5" blue="0.5" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  64. </state>
  65. <connections>
  66. <action selector="signOut:" destination="-1" eventType="touchUpInside" id="64"/>
  67. </connections>
  68. </button>
  69. <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="65">
  70. <rect key="frame" x="186" y="160" width="97" height="35"/>
  71. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  72. <fontDescription key="fontDescription" type="boldSystem" pointSize="16"/>
  73. <state key="normal" title="Disconnect">
  74. <color key="titleShadowColor" red="0.5" green="0.5" blue="0.5" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  75. </state>
  76. <connections>
  77. <action selector="disconnect:" destination="-1" eventType="touchUpInside" id="66"/>
  78. </connections>
  79. </button>
  80. <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="infoDark" showsTouchWhenHighlighted="YES" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="80">
  81. <rect key="frame" x="168" y="68" width="22" height="22"/>
  82. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  83. <connections>
  84. <action selector="showAuthInspector:" destination="-1" eventType="touchUpInside" id="82"/>
  85. </connections>
  86. </button>
  87. <view contentMode="scaleToFill" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="bKH-Ji-uCR" customClass="GIDSignInButton">
  88. <rect key="frame" x="20" y="100" width="281" height="39"/>
  89. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  90. <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  91. <accessibility key="accessibilityConfiguration">
  92. <accessibilityTraits key="traits" button="YES"/>
  93. </accessibility>
  94. <connections>
  95. <action selector="signInPressed:" destination="-1" eventType="touchUpInside" id="6j4-hN-JQi"/>
  96. </connections>
  97. </view>
  98. </subviews>
  99. <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  100. </view>
  101. <point key="canvasLocation" x="139" y="153"/>
  102. </tableView>
  103. </objects>
  104. <resources>
  105. <image name="PlaceholderAvatar.png" width="50" height="50"/>
  106. <systemColor name="darkTextColor">
  107. <color white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  108. </systemColor>
  109. </resources>
  110. </document>