• 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
Re: Cmd+key shortcuts not being sent to NSWindow on Tiger
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: Cmd+key shortcuts not being sent to NSWindow on Tiger (From: Kirk Swenson <email@hidden>)
 >Re: Cmd+key shortcuts not being sent to NSWindow on Tiger (From: Uli Kusterer <email@hidden>)
 >Re: Cmd+key shortcuts not being sent to NSWindow on Tiger (From: Kirk Swenson <email@hidden>)

  • Prev by Date: Re: Testing if a NSPipe has available data
  • Next by Date: Re: Color with pattern image
  • Previous by thread: Re: Cmd+key shortcuts not being sent to NSWindow on Tiger
  • Next by thread: To get system sounds for Move or Copy operations
  • Index(es):
    • Date
    • Thread