how to use local datastore to save and query data with parse and swift
问题 In my app. There will be user list and message list as my code below message list code (load the list from parse) @IBOutlet var messageTableView: UITableView! var messageArray:[String] = ["Lope"] override func viewDidLoad() { super.viewDidLoad() retrieveMessages() } func retrieveMessages() { var query = PFQuery(className:"Messages") var user = PFUser.currentUser() query.whereKey("user", equalTo:user.objectId) query.findObjectsInBackgroundWithBlock { [weak self] (objects:[AnyObject]?, error