Rolling back sharedAddressBook changes
Rolling back sharedAddressBook changes
- Subject: Rolling back sharedAddressBook changes
- From: Dave Hersey <email@hidden>
- Date: Fri, 23 Jan 2004 12:14:39 -0500
Hi,
If I make changes to the ABAddressBook's sharedAddressBook, and don't want
those to stick, how do I revert? I'm surprised that there's not a
counterpart to ABAddressBook save like ABAddressBook discardChanges. I
couldn't find any info in the headers or docs about reverting the data in
sharedAddressBook.
My situation is that I'm syncing to some web data, and the user can cancel
during the processing. There can be thousands of entries, so it can take a
little while to compare and change the appropriate data in the AB. The
"save" isn't done until the last thing, so I'd like to roll back if the user
cancels before that.
What's the correct approach here?
Thanks,
Dave
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.