I am using Parse to get data out of a database. When the block - findObjectsInBackgroundWithBlock is called an array gets passed. As I am only receiving one row of data, it
You'll need to cast your [AnyObject]
to a [PFObject]
and then you can use the standard Parse methods to get the data out.
if let staffObjects = objects as? [PFObject] {
for staff in staffObjects {
// Use staff as a standard PFObject now. e.g.
let firstName = staff.objectForKey("first_name")
}
}