On Aug 8, 2009, at 3:30 AM, Kirk Swenson wrote:
- (id) windowWillReturnFieldEditor: (NSWindow*) aWindow toObject:
(id) anObject
{
// myTextFieldEditor is a member variable, so there will only be
one of them.
if( myTextFieldEditor == nil) {
myTextFieldEditor =
On Aug 10, 2009, at 11:04 PM, Uli Kusterer wrote:
On Aug 8, 2009, at 3:30 AM, Kirk Swenson wrote:
- (id) windowWillReturnFieldEditor: (NSWindow*) aWindow toObject:
(id) anObject
{
// myTextFieldEditor is a member variable, so there will only be
one of them.
if(
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.
Thanks! I will try it out.
Dimcho
-Original Message-
From: cocoa-dev-bounces+dbalev=adobe@lists.apple.com
[mailto:cocoa-dev-bounces+dbalev=adobe@lists.apple.com] On Behalf Of Kirk
Swenson
Sent: Friday, August 07, 2009 6:30 PM
To: cocoa-dev@lists.apple.com
Subject: Re: Cmd+key
On Aug 6, 2009, at 7:03 PM, Dimcho Balev wrote:
I have a trouble with a piece of code which behaves differently on
Tiger (Mactel) in comparison to Leopard.
It is pretty simple case: our cocoa app is interested in cmd+key
shortcuts and we have overriden the keyDown and keyUp methods in our
Hi,
I have a trouble with a piece of code which behaves differently on
Tiger (Mactel) in comparison to Leopard.
It is pretty simple case: our cocoa app is interested in cmd+key
shortcuts and we have overriden the keyDown and keyUp methods in our
NSWindow inherited class. On Leopard we receive
On Aug 7, 2009, at 5:55 PM, Dimcho Balev dba...@adobe.com wrote:
I have a trouble with a piece of code which behaves differently on
Tiger (Mactel) in comparison to Leopard.
It is pretty simple case: our cocoa app is interested in cmd+key
shortcuts and we have overriden the keyDown and keyUp