Drag and drop in NSOutlineView connected to a NSTreeController
Drag and drop in NSOutlineView connected to a NSTreeController
- Subject: Drag and drop in NSOutlineView connected to a NSTreeController
- From: Darren Ford <email@hidden>
- Date: Tue, 14 Mar 2006 23:21:15 +1100
Hi all,
I've been putting together a simple app to learn how to use
NSTreeController to bind to an NSOutlineView. All's well with basic
adding/removing etc. but I've been having a few problems getting drag
and drop within the outlineview working. I've looked through the
Apple doco and on Google but haven't had any luck.
I've set up the delegate to the NSOutlineView to be my 'MyDocument'
class, however I still don't receive any of the delegate messages.
Since I don't have a traditional datasource (because of using the
NSTreeController) using the NSOutlineViewDataSource protocol makes
no sense (although I've tried it)
Any help or pointers to example code would be great.
Cheers and thanks --
Darren.
_______________________________________________
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