Re: Drops into an NSTextField: Is it really so involved?
Re: Drops into an NSTextField: Is it really so involved?
- Subject: Re: Drops into an NSTextField: Is it really so involved?
- From: Matt Neuburg <email@hidden>
- Date: Mon, 03 Oct 2005 18:57:48 -0700
- Thread-topic: Drops into an NSTextField: Is it really so involved?
On Mon, 03 Oct 2005 10:35:01 -0700, Jerry Krinock <email@hidden> said:
>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?
Could you provide a source for that axiom? m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide
<http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt>
_______________________________________________
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