Re: Bindings & Checkbox in NSTableView [SOLVED]

2008-05-07 Thread Steven Huey
Hamish, Thanks, it works using the Check Box Cell from the IB Library. It seems the approach to setting the data cell I was using was the recommended one based on searching the archives, does anyone have an idea why it wasn't working? Thanks, Steve On May 6, 2008, at 4:17 PM, Hamish Allan

Re: Bindings & Checkbox in NSTableView

2008-05-06 Thread Hamish Allan
On Tue, May 6, 2008 at 8:31 PM, Steven Huey <[EMAIL PROTECTED]> wrote: > I set the table column to use a checkbox using: > > NSButtonCell *cell = [[NSButtonCell alloc] init]; > [cell setButtonType:NSSwitchButton]; > [cell setImagePosition:NSImageOnly]; > [cell setControlSize:NSSma

Bindings & Checkbox in NSTableView

2008-05-06 Thread Steven Huey
Hi, I want to bind the value of a checkbox in a column of a NSTableView to a custom object managed by an NSArrayController. I have the NSArrayController setup to manage a class I've created using Obj-C 2.0 properties, and added keys in the IB inspector for the NSArrayController to match t