Drops into an NSTextField: Is it really so involved?
Drops into an NSTextField: Is it really so involved?
- Subject: Drops into an NSTextField: Is it really so involved?
- From: Jerry Krinock <email@hidden>
- Date: Mon, 03 Oct 2005 10:35:01 -0700
- Thread-topic: Drops into an NSTextField: Is it really so involved?
I've been studying the documentation and archives to learn how to handle
drops into an NSTextField. I have learned that:
To handle drops in an NSTextField, and have it work regardless of focus, I
need to *subclass* both NSTextField *and* NSTextView, and then implement
windowWillReturnFieldEditor:toObject: in the window's delegate to deliver my
subclassed NSTextView.
This seems to violate the axiom that doing simple things in Cocoa should be
simple. Could someone please confirm the above before I dive into it?
Jerry
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden