• 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: drag and drop with "snapping"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: drag and drop with "snapping"


  • Subject: Re: drag and drop with "snapping"
  • From: Benjamin Stiglitz <email@hidden>
  • Date: Thu, 15 Jan 2009 10:19:22 -0500

I'd like to implement drag and drop behavior with "snapping" to guides
in my application.  I have looked at both the NSDraggingSource and
NSDraggingDestination protocols and there seems to be no obvious way
of modifying the position of the dragged image.  Do I need to make my
own transparent window and handle all drag-drawing myself to
accomplish this?

You can either use your own window or draw the dragged content in your own content view(s). Feel free to file a bug requesting this behavior in the drag code.


-Ben
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >drag and drop with "snapping" (From: "Francisco Tolmasky" <email@hidden>)

  • Prev by Date: Re: Quick (?) NSCell question: getting the drawing (inner) rectangle
  • Next by Date: RE: Report writer for Cocoa?
  • Previous by thread: drag and drop with "snapping"
  • Next by thread: Dealing with exceptions in a drawing stack
  • Index(es):
    • Date
    • Thread