Skip to content

Instantly share code, notes, and snippets.

@gcollazo
Created November 10, 2014 20:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save gcollazo/f730574b5a7e3897c8f8 to your computer and use it in GitHub Desktop.
Save gcollazo/f730574b5a7e3897c8f8 to your computer and use it in GitHub Desktop.
var query: PFQuery = PFQuery(className: "userPhoto")
query.findObjectsInBackgroundWithBlock { (objects, error) -> Void in
println("Got \(objects.count) entries")
self.feedData = objects
self.tableView.reloadData()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment