NSTreeController problems
NSTreeController problems
- Subject: NSTreeController problems
- From: Nicholas Crosbie <email@hidden>
- Date: Thu, 9 Feb 2006 15:22:53 +1100 (EST)
I have an NSOutlineView linked to a NSTableView. The
TableView is bound
to an NSArrayController which is set to a Note-like
entity (i.e. viz. OutlineView,
Core Data example app). The Outline view is bound to
a NSTreeController set to the same entity. The
TreeController gets its contentSet from
selection.children of the ArrayController. This app
is working fine but......breaks when I
add drag-and-drop, copy-and-paste, expansion state
capabilities to the OutlineView.
For example, I've tried to adapt Matt Holiday's "DRAG
AND DROP OUTLINE EDIT"
(http://homepage.mac.com/matthol2/iblog/index.html)
to reflect my UI design, but when I add in the
TableView and ArrayController, either the
TreeController does not behave according to the
ArrayController selection, and/or the OutlineView
methods "createNote", "createChildNote" etc. fail.
Clues, suggestions?? Example code?
Nick Crosbie
____________________________________________________
Do you Yahoo!?
Which two Aussie media players are joining forces to bring you the best content? Find out
http://promo.yahoo.com/yahoo7
_______________________________________________
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