答案 0 :(得分:0)
您需要创建一个PFObject并设置该变量。我没有导入Parse所以我希望没有错误。
let newTransObject = PFObject(classname: "Transaction")
newTransObject["pickup_location"] = self.myAddress.text
newTransObject["pickup_time"] = self.myTime.text
newTransObject["pickup_city"] = myPlacement.locality
newTransObject.saveInBackground()