Answers for "firebase types"

0

swift store enum case string values in firebase

enum LoginProvider: String {
  case Facebook = "facebook"
  case Email = "email"
  case Google = "google"
  case Twitter = "twitter"
}

let provider = LoginProvider.init(rawValue: "email")
Posted by: Guest on June-09-2020

Code answers related to "Swift"

Browse Popular Code Answers by Language