• 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
DragNDrop in NSOutlineView with CoreData
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: DragNDrop in NSOutlineView with CoreData
      • From: SA Dev <email@hidden>
  • Prev by Date: Apple Power Manager DDK problem with iMac G5 and PowerBook G4
  • Next by Date: Re: Cocoa runtime VM?
  • Previous by thread: Apple Power Manager DDK problem with iMac G5 and PowerBook G4
  • Next by thread: Re: DragNDrop in NSOutlineView with CoreData
  • Index(es):
    • Date
    • Thread