Re: Replacing a tableView Cell with null

2009-06-09 Thread Steven Hamilton
___ return [tableColumn dataCell]; also note you have a memory leak, you want return [cell autorelease], and probably don't want to alloc the cell until you need it. Gotcha. Thanks a lot. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.c

Re: Replacing a tableView Cell with null

2009-06-08 Thread Corbin Dunn
- (NSCell *)tableView:(NSTableView *)tableView dataCellForTableColumn:(NSTableColumn *)tableColumn row:(NSInteger) row AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER; Thanks a lot, that seems to work really well. However, because I'm only specifying the cell for one column how do I get out of t

Re: Replacing a tableView Cell with null

2009-06-05 Thread Steven Hamilton
Begin forwarded message: From: Steven Hamilton Date: 6 June 2009 11:59:18 AM To: Corbin Dunn Subject: Re: Replacing a tableView Cell with null On 06/06/2009, at 9:33 AM, Corbin Dunn wrote: On Jun 5, 2009, at 4:01 PM, Steven Hamilton wrote: Hi, I have an NSTableview populated by

Re: Replacing a tableView Cell with null

2009-06-05 Thread Corbin Dunn
On Jun 5, 2009, at 4:01 PM, Steven Hamilton wrote: Hi, I have an NSTableview populated by bindings to Core Data. In one column I have a popupbutton (bad idea as its slow, I know) and in another I have a checkbox. I only want the checkbox to be available when certain items from the popupbu

Replacing a tableView Cell with null

2009-06-05 Thread Steven Hamilton
Hi, I have an NSTableview populated by bindings to Core Data. In one column I have a popupbutton (bad idea as its slow, I know) and in another I have a checkbox. I only want the checkbox to be available when certain items from the popupbutton are selected. To try and do this I've implement