title: Reading Firebase child by auto ID swift
body: <p>This is a quick output of my Firebase tree, id like to access people_on_this_planit / userID node. My only issue is that node is within an auto ID; please any help would be appreciated. Thanks</p>
  
  <pre><code>  planits
   -LEmgxuG_13KNA5inRaB
       Planit Title: "Some title"
       people_on_planit
        -LEmh6IxqguVBJEwghZv (auto ID)
           userID: "kkdiEW0D9"
       senderId: "39FdLfdIO8832"
  </code></pre>
  
  <p>Right now the code i am using is as follows, but i am getting nil when i print peopleonplanit. </p>
  
  <pre><code>ref = Database.database().reference()
  let userID = Auth.auth().currentUser?.uid       
  let planitsRef = ref.child("planits")
  
  for child in snapshot.children {
  
      let childSnap = child as! DataSnapshot
      let dict = childSnap.value as! NSDictionary
      let planKey = childSnap.key
      //print(planKey)
  
      print(dict)
  
  
      let title = dict["Planit Title"] as! String
      let senderID = dict["senderId"] as! String
      let peopleOnPlanit = dict["people_on_planit"] as? String
  
      print(peopleOnPlanit)
  }
  </code></pre>