Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

DragNDrop in NSOutlineView with CoreData



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.