NSOutlineViewDataSource on panel window
NSOutlineViewDataSource on panel window
- Subject: NSOutlineViewDataSource on panel window
- From: Coleman Nitroy <email@hidden>
- Date: Tue, 4 Jan 2005 15:04:41 -0500
Hello,
I am working with OutlineViews and have finally gotten some success.
After much head banging I found that it seems the DataSource's init
needs to propagate all of the data the NSOutlineView will use then and
only then. Unless there is some other way to say to the DataSource
"here is your new data" I am at a loss. I need to have this outline
view be a panel that as the main document window changes the outline
view changes.
My question: is it even possible to use an NSOutlineView like this, and
if so how would anyone go about this?
So far my implementation has a Controller for the nib the NSOutlineView
is on, and datasource for the NSOutlineView. The controller handles all
of the standard notifications for the main window changing or resigning
or any updates, so this method works fine when used with all other
widgets like a text field, but not with the NSOutlineView.
---
Coleman Nitroy
email@hidden
nitroy.com/cole
_______________________________________________
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