Xcode tells me that FIRDatabaseis not an identifier. My code:
FIRDatabase
import UIKit import Firebase @UIApplicationMain class AppDelegate: UIResponder, UIApp
pod 'Firebase/Database'
import
`*import Firebase
import FirebaseDatabase*`
Initialize and Configure your Firebase
`*var ref: DatabaseReference!
ref = Database.database().reference()*`