• 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
Where can I write in Undo/Redo action titles?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Where can I write in Undo/Redo action titles?


  • Subject: Where can I write in Undo/Redo action titles?
  • From: Daryle Walker <email@hidden>
  • Date: Mon, 27 Mar 2017 19:25:57 -0400

[I thought I wrote something about this, but I didn’t see it in my Sent e-mail list.]

I “drunk the Kool-Aid” and have a Core Data-based model and using Cocoa Bindings. This combination gives me Undo support. The problem is that you’re traditionally supposed to put the names of actions during the action so Undo/Redo can add them to their menu label. I do have a pair of menu actions with app-custom code, but the other actions are automatic so there’s no obvious spot to insert action strings.

Any ideas of where I can interrupt the Undo/Redo process to insert titles? Or do I have to live with plain “Undo” and “Redo” for my actions?

—
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Where can I write in Undo/Redo action titles?
      • From: Quincey Morris <email@hidden>
  • Prev by Date: Re: Can't access by data via KVC during KVO
  • Next by Date: Re: How to debug crash in NSOperation?
  • Previous by thread: Re: Can't access by data via KVC during KVO
  • Next by thread: Re: Where can I write in Undo/Redo action titles?
  • Index(es):
    • Date
    • Thread