Re: keyUp falling through to window when sheet dismissed
Re: keyUp falling through to window when sheet dismissed
- Subject: Re: keyUp falling through to window when sheet dismissed
- From: "Kyle Sluder" <email@hidden>
- Date: Tue, 21 Oct 2008 18:03:12 -0400
On Tue, Oct 21, 2008 at 5:35 PM, Ken Worley <email@hidden> wrote:
> This, by the way, is a constant source of confusion for me in Cocoa. Why is
> a delegate method specific to NSTextView listed under NSControl which is the
> parent class?
You seem to be misunderstanding a bit. The field editor is an
instance of NSTextView (or a subclass). Any control, however, may
make use of the field editor, not just NSTextField. More information
about the relationship between text views, the field editor, and
controls can be found in the Text System Overview:
http://developer.apple.com/documentation/Cocoa/Conceptual/TextArchitecture/Concepts/TextFieldsAndViews.html
--Kyle Sluder
_______________________________________________
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