accessing nested firebase data in swift
问题 I am working wth a data structure, and I am looping through a couple nodes and here is the json data I get. Snap (20171012) { "-KwM45HyW4UduQgKTGn6" = { ImageName = "Screen Shot 2017-10-13 at 11.24.51 AM.png"; fileURL = ""; thumbFileUrl = ""; user = "User not defined"; }; "-KwM4limD2aRyHgeKE5P" = { ImageName = "test.png"; fileURL = ""; thumbFileUrl = ""; user = "User not defined"; }; } After this, I can access the "snap" value using my data.key to get the "20171012" ref.child(myselected_spot!