• 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: Dragging
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dragging


  • Subject: Re: Dragging
  • From: Scott Anguish <email@hidden>
  • Date: Sat, 31 Jan 2004 03:30:06 -0500

On Jan 30, 2004, at 2:51 PM, mmalcolm crawford wrote:

Archiving the object covers the general case where the destination may be in a different application...



True, but that may not be applicable.

if you're doing strictly local dragging, there is no reason you can't set an instance variable somewhere to the object (objects) being dragged when the drag begins, and then get the object reference from that instance variable when the drag completes. This is often applicable when dealing with, oh, say an NSTableView.. :-)

That can save you loads of time and effort (since you may not need to support encoding for the object in general.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
  • Follow-Ups:
    • Re: Dragging
      • From: Daryn <email@hidden>
References: 
 >Dragging (From: Herr Witten <email@hidden>)
 >Re: Dragging (From: Herr Witten <email@hidden>)
 >Re: Dragging (From: mmalcolm crawford <email@hidden>)

  • Prev by Date: Re: Deployable product
  • Next by Date: Re: NSImageVIew bindings
  • Previous by thread: Re: Dragging
  • Next by thread: Re: Dragging
  • Index(es):
    • Date
    • Thread