• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Drops into an NSTextField: Is it really so involved?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Drops into an NSTextField: Is it really so involved?
      • From: Jerry Krinock <email@hidden>
  • Prev by Date: WebBackForwardList capacity bug?
  • Next by Date: Re: newbie question IB/Cocoa
  • Previous by thread: Re: Drops into an NSTextField: Is it really so involved?
  • Next by thread: Re: Drops into an NSTextField: Is it really so involved?
  • Index(es):
    • Date
    • Thread