Re: NSOutlineView
Re: NSOutlineView
- Subject: Re: NSOutlineView
- From: "Doug Knowles \(PB\)" <email@hidden>
- Date: Wed, 25 Jul 2001 16:18:46 -0400
Mike,
I don't know if this is what Sandeep intended to say, but here's how I got
around the "contention" problem:
I was seeing all kinds of errors when I returned Java objects (Strings) from
my DataSource's outlineViewChildOfItem() method; I now return NSObjects from
outlineViewChildOfItem(), and maintain mappings so that I can identify the
appropriate Java object on subsequent calls (such as
outlineViewObjectValueForItem()).
I have not found it necessary to make my DataSource a subclass of NSObject,
although I can't say the idea is without merit.
I can share more code snippets later (from another machine) if that'll help.
Doug K;
----- Original Message -----