I want the user to upload an image, and other users leave replies to that image, everything works fine so fat except i can't get save the replies inside the "replies" object/column in Parse into my local array in order to display them. it can't accept the : for in method.
override func viewDidLoad() {
super.viewDidLoad()
var query = PFQuery(className:"Posts")
query.getObjectInBackgroundWithId(cellID) {
(objects: PFObject!, error: NSError!) -> Void in
if error == nil {
println(objects["replies"])
self.repliesArray.append(objects["replies"] as String) // <- problem Here
} else {
println("Error retreiving")
self.displayError("Error", error: "Error retrieving")
}
}
}