Re: problems building on 10.5 for 10.4
Re: problems building on 10.5 for 10.4
- Subject: Re: problems building on 10.5 for 10.4
- From: Corbin Dunn <email@hidden>
- Date: Wed, 31 Oct 2007 10:01:09 -0700
On Oct 30, 2007, at 4:01 PM, Alexander Cohen wrote:
I actually found the solution for the second problem. On leopard, i
was returning a nil cell in some circumstances from a custom
TableColumn. On leopard, i dont think it matters,
Well, the "way it works" is that you can implement the new delegate
method:
- (NSCell *)tableView:(NSTableView *)tableView dataCellForTableColumn:
(NSTableColumn *)tableColumn row:(NSInteger)row;
The first time it is called, 'tableColumn' will be nil, and you can
return a cell to have it expand across all table columns, or return
'nil' to have it call you back again for each tableColumn. However,
there are no nil cells.
probably due to the new groupings in the NSTableView ( i think we
can get nil cells sent to our delegates once in a while ),
The groupings are done by implementing "isGroupRow" -- you shouldn't
use that Leopard feature if you are targeting 10.4.
on tiger, it crashes outright.
This still doesn't make sense; it should work on Tiger (unless you are
setting Leopard only features). If you can capture the backtrace, I am
still curious to see it. It could indicate a problem that needs to be
fixed.
thanks,
corbin
_______________________________________________
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