• 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
Re: Core Data and undo action names
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data and undo action names


  • Subject: Re: Core Data and undo action names
  • From: Guy English <email@hidden>
  • Date: Mon, 22 Aug 2005 12:07:55 -0400

Bill Cheeseman wrote:
> Is there a better way?

You could try subclassing NSUndoManager. Allow only the first setActionName: after beginUndoGrouping:.
Or keep additional state to know if you've set an action name yet and make decisions based on that. If you're not grouping by event things would be harder ...

Take care,
Guy

(couldn't reply to the original mail so the threading bust. sorry to anyone who cares.)
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Core Data and undo action names
      • From: Bill Cheeseman <email@hidden>
  • Prev by Date: Re: Why use copy in value setters?
  • Next by Date: Re: Why use copy in value setters?
  • Previous by thread: Sync services and CoreData
  • Next by thread: Re: Core Data and undo action names
  • Index(es):
    • Date
    • Thread