I'm trying to search for data that contains a certain string then download an array from that row. I know how to do this in objective-c but not in swift. Here's the code I have to search for it:
let query = PFQuery(className:"Wait")
query.whereKey("latitude", equalTo:self.latitude)
query.findObjectsInBackgroundWithBlock {
(objects, error: NSError?) -> Void in
if error == nil {
}
}
I'm not sure how to use "objects" to download the array from that row.