• 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
Drag & Drop Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Drag & Drop Question


  • Subject: Drag & Drop Question
  • From: Joe Bellus <email@hidden>
  • Date: Wed, 3 May 2006 12:43:48 -0500

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:

This email sent to email@hidden
  • Follow-Ups:
    • Re: Drag & Drop Question
      • From: "I. Savant" <email@hidden>
  • Prev by Date: Re: Refactoring tools available for Cocoa / ObjC?
  • Next by Date: Re: Drag & Drop Question
  • Previous by thread: Problems with the Release build configuration
  • Next by thread: Re: Drag & Drop Question
  • Index(es):
    • Date
    • Thread