This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| users | |
| . | |
| ...AX4FE3W21l9 | |
| . . | |
| . ...email : "test@gmail.com" | |
| . . | |
| . ...age : "18" | |
| . . | |
| . ...name : "Kolathee" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import UIKit | |
| // 1 import Firebase | |
| import FirebaseDatabase | |
| // 2 create a reference (fromURL: ,etc) | |
| let referance = FIRDatabase.database().reference(fromURL: "....") | |
| // 3 Attach a closure to read the data | |
| referance.observe(.childAdded, with:{ (snapshot) in |
NewerOlder