Re: CoreData and Undo menu item title?
Re: CoreData and Undo menu item title?
- Subject: Re: CoreData and Undo menu item title?
- From: Mike Nowak <email@hidden>
- Date: Mon, 29 Jan 2007 18:08:23 -0500
Thanks for the reference -- I tried the technique and while it
changes the string used in error messages (like if I try to save
without filling out a required value), my Edit menu still just says
Undo and not Undo XYZ. I read that section and I didn't see a
reference to Undo. Is it working for you?
On Jan 28, 2007, at 8:02 PM, John Bishop wrote:
Mike Nowak <email@hidden> said:
This is probably a silly question but I am just curious. When using
CoreData and bindings, NSManagedObjectContext nicely handles undo for
me but the menu titles are just plain "Undo" and "Redo". Other than
trying to find all of the places where an action might happen and
calling [[[self NSManagedObjectContext] undoManager]
setActionName@"Change XYZ"], is there a way to specify the action
names for all of the changes in one easy spot? Thanks!!!
There are no silly questions.
Search for "Model.strings" in the Core Data Programming Guide.
------------------------------------------------------------------
John Bishop <mailto:email@hidden>
Mulligan Software <http://www.mulligansoftware.com>
Mulligan's Golf Personal - Stats & Handicapping for the Mac Golfer
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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
--
Mike Nowak
Work: http://chcr.umich.edu/
Personal: http://snackdog.org/
"Never pass up a good thing." -- Starship Troopers
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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