I have a view controller where users make posts via Parse. I want to add a request button which would save the users they add to a tableview in another view controller (like a list), I don't know how to go about this, do I create a new class in Parse which points to the User Class or do I use a relation (which I don't know how to use).
@IBAction func addUser(sender: AnyObject) {
//This is the add button in my tableview cell
}
In my user posts I have there username
in a label cell.userName.text = user["username"] as? String
When I hit the add button I want to store that user name in a list that belongs to the current user or relation.
In my new view controller lets call it "Favorites" I want to query that list of added users of the current user.
Thanks!