im having this problem: Thread 1: Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value
is there any way to solve it?
this is my code:
let ref = Database.database().reference()
ref.child("ChildA").child("Title").observeSingleEvent(of: .value, with: { DataSnapshot in
print(DataSnapshot) // replace this with textLabel or other item
let m = DataSnapshot.value as? String
self.TitleA.text = m //Error in this line
})