Skip to content

Instantly share code, notes, and snippets.

@zontan
Created September 23, 2019 18:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zontan/e48f4282a98285bfc2d084fa1573bef1 to your computer and use it in GitHub Desktop.
Save zontan/e48f4282a98285bfc2d084fa1573bef1 to your computer and use it in GitHub Desktop.
var userRef: DatabaseReference!
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view.
userRef = Database.database().reference(withPath: "users")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment