Re: NSTableView/NSOutlineView variable row height code has detected re-entry.

2010-09-10 Thread Corbin Dunn
m: Clark Cox > To: Keith Blount > Cc: cocoa-dev@lists.apple.com > Sent: Wed, September 8, 2010 7:42:55 PM > Subject: Re: NSTableView/NSOutlineView variable row height code has detected > re-entry. > > On Wed, Sep 8, 2010 at 11:11 AM, Keith Blount wrote: >> Hello, >

Re: NSTableView/NSOutlineView variable row height code has detected re-entry.

2010-09-08 Thread Keith Blount
x27;s a lot going on. At least your explanation gives me something to look for in the absence of a reproducible case. Thanks again and all the best, Keith - Original Message From: Clark Cox To: Keith Blount Cc: cocoa-dev@lists.apple.com Sent: Wed, September 8, 2010 7:42:55 PM Subject:

Re: NSTableView/NSOutlineView variable row height code has detected re-entry.

2010-09-08 Thread Kevin Wojniak
That usually means drawRect: is being called while the table is already inside its own drawRect: method. I've had to deal with this recently. One possible way to find out where it's happening is to subclass your table view and override drawRect:, then setup a counter to check to see if the re-e

Re: NSTableView/NSOutlineView variable row height code has detected re-entry.

2010-09-08 Thread Clark Cox
On Wed, Sep 8, 2010 at 11:11 AM, Keith Blount wrote: > Hello, > > I have an NSOutlineView with variable row heights, as determined in > my -outlineView:heightOfRowByItem: delegate method. This has always seemed to > work fine, and the code of this delegate method hasn't changed much in the > past

Re: NSTableView/NSOutlineView variable row height

2008-09-03 Thread Kevin Meaney
Thanks for this Chris. I'll check it out and let you know how I get on with it. Kevin On 3 Sep 2008, at 03:55, Chris Suter wrote: Hi Kevin, On Tue, Sep 2, 2008 at 3:58 AM, Kevin Meaney <[EMAIL PROTECTED]> wrote: I feel like I am missing something that should be obvious. Pointers would

Re: NSTableView/NSOutlineView variable row height

2008-09-02 Thread Chris Suter
Hi Kevin, On Tue, Sep 2, 2008 at 3:58 AM, Kevin Meaney <[EMAIL PROTECTED]> wrote: I feel like I am missing something that should be obvious. Pointers would be > helpful or a suggestion for something else to try. Here's some code I wrote a while back that we use. It works back to 10.3.7 (possibl

Re: NSTableView/NSOutlineView variable row height

2008-09-01 Thread Graham Cox
On 2 Sep 2008, at 3:58 am, Kevin Meaney wrote: I'm new to NSTableView and more specifically NSOutlineView. I want to have variable height rows in the outline view, and I need to keep Tiger compatibility. Tiger provides the informal protocol method heightOfRowByItem that looks like it can