Re: Binding values to NSTableColumn using NSArrayController
Re: Binding values to NSTableColumn using NSArrayController
- Subject: Re: Binding values to NSTableColumn using NSArrayController
- From: mmalcolm crawford <email@hidden>
- Date: Wed, 19 May 2004 02:47:50 -0700
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.