• 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: cocoa dragging and constraining coordinates
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cocoa dragging and constraining coordinates


  • Subject: Re: cocoa dragging and constraining coordinates
  • From: Seth Willits <email@hidden>
  • Date: Tue, 24 May 2011 10:27:49 -0700

On May 23, 2011, at 11:49 AM, Kyle Sluder wrote:

> On Mon, May 23, 2011 at 11:40 AM, Seth Willits <email@hidden> wrote:
>> If this is the case (I'm not sure either), then you'd do an internal-only drag using normal events, and when then mouse goes outside of the bounds of the view, it starts a an actual drag session. Safari's tabs I think are an example which fit with what he might want to do. You can only drag them horizontally which is done by normal events, and then if you drag too far vertically or of the ends of the window, it pops the tab off to drop elsewhere.
>
> Yeah, but that fails if you are dragging within a scroll view. I'm
> thinking of something like OmniGraffle.



No, it still works. Drag out of the view vs hold near the edge. Same as how a text view works. Exiting the view changes the type of drag so you couldn't reenter and expect internal-only behavior. (And that should be accompanied by a visual change.)


--
Seth Willits



_______________________________________________

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

  • Follow-Ups:
    • Re: cocoa dragging and constraining coordinates
      • From: Kyle Sluder <email@hidden>
References: 
 >cocoa dragging and constraining coordinates (From: Kurt Sutter <email@hidden>)
 >Re: cocoa dragging and constraining coordinates (From: Kyle Sluder <email@hidden>)
 >Re: cocoa dragging and constraining coordinates (From: Kurt Sutter <email@hidden>)
 >Re: cocoa dragging and constraining coordinates (From: Kyle Sluder <email@hidden>)
 >Re: cocoa dragging and constraining coordinates (From: Kyle Sluder <email@hidden>)
 >Re: cocoa dragging and constraining coordinates (From: Seth Willits <email@hidden>)
 >Re: cocoa dragging and constraining coordinates (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: How to force launch of new instance of application?
  • Next by Date: Re: Cocoa Asynchronous API Design
  • Previous by thread: Re: cocoa dragging and constraining coordinates
  • Next by thread: Re: cocoa dragging and constraining coordinates
  • Index(es):
    • Date
    • Thread