Re: Drag & Drop Question
Re: Drag & Drop Question
- Subject: Re: Drag & Drop Question
- From: "I. Savant" <email@hidden>
- Date: Wed, 3 May 2006 13:51:18 -0400
Well ... you *could* add an IBOutlet to your NSImageView subclass
and connect it to your controller ... ;-)
--
I.S.
On May 3, 2006, at 1:43 PM, Joe Bellus wrote:
I am trying to get a drop and drop system to work. I have a window
setup with actions/outputs bound to a Controller class. Then I
have a NSImageView Subclassed with the drag & drop code. The drag
& drop works fine, I can do a NSlog inside the NSImageView and get
the filepath dropped on it. My problem is I need to somehow
inform the Controller class when something is dropped on the
ImageView. I was wondering if there was a way to just drag a
connector in IB from the ImageView to the controller class and
treat it like it was a button or something. Is there a function
where I can call the default action trigger (if im making sense).
Do I need to setup delegates/listening objects or something
somehow. I cant seem to find anything really definite in the docs
on creating custom events. Any help is greatly appreciated.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com
This email sent to email@hidden
_______________________________________________
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