title: how to read the parent node name without getting value from firebase For ios
body: <p>I want to read the <code>restaurant</code> names <code>Burger King</code>, <code>Eating Point</code> using swift.</p>
  
  <p>How it can be possible, Can anyone help me please this is for my final project need to submit in 1 week please i'm losing hope with this</p>
  
  <p><a href="https://i.stack.imgur.com/q69ue.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/q69ue.png" alt="enter image description here"></a></p>
  
  <pre><code> ref = Database.database().reference()
  
      ref?.child("Restaurants").observe(.childAdded, with: { (snapshot) in
          let rest = snapshot.value as? String
          if let actualPost = rest {
  
  
              self.restList.append(actualPost)
  
              print("list of rest ", self.restList)
  
  
              self.restTableView.reloadData()
          }
      })
  </code></pre>