Re: ButtonCell with Text in OutlineView

2008-05-16 Thread David
Is there a document which describes how columns interact with enclosed cells when dealing with bindings? There's a message flow going on that I'm not aware of. setObjectValue is passed different things for the same binding depending on if my class subclasses NSTextFieldCell or NSButtonCell. I don'

Re: ButtonCell with Text in OutlineView

2008-05-15 Thread Kyle Sluder
On Thu, May 15, 2008 at 1:39 PM, David <[EMAIL PROTECTED]> wrote: > I do not understand how the column in the NSOutlineView knows how to set the > property to the cell. How are the cell and column related? How do they > interact? You bind the value of the column to a property, and then the column

ButtonCell with Text in OutlineView

2008-05-15 Thread David
I'm trying to have a hierarchical set of choices with a checkbox next to each one. How can I best set this up? My current thinking was to try and create a NSButtonCell subclass which would act like a NSTextCell in that setting its value would set its title, but I'd parse the string which is encoded