Re: Swift Keypress KeyDown NSResponder input function needed.
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