Mailing Lists: Apple Mailing Lists

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

Re: DragNDrop in NSOutlineView with CoreData



Cyril:

This is a topic that's been discussed in detail (and fairly recently). You'll find plenty of answers by searching the list archives. One place to go for this would be:

http://www.cocoabuilder.com/archive/

  Hope this helps.


On Jul 29, 2005, at 3:33 PM, Cyril Frendo wrote:

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/dev% 40silentalcove.net


This email sent to email@hidden


_______________________________________________ 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
References: 
 >DragNDrop in NSOutlineView with CoreData (From: Cyril Frendo <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.