• 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
OutlineView, drop between rows?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

OutlineView, drop between rows?


  • Subject: OutlineView, drop between rows?
  • From: John Velman <email@hidden>
  • Date: Sat, 10 Sep 2011 16:28:52 -0700
  • Mail-followup-to: John Velman <email@hidden>, Cocoa Development <email@hidden>

OSX, using Xcode 4.

In my outline view drag and drop I'd like to be able to drop between rows
(at any level). This only seems possible if the item on the row above has
no children.

I have a custom container tree node in my model, with bindings via an
NSTreeController.  I've implemented a data source with a custom class to
handle the drag and drop data source methods.  So far everything else seems
to work fine, except for not being able to drop below



In principle, I could change the target in outlineView:validateDrop... but
the built in "line with circle on the left end" would still indicate it was
dropping on a child.

I'd appreciate any guidance.

John Velman

_______________________________________________

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: OutlineView, drop between rows?
      • From: Jerry Krinock <email@hidden>
  • Prev by Date: Re: Submitting Mac App to the App Store
  • Next by Date: NSBezierPath HiDPI
  • Previous by thread: Re: Submitting Mac App to the App Store
  • Next by thread: Re: OutlineView, drop between rows?
  • Index(es):
    • Date
    • Thread