Realtime
Database
Authentication
Hosting
console.firebase.google.com
things that matters...
all data
it's a JSON tree
NSString
NSNumber
NSDictionary
NSArray
Data Types
let rootRef = FIRDatabase.database().reference()
/
CRUD
setValue
childByAutoId
updateChildValues
runTransactionBlock
Save Data
let rootRef = FIRDatabase.database().reference()
let logRef = rootRef.child("log")
let logKey = logRef.childByAutoId().key
let value = "Hello World"
logRef.child(logKey).setValue(value)
/log/-KReb10DaQhFoLb7w7Oi: “Hello World”
FIRDataEventType
.Value
.ChildAdded
.ChildChanged
.ChildRemoved
.ChildMoved
Retrieve Data
let rootRef = FIRDatabase.database().reference()
let logRef = rootRef.child("log")
logRef.observeEventType(.Value, withBlock: { (snapshot) in
// Funny Stuff
print(snapshot)
}, withCancelBlock: nil)
ok, let’s make the most
amazing demo...
A TO-DO LIST!
let’s go!
...
lets everyone
to join the fun!
bit.ly/pokefirebase
where to go from here?
firebase.google.com/docs
youtube.com/user/Firebase
Lets Build That App
lmgtfy.com
lol
GaboLugo.
@gabovanlugo
Thanks!

Realtime Database with iOS and Firebase