Using iOS. In tableview I show users all of his contacts (those who are already on server and also those who are not). When he press on contact I must check if contact is on server. If it is then I need to remove it from parse. Else if it's not I save it on parse. Then I refresh the cell to show the user whats updated.
To delete an object from parse I use method [object deleteInBackgroundWithBlock:]. Inside the block I should refresh the cell but which property will tell me that object is removed from server. I tried property isDirty and also property objectId. But both dont change to nil after you delete the from parse.
My qusetion is if there is some option by parse to handle this or I'll create it by myself by adding some property?