I believe there were occasions where the UI was not updating, specifically the
focus ring type behavior. But that was implemented around 10.11 era, so maybe
things have gotten better.
Sandor
> On Aug 1, 2020, at 13:04, Carl Hoefs wrote:
>
> I was wondering also about the necessity of:
>
>
I was wondering also about the necessity of:
[self setNeedsDisplay:YES];
It seems to work fine without it (perhaps it's already being done by the
superclass, NSTextField?).
-Carl
> On Aug 1, 2020, at 5:28 AM, Graham Cox wrote:
>
> You shouldn’t call -becomeFirstResponder yourself.
>
Thanks Graham!
Sandor
> On Aug 1, 2020, at 08:28, Graham Cox wrote:
>
> You shouldn’t call -becomeFirstResponder yourself.
>
> Instead, call [self.window makeFirstResponder:self].
>
> That should properly switch the first responder, giving the previous
> responder the chance to refuse.