• 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: Accepting drops on a tableview's tableheader
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Accepting drops on a tableview's tableheader


  • Subject: Re: Accepting drops on a tableview's tableheader
  • From: "Sean McBride" <email@hidden>
  • Date: Fri, 20 Feb 2009 12:10:48 -0500
  • Organization: Rogue Research Inc.

On 2/20/09 11:45 AM, I. Savant said:

>  So, if Folder A has a child Folder B, and Folder B has a child
>Folder C, and the Finder is opened to Folder A's contents, dragging
>Folder C and holding it over the header, which means the drop will
>have "no target node"), you want Folder C to become a child of Folder
>A, and sibling of Folder B, right?

Right.  And Finder 10.5.6 does move the files in this manner, but does
not redraw its outline view correctly.

>  If this is the case, then in your
>-outlineView:acceptDrop:item:childIndex: method, you'll want to
>respond accordingly if "item" is nil. If it's nil, it needs to be a
>root item.

Neither outlineView:validateDrop:proposedItem:proposedChildIndex: nor
outlineView:acceptDrop:item:childIndex: are called when you drop on the
header. :(

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

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: 
 >Accepting drops on a tableview's tableheader (From: "Sean McBride" <email@hidden>)
 >Re: Accepting drops on a tableview's tableheader (From: "I. Savant" <email@hidden>)

  • Prev by Date: Re: Accepting drops on a tableview's tableheader
  • Next by Date: Re: Reading from online Byte Array to UITableview best method?
  • Previous by thread: Re: Accepting drops on a tableview's tableheader
  • Next by thread: Want to display different views of files/folders (Icon view, list view, thumbnail view ) in the Application Window
  • Index(es):
    • Date
    • Thread