Hey all,

Is it safe to re-enter -[NSWindow makeFirstResponder:]? Specifically, I
am thinking of overriding -becomeFirstResponder to call [window
makeFirstResponder:someOtherView].

The answer to this question seems intuitively yes, since that's how one
would expect a view makes use of the field editor (perhaps with an
intervening call to -editWithFrame:inView::::]). But whenever dealing
with hairy issues like reentrancy I always prefer if the acceptable
behaviors and limitations are documented explicitly.

Would it be possible to extract an explicit guarantee that this pattern
is supported?

--Kyle Sluder
_______________________________________________

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