• 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: "Enter" key down
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "Enter" key down


  • Subject: Re: "Enter" key down
  • From: Aki Inoue <email@hidden>
  • Date: Thu, 29 May 2008 10:13:11 -0700

When you want to handle key events in NSTextView, see - textView:doCommandBySelector: delegate method.
http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Classes/NSTextView_Class/Reference/Reference.html#//apple_ref/occ/instm/NSObject/textView:doCommandBySelector:


Aki

On May 29, 2008, at 6:33 AM, I. Savant wrote:

It must be simple, it has to be simple... But I can't figure out where to start...

I'm simply trying to catch the "Enter" key down event from a text view.

Look through the introductory Cocoa material regarding the "Responder Chain":


http://developer.apple.com/documentation/Cocoa/Conceptual/CocoaFundamentals/CoreAppArchitecture/chapter_7_section_6.html

and

http://developer.apple.com/documentation/Cocoa/Conceptual/EventOverview/EventArchitecture/chapter_2_section_6.html

--
I.S.


_______________________________________________

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

_______________________________________________

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


  • Follow-Ups:
    • Re: "Enter" key down
      • From: "I. Savant" <email@hidden>
    • Re: "Enter" key down
      • From: Douglas Davidson <email@hidden>
References: 
 >"Enter" key down (From: Micha Fuhrmann <email@hidden>)
 >Re: "Enter" key down (From: "I. Savant" <email@hidden>)

  • Prev by Date: Re: IKImageView weird Zooming behaviour?
  • Next by Date: Re: "Enter" key down
  • Previous by thread: Re: "Enter" key down
  • Next by thread: Re: "Enter" key down
  • Index(es):
    • Date
    • Thread