Combine multiple sources into an NSOutlineView using NSTreeController
Combine multiple sources into an NSOutlineView using NSTreeController
- Subject: Combine multiple sources into an NSOutlineView using NSTreeController
- From: Marcel Philipp Harris <email@hidden>
- Date: Wed, 22 Apr 2009 18:01:06 +0200
Hello,
in my app, I have an outline view that is bound to an
NSTreeController, which is connected to a Core Data entity. It works
like a charm, but I would like to add category headings to the outline
views categories and possibly even add some sources unrelated to the
Core Data model.
Is this possible in any way without resorting to reimplementing
NSTreeController from scratch? I've thought about subclassing
NSTreeController, but to be honest, I don't really understand how it
interoperates with an NSOutlineView. It seems not to act as a
conventional data source, as it apparently doesn't implement the
methods defined in the corresponding protocol (I may be wrong here,
maybe they're implemented privately).
Any pointers much appreciated.
---
Marcel Hansemann
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden