RE: NSOutlineView + NSTreeController with Core Data
RE: NSOutlineView + NSTreeController with Core Data
- Subject: RE: NSOutlineView + NSTreeController with Core Data
- From: "Kamrin Dahlin" <email@hidden>
- Date: Wed, 1 Nov 2006 08:57:43 -0800
- Thread-topic: NSOutlineView + NSTreeController with Core Data
Hey David,
I followed this tutorial - http://allusions.sourceforge.net/articles/treeDragPart1.php
He uses private api methods, so for a shipping product, this may not be what you want.
Also check out www.cocoadevcentral.com - Scott has a good tutorial on using DandD with a TreeController.
>From what I have been able to find, someone correct me if I am wrong, depending on the level of complexity of your drag and drop implementation, the whole OutlineView/TreeController thing can be pretty difficult.
Hope this helps,
k
-----Original Message-----
From: cocoa-dev-bounces+kamd=email@hidden on behalf of David Brennan
Sent: Wed 11/1/2006 8:28 AM
To: email@hidden
Subject: NSOutlineView + NSTreeController with Core Data
Hi, I'm learning Cocoa and I've hit a wall.
I'm using a NSOutlineView, I have set it's bindings to a
NSTreeController. (The NSTreeController is bound to my core data
entity with an inversed relationship "parent" - "child" ) I'm having
trouble get drag and drop to work correctly. I want to be able to
rearrange the items in the hierarchy. I also need to support dropping
files on the NSOutlineView. Is there any document or example with this
setup?
Kind Regards,
Dave
_______________________________________________
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
_______________________________________________
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