Re: Swift 3 macOS read keyboard
Re: Swift 3 macOS read keyboard
- Subject: Re: Swift 3 macOS read keyboard
- From: Doug Hill <email@hidden>
- Date: Tue, 11 Oct 2016 10:58:48 -0700
> On Oct 10, 2016, at 4:08 PM, Quincey Morris <email@hidden> wrote:
>
> On Oct 10, 2016, at 16:00 , Eric Dolecki <email@hidden> wrote:
>>
>> Can I […] set accepts first responder true.
>
> Unfortunately, no. It’s a read-only property.
Implement this in your NSResponder subclass:
- (BOOL)acceptsFirstResponder
{
return YES;
}
Doug Hill
_______________________________________________
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