GoogleSignInSwift Framework Reference

  • GoogleSignInButtonState is an enum in Swift that defines the state of the sign-in button.

  • The possible states are normal, disabled, and pressed.

  • This enum is available on iOS 13.0+ and macOS 10.15+.

  • It conforms to the String, Identifiable, and CaseIterable protocols.

  • Each state has an id property which is a String.

GoogleSignInButtonState

@available(iOS 13.0, macOS 10.15, *)
public enum GoogleSignInButtonState : String, Identifiable, CaseIterable

The state of the sign-in button.

  • Undocumented

    Declaration

    Swift

    case normal
  • Undocumented

    Declaration

    Swift

    case disabled
  • Undocumented

    Declaration

    Swift

    case pressed
  • id

    Declaration

    Swift

    public var id: String { get }