Re: redo: action not in First Responder
Re: redo: action not in First Responder
- Subject: Re: redo: action not in First Responder
- From: Steve Mills <email@hidden>
- Date: Tue, 02 Jul 2013 12:47:44 -0500
On Jul 2, 2013, at 12:27:30, Kyle Sluder <email@hidden>
wrote:
> On Tue, Jul 2, 2013, at 10:01 AM, Jerry Krinock wrote:
>>
>> On 2013 Jul 02, at 09:10, Steve Mills <email@hidden> wrote:
>>
>>> I finally got it to work by …
>>
>> I don't recall which Apple document explains this, but the Undo and Redo
>> menu items in a Cocoa app are internally connected to some special magic.
>> They don't work like normal menu items.
>
> That's certainly not the case for any apps that we ship. And a brand-new
> Cocoa App created from template has Undo and Redo hooked up to First
> Responder exactly as you'd expect.
Perhaps Jerry is thinking of NSManagedObjectContext, which is some mystery class that does all sort of stuff, along with funneling undo and redo to the right place?
--
Steve Mills
office: 952-818-3871
home: 952-401-6255
cell: 612-803-6157
_______________________________________________
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