DragNDrop in NSOutlineView with CoreData
DragNDrop in NSOutlineView with CoreData
- Subject: DragNDrop in NSOutlineView with CoreData
- From: Cyril Frendo <email@hidden>
- Date: Fri, 29 Jul 2005 21:33:03 +0200
Hi,
I would like to implement drag'n drop inside an NSOutlineView binded
to an NSTreeController managing entity objects from CoreData.
The result should behave like a sort of finder window allowing to
move the file node inside the tree structure.
The nice part of CoreData binding is that it manages almost all
outlineview's delegate and datasource methods ... but not drag'ndrop.
My problem is drag'ndrop methods must be implemented by the
NSOutlineView's datasource. But here, the DataSource is the
managedObjectContext.
Is there any other solution than implementing "by hand" all the
methods inside a datasource object who will forward all changes to
the NSManagedObjectContext ?
Thanks to all.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden