• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Combine multiple sources into an NSOutlineView using NSTreeController
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: [NSOutlineView] _outlineCell and _trackingOutlineCell vs 64-bit
  • Next by Date: Re: Problem implementing keyPathsForvaluesAffecting<Key>
  • Previous by thread: RE: Bindings making NSNumberFormatter strange
  • Next by thread: performSelectorOnMainThread primitives for withObject
  • Index(es):
    • Date
    • Thread