• 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: How can my program be notified when a NSImageView is populated with a NSImage?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How can my program be notified when a NSImageView is populated with a NSImage?


  • Subject: Re: How can my program be notified when a NSImageView is populated with a NSImage?
  • From: Matt Neuburg <email@hidden>
  • Date: Wed, 15 Sep 2004 14:57:20 -0700

On Wed, 15 Sep 2004 13:51:23 -0700, "Frederick C. Lee"
<email@hidden> said:

>      I have a NSImageView that is editable.    When the user slides an
>image into the NSImageView, I wish to be notified so that I can act on
>it (display a help panel, etc.).
>
>Any ideas?

Subclass NSImageView and implement setImage. In setImage, call super, then
do whatever custom thing you want to do. 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

  • Prev by Date: Re: Subject: Re: Country codes vs. Language codes
  • Next by Date: Re: NSDragOperationMove type drag&drop in outline views
  • Previous by thread: Re: NSDragOperationMove type drag&drop in outline views
  • Next by thread: NSRunLoop running with no mode/PrefPane crashing
  • Index(es):
    • Date
    • Thread