> On 2014 Aug 27, at 09:36, Ken Thomases <k...@codeweavers.com> wrote:
> 
> I don't think it makes any sense to make the view _controller_ return YES 
> from -acceptsFirstResponder.  You have to make your view accept first 
> responder.  That's the thing being clicked on.  -acceptsFirstResponder is 
> *not* sent up the responder chain to make some other responder the first 
> responder when a view is clicked on.

Sorry, Ken, I mis-read your question.  The answer is that the *view* is not 
accepting first responder…

-(void)mouseDown:(NSEvent *)event {
    NSLog(@">> %s", __PRETTY_FUNCTION__) ;
    NSLog(@"acceptsFirstResponder = %hhd", [[self view] acceptsFirstResponder]) 
;
}

logs that acceptsFirstResponder = 0.

I shall read up on what you said.


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to