• 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
Re: NSOutlineView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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 -----

  • Follow-Ups:
    • Re: NSOutlineView
      • From: Mike Jackson <email@hidden>
References: 
 >Re: NSOutlineView (From: Mike Jackson <email@hidden>)

  • Prev by Date: Re: Obj-C vs Java
  • Next by Date: Re: Passing selectors as Arguments (Was: - (void)sortUsingSelector:(SEL)comparator )
  • Previous by thread: Re: NSOutlineView
  • Next by thread: Re: NSOutlineView
  • Index(es):
    • Date
    • Thread