title: Retrieving parse.com data in Swift
body: <p>I've been able to save successfully to Parse via Swift, but am having trouble retrieving data (and all of the tutorials on retrieving seem to be for Obj-C).</p>
  
  <p>Here's my code (with Id's redacted).</p>
  
  <pre><code>Parse.setApplicationId("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", clientKey: "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX")
  
  
      var query = PFQuery(className: "EventObject")
      query.getObjectInBackgroundWithId(objectId: String!) {
          (event: PFObject!, error: NSError!) -&gt; Void in
  
          if error == nil {
              println(event)
  
          } else {
  
          println(error)
  
          }
  
      }
  </code></pre>
  
  <p>I have 4 records in this class right now, but if I want to pull the data for all of them, how do I get the Object using the ID if I'm not sure what the IDs are? I'm assuming I can access them sequentially as an array, but I'm not quite clear how to do that, and am confused, as the only command I know to retrieve appears to require knowing the ID. </p>
  
  <p>Thanks for any help!</p>