Re: Cmd+key shortcuts not being sent to NSWindow on Tiger
Re: Cmd+key shortcuts not being sent to NSWindow on Tiger
- Subject: Re: Cmd+key shortcuts not being sent to NSWindow on Tiger
- From: Uli Kusterer <email@hidden>
- Date: Tue, 11 Aug 2009 08:58:48 +0200
On Aug 11, 2009, at 8:47 AM, Kirk Swenson wrote:
As the comment suggests, myTextFieldEditor is an instance variable.
It's released in the dealloc method. It's worth pointing out that
according to the documentation, "This method may be called multiple
times while a control is first responder. Therefore, you must return
the same field editor object for the control while the control is
being edited." In other words, the pointer has to be cached --
creating a new one on every call would violate the requirements of
the method.
Kirk,
right, sorry for causing confusion. Should have read the code &
comments more carefully.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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