On Sep 15, 2010, at 10:35 AM, k...@highrolls.net wrote:

> items is an array of pointers to my outline view items ... how do I put them 
> on the pboard?

If they're property list items, you can put them directly onto the pasteboard. 
If they're not, then you should archive them. Implement NSCoding support in 
your custom class items, then use NS(Keyed)Archiver to turn them into data you 
can place on the pasteboard.

> My validate and accept drop methods are not called.  Is this because there is 
> no data on the pboad (see above question as I haven't put the items on the 
> pboard).

Did you register the view for the drag types using -registerForDraggedTypes:?

> The outline view will not auto scroll ... I am not seeing any property to 
> specify this.  How do I make the outline view auto scroll when dragging 
> around?

That happens automatically as you drag the items close to an edge.

Nick Zitzmann
<http://www.chronosnet.com/>

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to