Pending Operation

You can manage the pending state.

SampleAppCustomer *customer = [SUP101Customer find:101]; 
//Make some changes to the customer record.
//Save the changes

//If the user  wishes to cancel the changes, a call to cancel pending will revert to the old values.

[customer cancelPending]; 

// The user can submit the changes to the server as follows:
[customer submitPending];