• 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: Swift Keypress KeyDown NSResponder input function needed.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Swift Keypress KeyDown NSResponder input function needed.


  • Subject: Re: Swift Keypress KeyDown NSResponder input function needed.
  • From: Jens Alfke <email@hidden>
  • Date: Wed, 11 Mar 2015 17:20:40 -0700

> On Mar 11, 2015, at 5:09 PM, Mutlu Qwerty <email@hidden> wrote:
>
>        self.nextResponder = super.nextResponder  //insert self into the Responder chain

That just sets the object's nextResponder property; it doesn’t insert the object into the responder chain. I think you want to set the _view’s_ nextResponder to self, also. (But check the Apple docs; they must cover this situation. It’s been a long time since I’ve done it.)

—Jens
_______________________________________________

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: Swift Keypress KeyDown NSResponder input function needed.
      • From: email@hidden
References: 
 >Swift Keypress KeyDown NSResponder input function needed. (From: Mutlu Qwerty <email@hidden>)

  • Prev by Date: Swift Keypress KeyDown NSResponder input function needed.
  • Next by Date: Re: Swift Keypress KeyDown NSResponder input function needed.
  • Previous by thread: Swift Keypress KeyDown NSResponder input function needed.
  • Next by thread: Re: Swift Keypress KeyDown NSResponder input function needed.
  • Index(es):
    • Date
    • Thread