I continue to study parse.com. Tell me, how can I pull out a specific field value? For example, there is a function:

let object = PFQuery(className: "MapObject") object.whereKey("User", equalTo: "Вася") object.findObjectsInBackgroundWithBlock { (objects, error) in print (objects) } 

She pulls out the entire object by user Vasya. How do I get the value of a specific field? Well, for example, the "Room" fields are the apartment number. If you poke in the manual with examples of working on a swift with parse.com in Russian, I will be grateful.

    1 answer 1

    Understood. You can get data in a loop:

      for object in objects! { let result = object["Room"] as! Int }