Re: Binding values to NSTableColumn using NSArrayController
Re: Binding values to NSTableColumn using NSArrayController
- Subject: Re: Binding values to NSTableColumn using NSArrayController
- From: Ivan Myrvold <email@hidden>
- Date: Wed, 19 May 2004 13:08:43 +0200
That was more simple than I thought. I didn' t know that I could set
the column with check boxes in IB, I initially did it programmatically,
and then the binding didn't work.
Ivan
On 19. mai. 2004, at 11.47, mmalcolm crawford wrote:
On May 19, 2004, at 2:22 AM, Ivan Myrvold wrote:
I have replaced a column in an NSTableView with an NSButton with
buttonType set to NSSwitchButton.
The other column's value is bound to an NSArrayController.
My question is, can I also bind the checkbox column's value to an
NSArrayController? How?
Yes, just bind the table column's 'value' as you did for a text
field...
Related examples at:
<http://developer.apple.com/documentation/Cocoa/Conceptual/
CocoaBindings/index.html#//apple_ref/doc/uid/10000167i>
and
<http://homepage.mac.com/mmalc/CocoaExamples/controllers.html>
mmalc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.