• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Rolling back sharedAddressBook changes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Rolling back sharedAddressBook changes
      • From: Vince DeMarco <email@hidden>
  • Prev by Date: Mail/Finder-likre preferences window
  • Next by Date: Re: multiple layers in tiff
  • Previous by thread: Mail/Finder-likre preferences window
  • Next by thread: Re: Rolling back sharedAddressBook changes
  • Index(es):
    • Date
    • Thread